Repository navigation
Changed
MessageFilterExt::filter_reply_to_messagenow insertsteloxide::dispatching::ReplyToMessageinto the dependency map instead of a bareMessage, so it no longer overrides the originalMessage(#751) [BC]
Added
- Added support for Telegram Bot API 10.3
- Rich-message buttons and blocks, ephemeral message parameters, generation updates, reply markup, permissions, and community/gift fields
Update::filter_stopped_message_generationand its dispatcher allowed-update hintreceiver_user_id/callback_query_idsend-method parameters were replaced byephemeral_message_parameters[BC]- See its changelog for more information
- Added support for Telegram Bot API 10.2 [BC]
- Rich-message input, ephemeral messages, communities, and subscription updates
- See its changelog for more information
- Added support for Telegram Bot API 10.1 [BC]
- Added support for Telegram Bot API 10.0
- Added support for Telegram Bot API 9.6
- Added support for Telegram Bot API 9.5
- Support for TBA 9.4, see its changelog for more information
- Support for TBA 9.3, see its changelog for more information [BC]
MessageToEditHasNoTextvariant toApiError(#1426)ParticipantIdInvalidandChatAdminRequiredvariants toApiError(#1349)- Support for TBA 9.2 (#1403)
- Add
filter_suggested_post_approved,filter_suggested_post_approval_failed,filter_suggested_post_declined,filter_suggested_post_paid,filter_suggested_post_refundedfilters to theMessageFilterExttrait ChatFullInfoPublicKind::Supergroupis now of typeBox<ChatFullInfoPublicSupergroup>instead ofChatFullInfoPublicSupergroup[BC]
- Add
Fixed
-
Make sure
postgres-storage-rustlsfeature actually enables rustls-based postgres storage (#1400) -
Escape
@mentions inmarkdown::user_mention_or_link(#1411) -
Add local TBA file downloading support in
crate::net::download(#1173) -
Added schema and rust types checking (#1396) [BC]
delete_chat_photomethod now returnsTrue, notStringupload_sticker_filemethod now returnsFileinstead ofFileMetaphoto_size,photo_widthandphoto_heightparameters ofcreate_invoice_linkmethod now are of typeu32, notStringget_game_high_scoresmethod now returnsVec<GameHighScore>, notTrueBusinessMessagesDeletedstruct now has correct deserialization ofmessage_idsfieldaccent_color_idfield ofChatFullInfostruct now is of typeu8, notOption<u8>EncryptedPassportElementandEncryptedPassportElementKindstructs now deserialize correctlyphotofield ofPaidMediaPhotostruct now is of typeVec<PhotoSize>, notPhotoSizepremium_animationfield ofStickerKind::Regularenum variant is now of typeOption<File>, notOption<FileMeta>usersfield ofVideoChatParticipantsInvitedstruct now is of typeVec<User>, notOption<Vec<User>>
-
Don't ignore argument separator in CommandEnum and both separators in Command (#1462)
- Now it's possible to specify
separatorin each command variant - Usage of
command_separatorin a command variant now leads to a compile time error instead of silent ignoring - Now usage of
separatorwithoutparse_with = "split"both in the command enum and in the command variant gives a compile time error
- Now it's possible to specify
Changed
- MSRV (Minimal Supported Rust Version) was bumped from
1.85to1.88[BC] - Some dependencies were bumped:
derive_moreto2.0.1,deadpool-redisto0.22.0(#1408)