Skip to content

Commit

Permalink
message: add missed forward fields
Browse files Browse the repository at this point in the history
  • Loading branch information
demget committed Jun 13, 2020
1 parent aac3d68 commit c602a3d
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions message.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,17 @@ type Message struct {
// forwarded from a channel.
OriginalChat *Chat `json:"forward_from_chat"`

// For forwarded messages, identifier of the original message
// when forwarded from a channel.
OriginalMessageID int `json:"forward_from_message_id"`

// For forwarded messages, signature of the post author.
OriginalSignature string `json:"forward_signature"`

// For forwarded messages, sender's name from users who
// disallow adding a link to their account.
OriginalSenderName string `json:"forward_sender_name"`

// For forwarded messages, unixtime of the original message.
OriginalUnixtime int `json:"forward_date"`

Expand Down

0 comments on commit c602a3d

Please sign in to comment.