Implement Bot API 6.0 changes.

This commit is contained in:
Syfaro 2022-04-16 12:36:59 -04:00
parent f399a2424c
commit 10a9f2650f
4 changed files with 228 additions and 30 deletions

View file

@ -280,6 +280,7 @@ func TestFileLink(t *testing.T) {
// Ensure all configs are sendable
var (
_ Chattable = AnimationConfig{}
_ Chattable = AnswerWebAppQueryConfig{}
_ Chattable = AudioConfig{}
_ Chattable = BanChatMemberConfig{}
_ Chattable = BanChatSenderChatConfig{}
@ -308,7 +309,9 @@ var (
_ Chattable = ForwardConfig{}
_ Chattable = GameConfig{}
_ Chattable = GetChatMemberConfig{}
_ Chattable = GetChatMenuButtonConfig{}
_ Chattable = GetGameHighScoresConfig{}
_ Chattable = GetMyDefaultAdministratorRightsConfig{}
_ Chattable = InlineConfig{}
_ Chattable = InvoiceConfig{}
_ Chattable = KickChatMemberConfig{}
@ -325,9 +328,11 @@ var (
_ Chattable = RevokeChatInviteLinkConfig{}
_ Chattable = SendPollConfig{}
_ Chattable = SetChatDescriptionConfig{}
_ Chattable = SetChatMenuButtonConfig{}
_ Chattable = SetChatPhotoConfig{}
_ Chattable = SetChatTitleConfig{}
_ Chattable = SetGameScoreConfig{}
_ Chattable = SetMyDefaultAdministratorRightsConfig{}
_ Chattable = ShippingConfig{}
_ Chattable = StickerConfig{}
_ Chattable = StopMessageLiveLocationConfig{}