- feat: Bot API 9.5 - #317
- feat: Bot API 9.4 - #314
- docs(docsrs): doc_auto_cfg feature was merged into doc_cfg - #312
- refactor(clippy): use_self - #302
- build: update reqwest to v0.13 - #303
- fix: fix ChatBackground's Pattern type - #304
- feat: Bot API 9.3 - #305
- perf(client): less clones on creating multipart form - #297
- feat: Bot API 9.2 - Checklists/Gifts/Direct Messages in Channels - #298
- feat: Bot API 9.2 - Suggested Posts - #299
- feat: Bot API 9.1 - #293
- fix!: fix fix post_story and edit_story - #294
- fix!: fix set_business_account_profile_photo #283
- chore: add send_invoice example #292
- fix!: make
originof ExternalReplyInfo not optional - #289
- fix!: make year in Birthdate optional - #286
- fix: fix add_sticker_to_set, add sticker examples - #284
- fix: make nanostar_amount optional in StarTransaction struct - #288
- docs(examples): read token and chat from env - #262
- refactor: simplify file handling loop - #263
- refactor: simplify code when attaching many files - #264
- refactor!: simplify code with internal HasInputFile trait - #265
- refactor!: move objects into multiple modules - #266
- refactor!: move ResponseParams to response module - #267
- feat: add LinkPreviewOptions::DISABLED - #268
- ci(rust): dont check features on beta - #271
- build(lints): lint things that break API - #272
- fix(gift): fix typo in property name - #274
- refactor!: remove top level reexport and rename to methods / types - #275
- fix: attach video cover correctly as a file - #258
- build!: rename the features and remove the default feature - #248
- feat(error)!: more specific errors including their source - #252
- feat!: name clients Bot to differentiate from TelegramApi - #253
- refactor(ureq): update to ureq v3 - #247
- build: specify rust-version and keep lock file - #250
- refactor(lint): fix clippy::unnecessary_semicolon - #251
- Bot API 8.1 - #239
- Bot API 8.0 - #234
- feat: try fit wasm partially - #225
- fix!: fix serialization of InlineQueryResult - #230
- build(cargo): update bon requirement from 2.2.0 to 3.0.0 - #232
- build(cargo): update thiserror requirement from 1 to 2 - #228
- docs: show the required feature on docs.rs - #209
- refactor!: flatten the module structure - #208
- perf!: always take params reference - #211
- refactor!: use MessageOrBool over EditMessageResponse - #212
- build!: remove implicit features - #214
- Use consistent builder derive configs across API types - #213
- test: improve testing for api error response - #216
- refactor!: simplify traits with macros - #210
- style: group imports - #217
- refactor: generalize serde logic into macro - #218
- test(error): expect api error - #222
- docs: deduplicate spaces - #220
- test(json): assert_str - #221
- refactor!: merge Error and HttpError by @EdJoPaTo - #204
- refactor: improve generic argument naming by @EdJoPaTo - #205
- refactor(json)!: generalize encoding/decoding by @EdJoPaTo - #206
- Migrate from
typed-buildertobonby @Veetaha - #196
- Bot API 7.10 - #200
- docs(examples): simplify update offset logic - #198
- refactor(api): reuse new_url - #199
- fix: clippy::too_long_first_doc_paragraph - #197
- add into attributes for chat_id in SendInvoice and SendPaidMedia - #194
- refactor: clippy::must_use_candidate - #191
- Bot API 7.9 - #192
- feat: add Eq when possible on PartialEq - #188
- refactor: simplify Fromureq::Error - #189
- build(cargo): enable nursery lints - #190
- fix parsing of PaidMediaInfo - #184
- Update typed-builder requirement from 0.18 to 0.19 - #180
- Bot API 7.4 - #171
- Bot API 7.5 - #174
- Bot API 7.6 - #175
- Bot API 7.7 - #177
- fix: ChatBoostUpdated in UpdateContent - #176
- fix: remove "status" from ChatMemberRestricted - #165
- fix: message_id is optional in ExternalReplyInfo - #166
- Use i64 for ChatShared::chat_id - #162
- Support unknown message entity types - #146
- Fix custom emoji decoding - #143
- Fix parsing of callback queries - #137
- Add blockquote to
MessageEntityType- #126
- Add unpin_all_chat_messages method - #122
- Fix parsing 'kicked' chat member status - #119
- Rename
Fileenum intoFileUpload- #109
- Update
typed-builderto 0.14 - Update
mockitodependency to 1.0
- Added the struct
KeyboardButtonRequestUserand the fieldrequest_userto the structKeyboardButton. - Added the struct
KeyboardButtonRequestChatand the fieldrequest_chatto the structKeyboardButton. - Added the structs
UserShared,ChatSharedand the fieldsuser_shared, andchat_sharedto the structMessage. - Replaced the fields
can_send_media_messagesin the structsChatMemberRestrictedandChatPermissionswith separate fieldscan_send_audios,can_send_documents,can_send_photos,can_send_videos,can_send_video_notes, andcan_send_voice_notesfor different media types. - Added the parameter
use_independent_chat_permissionsto the structsRestrictChatMemberParamsandSetChatPermissionsParams. - Added the field
user_chat_idto the structChatJoinRequest.
- Added the field
is_persistentto the structReplyKeyboardMarkup, allowing to control when the keyboard is shown. - Added the parameter
has_spoilerto the methodssend_photo,send_video, andsend_animation. - Added the field
has_spoilerto the structsInputMediaPhoto,InputMediaVideo, andInputMediaAnimation. - Added the field
has_media_spoilerto the structMessage. - The parameters
nameandicon_custom_emoji_idof the methodedit_forum_topicare now optional. If they are omitted, the existing values are kept. - Added the structs
ForumTopicEdited,GeneralForumTopicHidden,GeneralForumTopicUnhidden, andWriteAccessAllowedand the fieldsforum_topic_edited,general_forum_topic_hidden,general_forum_topic_unhidden, andwrite_access_allowedto the structMessage. - Added the methods
edit_general_forum_topic,close_general_forum_topic,reopen_general_forum_topic,hide_general_forum_topic,unhide_general_forum_topicfor managing the General topic in forums. - Added the parameter
message_thread_idto the methodsend_chat_actionfor sending chat actions to a specific message thread or a forum topic. - Added the field
has_hidden_membersto the structChat. Note that the methodget_chat_memberis only guaranteed to work if the bot is an administrator in the chat. - Added the field
has_aggressive_anti_spam_enabledto the structChat.
- Added the fields
is_topic_messageandmessage_thread_idto the structMessageto allow detection of messages belonging to a forum topic and their message thread identifier. - Added the structs
ForumTopicCreated,ForumTopicClosed, andForumTopicReopenedand the fieldsforum_topic_created,forum_topic_closed, andforum_topic_reopenedto the structMessage - Added the field
can_manage_topicsto the structsChatAdministratorRights,ChatPermissions,ChatMemberAdministrator, andChatMemberRestricted. - Added the parameter
can_manage_topicsto the structPromoteChatMemberParams. - Added the methods
create_forum_topic,edit_forum_topic,close_forum_topic,reopen_forum_topic,delete_forum_topic,unpin_all_forum_topic_messages, andget_forum_topic_icon_stickersfor forum topic management. - Added the field
message_thread_idto the methodsSendMessageParams,SendPhotoParams,SendVideoParams,SendAnimationParams,SendAudioParams,SendDocumentParams,SendStickerParams,SendVideoNoteParams,SendVoiceParams,SendLocationParams,SendVenueParams,SendContactParams,SendPollParams,SendDiceParams,SendInvoiceParams,SendGameParams,SendMediaGroupParams,CopyMessageParams,ForwardMessageParamsto support sending of messages to a forum topic. - Added support for Multiple Usernames via the field
active_usernamesin the structChat. - Added the field
emoji_status_custom_emoji_idto the structChat.
- Added the
MessageEntitytypecustom_emoji. - Added the field
custom_emoji_idto the classMessageEntityforcustom_emojientities. - Added the method
getCustomEmojiStickers. - Added the fields type and
custom_emoji_idto the classSticker. - Added the field
sticker_typeto the classStickerSet, describing the type of stickers in the set. - The field
contains_maskshas been removed from the documentation of the classStickerSet. The field is still returned on the object for backward compatibility, but new bots should use the fieldsticker_typeinstead. - Added the parameter
sticker_typeto the methodcreateNewStickerSet. - The parameter
contains_maskshas been removed from the documentation of the methodcreateNewStickerSet. The parameter will still work for backward compatibility, but new bots should use the parametersticker_typeinstead.
- Fix: Use client timeout of 500 seconds by @EdJoPaTo in #82
- Chore: build with all features on docs.rs by @OpenByteDev in #81
- Fix status field of banned chat members #78
- Add builders for API clients #77
- Added the fields
join_to_send_messagesandjoin_by_requestto the structChat. - Added the method
create_invoice_linkto generate an HTTP link for an invoice - Added the field
is_premiumto the structUser. - Added the field
premium_animationto the structSticker. - Added the field
added_to_attachment_menuto the structUser. - Added the parameter
secret_tokento the methodset_webhook.
- Change type of
file_sizefromu32tou64by @ayrat555 in #70 - Refactor: specify
Eqwhen possible onPartialEqby @EdJoPaTo in #71 - Refactor: adopt breaking lints by @EdJoPaTo in #72
- Reduce
Messagestruct memory size #69
- Add
new_with_clienttoAsyncApi#66
- Convert allowed_update type into enum - #65
- Optimize Update struct by migrating its content to enum - #62
Bot API 6.0 - #58, #59
- Added support for Web Apps, see the detailed manual here. (blog announcement)
- Added the class
WebAppInfoand the fields web_app to the classesKeyboardButtonandInlineKeyboardButton. - Added the class
SentWebAppMessageand the methodanswerWebAppQueryfor sending an answer to a Web App query, which originated from an inline button of the 'web_app' type. - Added the class
WebAppDataand the field web_app_data to the class Message. - Added the class
MenuButtonand the methodssetChatMenuButtonandgetChatMenuButtonfor managing the behavior of the bot's menu button in private chats. - Added the class
ChatAdministratorRightsand the methodssetMyDefaultAdministratorRightsandgetMyDefaultAdministratorRightsfor managing the bot's default administrator rights. - Added support for t.me links that can be used to add the bot to groups and channels as an administrator.
- Added the field
last_synchronization_error_dateto the classWebhookInfo. - Renamed the field
can_manage_voice_chatstocan_manage_video_chatsin the classChatMemberAdministrator. The old field will remain temporarily available. - Renamed the parameter
can_manage_voice_chatstocan_manage_video_chatsin the methodpromoteChatMember. The old parameter will remain temporarily available. - Renamed the fields
voice_chat_scheduled,voice_chat_started,voice_chat_ended, andvoice_chat_participants_invitedtovideo_chat_scheduled,video_chat_started,video_chat_ended, andvideo_chat_participants_invitedin the classMessage. The old fields will remain temporarily available.
- Switch from
derive_buildertotyped-builder- #53
- Remove
serde_jsonfrom trait features - #43
- Add optional async API - #38
- Disable unused features in the multipart crate - #41
- Bot API 5.7 Changes - #40
- Add From trait impl for File enum - #35
- Use builders for all structs - #34
- fix
InputMessageContentenum - improve error handling
- Telegram API 5.4 Changes - #27
- Update
ureqto 2.3 - #27
- Use enums instead of strings for type fields - #25
- Make
Apistruct cloneable - #23
- Make
SendChatActionParams.actionan enum - #22
- Fix
ReplyKeyboardMarkupserialization error - #20
- add
BotCommandScope- #b937a5442d - add
input_field_placeholder- #371fe3463 - split
ChatMemberstruct into 6 structs - #8b104155a8 - rename
kickChatMemberandgetChatMembersCount- #35819f8843a88c
- Move type field into enums - #19
- Feature: Get rid of
isize/usizetypes (#11, #16, ab72b4469b3ed) - Chore: Fix
clippy::pedanticwarnings (#12, #14) - Chore: remove
Enumpostfix from enums (#13) - Chore: bump
multipartfrom 0.17 to 0.18 (#15)
- Make
serde_jsonoptional dependency (#6)
- Create
TelegramApitrait (#5) - Fix
InlineKeyboardMarkuptype (7392c1dac9a42fbb66e05dc905b79ff849be289b)
- Make all struct fields public (0798a34dddcbce1030a2f20b478e455b8f289623)
- The first release on crates.io