0.21.2
Telegram Bot API 10.2 support 🎉
- New #211: Add
InputMediaVoiceNote,InputRichMessageMedia,InputRichBlockListItem,Community,CommunityChatAdded,CommunityChatRemovedandBotSubscriptionUpdatedtypes. - New #211: Add
mediaandblocksfields toInputRichMessagetype. - New #211: Add
InputRichBlockinterface and 21 input rich block types:InputRichBlockParagraph,InputRichBlockSectionHeading,InputRichBlockPreformatted,InputRichBlockFooter,InputRichBlockDivider,InputRichBlockMathematicalExpression,InputRichBlockAnchor,InputRichBlockList,InputRichBlockBlockQuotation,InputRichBlockPullQuotation,InputRichBlockCollage,InputRichBlockSlideshow,InputRichBlockTable,InputRichBlockDetails,InputRichBlockMap,InputRichBlockAnimation,InputRichBlockAudio,InputRichBlockPhoto,InputRichBlockVideo,InputRichBlockVoiceNote,InputRichBlockThinking. - New #211: Add
isEphemeralfield toBotCommandtype. - New #211: Add
receiverUser,ephemeralMessageId,communityChatAddedandcommunityChatRemovedfields toMessagetype. - New #211: Add
communityfield toChatFullInfotype. - New #211: Add
subscriptionfield toUpdatetype. - New #211: Add
receiverUserIdandcallbackQueryIdparameters toSendMessage,SendAnimation,SendAudio,SendDocument,SendPhoto,SendSticker,SendVideo,SendVideoNote,SendVoice,SendContact,SendLocationandSendVenuemethods. - New #211: Add
ephemeralMessageIdfield toReplyParameterstype. - New #211: Add
EditEphemeralMessageText,EditEphemeralMessageMedia,EditEphemeralMessageCaption,EditEphemeralMessageReplyMarkupandDeleteEphemeralMessagemethods. - Chg #211: Make
messageIdfield ofReplyParameterstype optional. - Enh #211:
RichTexttypes,RichBlockCaption,RichBlockTableCellandLocationnow support serialization back into a request array viatoRequestArray().