Skip to content

Commit

Permalink
chat last activity omitempty
Browse files Browse the repository at this point in the history
  • Loading branch information
Victor Neznaykin committed Feb 8, 2021
1 parent 9e027d6 commit 6f3825b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chat.go
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ type Chat struct {
//WikiPage *ShortWikiPage `chattype:"group" json:"wiki_page,omitempty"`

// Date of the last message sent even if it was deleted
LastActivity ISODateTimeString `json:"last_activity"`
LastActivity ISODateTimeString `json:"last_activity,omitempty"`
}

// Link to sub/sup task
Expand Down

0 comments on commit 6f3825b

Please sign in to comment.