From 5202b8a38cfd6b74a0d81dcc90578d8c4f6840cb Mon Sep 17 00:00:00 2001 From: daunitse Date: Sat, 3 Jun 2023 14:16:43 +0300 Subject: [PATCH] fix channel post fields description --- types.go | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/types.go b/types.go index 36c174b8..b4c94ba2 100644 --- a/types.go +++ b/types.go @@ -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"`