You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Added the class BusinessConnection and updates about the connection or disconnection of the bot to a business account, represented by the field business_connection in the class Update.
Added updates about new messages in a business account connected to the bot, represented by the field business_message in the class Update.
Added updates about message edits in a business account connected to the bot, represented by the field edited_business_message in the class Update.
Added updates about message deletion in a business account connected to the bot, represented by the class BusinessMessagesDeleted and the field deleted_business_messages in the class Update.
Added the method getBusinessConnection.
Working on Behalf of Business Accounts
Added the parameter business_connection_id to the methods sendMessage, sendPhoto, sendVideo, sendAnimation, sendAudio, sendDocument, sendSticker, sendVideoNote, sendVoice, sendLocation, sendVenue, sendContact, sendPoll, sendDice, sendGame, and sendMediaGroup.
Added the parameter business_connection_id to the method sendChatAction.
Added the field business_connection_id to the class Message.
Added the field sender_business_bot to the class Message.
Information about Business Accounts
Added the class BusinessIntro and the field business_intro to the class Chat.
Added the class BusinessLocation and the field business_location to the class Chat.
Added the classes BusinessOpeningHours and BusinessOpeningHoursInterval and the field business_opening_hours to the class Chat.
Mixed-Format Sticker Packs
Removed the fields is_animated and is_video from the class StickerSet.
Added the field format to the class InputSticker.
Removed the parameter sticker_format from the method createNewStickerSet.
Added the parameter format to the method setStickerSetThumbnail.
Increased the maximum number of stickers in any regular and mask sticker set to 120.
Allowed to upload WEBM stickers using SendSticker.
Request Chat Improvements
Added the fields request_name, request_username, and request_photo to the class KeyboardButtonRequestUsers.
Added the fields request_title, request_username, and request_photo to the class KeyboardButtonRequestChat.
Added the class SharedUser and replaced the field user_ids in the class UsersShared with the field users.
Added the fields title, username, and photo to the class ChatShared.
Other Changes
Added the field is_from_offline to the class Message.
Added the field can_connect_to_business to the class User.
Added the field personal_chat to the class Chat.
Added the method replaceStickerInSet,
Added the class Birthdate and the field birthdate to the class Chat.
Added the field BiometricManager to the class WebApp.
The text was updated successfully, but these errors were encountered:
https://core.telegram.org/bots/api-changelog#march-31-2024
Integration with Business Accounts
BusinessConnection
and updates about the connection or disconnection of the bot to a business account, represented by the fieldbusiness_connection
in the classUpdate
.business_message
in the classUpdate
.edited_business_message
in the classUpdate
.BusinessMessagesDeleted
and the fielddeleted_business_messages
in the classUpdate
.getBusinessConnection
.Working on Behalf of Business Accounts
business_connection_id
to the methodssendMessage
,sendPhoto
,sendVideo
,sendAnimation
,sendAudio
,sendDocument
,sendSticker
,sendVideoNote
,sendVoice
,sendLocation
,sendVenue
,sendContact
,sendPoll
,sendDice
,sendGame
, andsendMediaGroup
.business_connection_id
to the methodsendChatAction
.business_connection_id
to the classMessage
.sender_business_bot
to the classMessage
.Information about Business Accounts
BusinessIntro
and the fieldbusiness_intro
to the classChat
.BusinessLocation
and the fieldbusiness_location
to the classChat
.BusinessOpeningHours
andBusinessOpeningHoursInterval
and the fieldbusiness_opening_hours
to the classChat
.Mixed-Format Sticker Packs
is_animated
andis_video
from the classStickerSet
.InputSticker
.sticker_format
from the methodcreateNewStickerSet
.format
to the methodsetStickerSetThumbnail
.SendSticker
.Request Chat Improvements
request_name
,request_username
, andrequest_photo
to the classKeyboardButtonRequestUsers
.request_title
,request_username
, andrequest_photo
to the classKeyboardButtonRequestChat
.SharedUser
and replaced the fielduser_ids
in the classUsersShared
with the fieldusers
.title
,username
, andphoto
to the classChatShared
.Other Changes
is_from_offline
to the classMessage
.can_connect_to_business
to the classUser
.personal_chat
to the classChat
.replaceStickerInSet
,Birthdate
and the fieldbirthdate
to the classChat
.BiometricManager
to the classWebApp
.The text was updated successfully, but these errors were encountered: