Skip to content

Commit

Permalink
fix channel post fields description
Browse files Browse the repository at this point in the history
  • Loading branch information
daunitse committed Jun 3, 2023
1 parent 4126fa6 commit 5202b8a
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions types.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,13 +51,12 @@ type Update struct {
//
// optional
EditedMessage *Message `json:"edited_message,omitempty"`
// ChannelPost new version of a message that is known to the bot and was
// edited
// ChannelPost new incoming channel post of any kind - text, photo, sticker, etc.
//
// optional
ChannelPost *Message `json:"channel_post,omitempty"`
// EditedChannelPost new incoming channel post of any kind — text, photo,
// sticker, etc.
// EditedChannelPost new version of a channel post that is known to the bot
// and was edited
//
// optional
EditedChannelPost *Message `json:"edited_channel_post,omitempty"`
Expand Down

0 comments on commit 5202b8a

Please sign in to comment.