Skip to content

Commit

Permalink
message: add via_bot field
Browse files Browse the repository at this point in the history
  • Loading branch information
demget committed Jun 7, 2020
1 parent a5f4cb1 commit dc9db44
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 @@ -37,6 +37,9 @@ type Message struct {
// itself is a reply.
ReplyTo *Message `json:"reply_to_message"`

// Shows through which bot the message was sent.
Via *User `json:"via_bot"`

// (Optional) Time of last edit in Unix
LastEdit int64 `json:"edit_date"`

Expand Down

0 comments on commit dc9db44

Please sign in to comment.