Skip to content

Commit

Permalink
archive message flag
Browse files Browse the repository at this point in the history
  • Loading branch information
malekvictor committed Dec 25, 2020
1 parent 1ca6122 commit a90a3a7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions message.go
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,9 @@ type Message struct {
// Index number of this message. Starts from 0. Null for deleted messages. Changes when any previous message wad deleted.
Num *int `json:"num,omitempty" tdproto:"readonly"`

// This message is archive. True or null
IsArchive bool `json:"is_archive,omitempty" tdproto:"readonly"`

// Debug information, if any
Debug string `json:"_debug,omitempty" tdproto:"readonly"`
}
Expand Down

0 comments on commit a90a3a7

Please sign in to comment.