Skip to content

0.21.2

Choose a tag to compare

@vjik vjik released this 14 Jul 22:17
· 7 commits to master since this release
Immutable release. Only release title and notes can be modified.
eddb436

Telegram Bot API 10.2 support 🎉

  • New #211: Add InputMediaVoiceNote, InputRichMessageMedia, InputRichBlockListItem, Community, CommunityChatAdded, CommunityChatRemoved and BotSubscriptionUpdated types.
  • New #211: Add media and blocks fields to InputRichMessage type.
  • New #211: Add InputRichBlock interface 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 isEphemeral field to BotCommand type.
  • New #211: Add receiverUser, ephemeralMessageId, communityChatAdded and communityChatRemoved fields to Message type.
  • New #211: Add community field to ChatFullInfo type.
  • New #211: Add subscription field to Update type.
  • New #211: Add receiverUserId and callbackQueryId parameters to SendMessage, SendAnimation, SendAudio, SendDocument, SendPhoto, SendSticker, SendVideo, SendVideoNote, SendVoice, SendContact, SendLocation and SendVenue methods.
  • New #211: Add ephemeralMessageId field to ReplyParameters type.
  • New #211: Add EditEphemeralMessageText, EditEphemeralMessageMedia, EditEphemeralMessageCaption, EditEphemeralMessageReplyMarkup and DeleteEphemeralMessage methods.
  • Chg #211: Make messageId field of ReplyParameters type optional.
  • Enh #211: RichText types, RichBlockCaption, RichBlockTableCell and Location now support serialization back into a request array via toRequestArray().