- 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-builder
tobon
by @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
File
enum intoFileUpload
- #109
- Update
typed-builder
to 0.14 - Update
mockito
dependency to 1.0
- Added the struct
KeyboardButtonRequestUser
and the fieldrequest_user
to the structKeyboardButton
. - Added the struct
KeyboardButtonRequestChat
and the fieldrequest_chat
to the structKeyboardButton
. - Added the structs
UserShared
,ChatShared
and the fieldsuser_shared
, andchat_shared
to the structMessage
. - Replaced the fields
can_send_media_messages
in the structsChatMemberRestricted
andChatPermissions
with separate fieldscan_send_audios
,can_send_documents
,can_send_photos
,can_send_videos
,can_send_video_notes
, andcan_send_voice_notes
for different media types. - Added the parameter
use_independent_chat_permissions
to the structsRestrictChatMemberParams
andSetChatPermissionsParams
. - Added the field
user_chat_id
to the structChatJoinRequest
.
- Added the field
is_persistent
to the structReplyKeyboardMarkup
, allowing to control when the keyboard is shown. - Added the parameter
has_spoiler
to the methodssend_photo
,send_video
, andsend_animation
. - Added the field
has_spoiler
to the structsInputMediaPhoto
,InputMediaVideo
, andInputMediaAnimation
. - Added the field
has_media_spoiler
to the structMessage
. - The parameters
name
andicon_custom_emoji_id
of the methodedit_forum_topic
are now optional. If they are omitted, the existing values are kept. - Added the structs
ForumTopicEdited
,GeneralForumTopicHidden
,GeneralForumTopicUnhidden
, andWriteAccessAllowed
and the fieldsforum_topic_edited
,general_forum_topic_hidden
,general_forum_topic_unhidden
, andwrite_access_allowed
to the structMessage
. - Added the methods
edit_general_forum_topic
,close_general_forum_topic
,reopen_general_forum_topic
,hide_general_forum_topic
,unhide_general_forum_topic
for managing the General topic in forums. - Added the parameter
message_thread_id
to the methodsend_chat_action
for sending chat actions to a specific message thread or a forum topic. - Added the field
has_hidden_members
to the structChat
. Note that the methodget_chat_member
is only guaranteed to work if the bot is an administrator in the chat. - Added the field
has_aggressive_anti_spam_enabled
to the structChat
.
- Added the fields
is_topic_message
andmessage_thread_id
to the structMessage
to allow detection of messages belonging to a forum topic and their message thread identifier. - Added the structs
ForumTopicCreated
,ForumTopicClosed
, andForumTopicReopened
and the fieldsforum_topic_created
,forum_topic_closed
, andforum_topic_reopened
to the structMessage
- Added the field
can_manage_topics
to the structsChatAdministratorRights
,ChatPermissions
,ChatMemberAdministrator
, andChatMemberRestricted
. - Added the parameter
can_manage_topics
to 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_stickers
for forum topic management. - Added the field
message_thread_id
to the methodsSendMessageParams
,SendPhotoParams
,SendVideoParams
,SendAnimationParams
,SendAudioParams
,SendDocumentParams
,SendStickerParams
,SendVideoNoteParams
,SendVoiceParams
,SendLocationParams
,SendVenueParams
,SendContactParams
,SendPollParams
,SendDiceParams
,SendInvoiceParams
,SendGameParams
,SendMediaGroupParams
,CopyMessageParams
,ForwardMessageParams
to support sending of messages to a forum topic. - Added support for Multiple Usernames via the field
active_usernames
in the structChat
. - Added the field
emoji_status_custom_emoji_id
to the structChat
.
- Added the
MessageEntity
typecustom_emoji
. - Added the field
custom_emoji_id
to the classMessageEntity
forcustom_emoji
entities. - Added the method
getCustomEmojiStickers
. - Added the fields type and
custom_emoji_id
to the classSticker
. - Added the field
sticker_type
to the classStickerSet
, describing the type of stickers in the set. - The field
contains_masks
has 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_type
instead. - Added the parameter
sticker_type
to the methodcreateNewStickerSet
. - The parameter
contains_masks
has been removed from the documentation of the methodcreateNewStickerSet
. The parameter will still work for backward compatibility, but new bots should use the parametersticker_type
instead.
- 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_messages
andjoin_by_request
to the structChat
. - Added the method
create_invoice_link
to generate an HTTP link for an invoice - Added the field
is_premium
to the structUser
. - Added the field
premium_animation
to the structSticker
. - Added the field
added_to_attachment_menu
to the structUser
. - Added the parameter
secret_token
to the methodset_webhook
.
- Change type of
file_size
fromu32
tou64
by @ayrat555 in #70 - Refactor: specify
Eq
when possible onPartialEq
by @EdJoPaTo in #71 - Refactor: adopt breaking lints by @EdJoPaTo in #72
- Reduce
Message
struct memory size #69
- Add
new_with_client
toAsyncApi
#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
WebAppInfo
and the fields web_app to the classesKeyboardButton
andInlineKeyboardButton
. - Added the class
SentWebAppMessage
and the methodanswerWebAppQuery
for sending an answer to a Web App query, which originated from an inline button of the 'web_app' type. - Added the class
WebAppData
and the field web_app_data to the class Message. - Added the class
MenuButton
and the methodssetChatMenuButton
andgetChatMenuButton
for managing the behavior of the bot's menu button in private chats. - Added the class
ChatAdministratorRights
and the methodssetMyDefaultAdministratorRights
andgetMyDefaultAdministratorRights
for 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_date
to the classWebhookInfo
. - Renamed the field
can_manage_voice_chats
tocan_manage_video_chats
in the classChatMemberAdministrator
. The old field will remain temporarily available. - Renamed the parameter
can_manage_voice_chats
tocan_manage_video_chats
in the methodpromoteChatMember
. The old parameter will remain temporarily available. - Renamed the fields
voice_chat_scheduled
,voice_chat_started
,voice_chat_ended
, andvoice_chat_participants_invited
tovideo_chat_scheduled
,video_chat_started
,video_chat_ended
, andvideo_chat_participants_invited
in the classMessage
. The old fields will remain temporarily available.
- Switch from
derive_builder
totyped-builder
- #53
- Remove
serde_json
from 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
InputMessageContent
enum - improve error handling
- Telegram API 5.4 Changes - #27
- Update
ureq
to 2.3 - #27
- Use enums instead of strings for type fields - #25
- Make
Api
struct cloneable - #23
- Make
SendChatActionParams.action
an enum - #22
- Fix
ReplyKeyboardMarkup
serialization error - #20
- add
BotCommandScope
- #b937a5442d - add
input_field_placeholder
- #371fe3463 - split
ChatMember
struct into 6 structs - #8b104155a8 - rename
kickChatMember
andgetChatMembersCount
- #35819f8843a88c
- Move type field into enums - #19
- Feature: Get rid of
isize
/usize
types (#11, #16, ab72b4469b3ed) - Chore: Fix
clippy::pedantic
warnings (#12, #14) - Chore: remove
Enum
postfix from enums (#13) - Chore: bump
multipart
from 0.17 to 0.18 (#15)
- Make
serde_json
optional dependency (#6)
- Create
TelegramApi
trait (#5) - Fix
InlineKeyboardMarkup
type (7392c1dac9a42fbb66e05dc905b79ff849be289b)
- Make all struct fields public (0798a34dddcbce1030a2f20b478e455b8f289623)
- The first release on crates.io