Skip to content

Commit

Permalink
add: chat LastActivity
Browse files Browse the repository at this point in the history
  • Loading branch information
Victor Neznaykin committed Feb 8, 2021
1 parent 355c10e commit 9e027d6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions chat.go
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,9 @@ type Chat struct {

// Wiki page in this chat
//WikiPage *ShortWikiPage `chattype:"group" json:"wiki_page,omitempty"`

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

// Link to sub/sup task
Expand Down

0 comments on commit 9e027d6

Please sign in to comment.