go-telegram-bot-api / telegram-bot-api

Golang bindings for the Telegram Bot API
https://go-telegram-bot-api.dev
MIT License
5.58k stars 863 forks source link

Provide a valid documentation for channel_post field of Update structure #651

Open mih-kopylov opened 1 year ago

mih-kopylov commented 1 year ago

v5.5.1 Update#ChannelPost field is documented as

ChannelPost new version of a message that is known to the bot and was edited

That is a copy-paste from EditedMessage field.

https://pkg.go.dev/github.com/go-telegram-bot-api/telegram-bot-api/v5#Update

Please, provide a valid documentation for the field