Introducing Bot API 3.0.
NEW Payment Platform
Bots can now receive payments for goods and services via Telegram.
• Your bot can now accept payments for goods and services via Telegram.
• Added new kinds of updates,
• Added new methods for payments: sendInvoice, answerShippingQuery, and answerPreCheckoutQuery.
• Added a new type of button, the pay button to InlineKeyboardButton.
NEW Video Messages
Since Telegram v4.0, users can send short video messages using a familiar interface, familiar to voice messages.
• Added method sendVideoNote,
NEW Multilingual Bots
The User object now may have a
Due to this, bots can now offer localized responses to users that speak different languages.
More power to admin bots
• unbanChatMember now also works in channels!
• New method deleteMessage that allows the bot to delete its own messages, as well as messages posted by other in groups and channels where the bot is an administrator.
Minor Changes
•
• Inline keyboard with fields
• Added field in the object
https://core.telegram.org/bots/api
#Bot #Api #V3.0 #Update
ℹ️ @KeralagramChannel
May 18, 2017NEW Payment Platform
Bots can now receive payments for goods and services via Telegram.
• Your bot can now accept payments for goods and services via Telegram.
• Added new kinds of updates,
shipping_query and pre_checkout_query, and new types of message content, invoice and successful payment.• Added new methods for payments: sendInvoice, answerShippingQuery, and answerPreCheckoutQuery.
• Added a new type of button, the pay button to InlineKeyboardButton.
NEW Video Messages
Since Telegram v4.0, users can send short video messages using a familiar interface, familiar to voice messages.
• Added method sendVideoNote,
video_note a new field in the Message object, field record_video_note and upload_video_note method sendChatAction.NEW Multilingual Bots
The User object now may have a
language_code field that contains the IETF language tag of the user's language.Due to this, bots can now offer localized responses to users that speak different languages.
More power to admin bots
• unbanChatMember now also works in channels!
• New method deleteMessage that allows the bot to delete its own messages, as well as messages posted by other in groups and channels where the bot is an administrator.
Minor Changes
•
New_chat_member field in the Message object is replaced by new_chat_members (for a short period of time will be available both for backward compatibility).• Inline keyboard with fields
switch_inline_query and switch_inline_query_current_chat now cannot be sent to channels because of its futility.• Added field in the object
gif_duration InlineQueryResultGif and mpeg4_duration object InlineQueryResultMpeg4Gifhttps://core.telegram.org/bots/api
#Bot #Api #V3.0 #Update
ℹ️ @KeralagramChannel
core.telegram.org
Telegram Bot API
The Bot API is an HTTP-based interface created for developers keen on building bots for Telegram. To learn how to create…
Bot API 3.6.
• Supported text formatting in media captions. Specify the desired parse_mode (Markdown or HTML) when you provide a caption.
• In supergroups, if the bot receives a message that is a reply, it will also receive the message to which that message is replying – even if the original message is inaccessible due to the bot's privacy settings. (In other words, replying to any message in a supergroup with a message that mentions the bot or features a command for it acts as forwarding the original message to the bot).
• Added the new field connected_website to Message. The bot will receive a message with this field in a private chat when a user logs in on the bot's connected website using the Login Widget and allows sending messages from your bot.
• Added the new parameter supports_streaming to the sendVideo method and a field with the same name to the inputMediaVideo object.
#Bot #Api #Telegram #Update
ℹ️ @KeralagramChannel
February 13, 2018• Supported text formatting in media captions. Specify the desired parse_mode (Markdown or HTML) when you provide a caption.
• In supergroups, if the bot receives a message that is a reply, it will also receive the message to which that message is replying – even if the original message is inaccessible due to the bot's privacy settings. (In other words, replying to any message in a supergroup with a message that mentions the bot or features a command for it acts as forwarding the original message to the bot).
• Added the new field connected_website to Message. The bot will receive a message with this field in a private chat when a user logs in on the bot's connected website using the Login Widget and allows sending messages from your bot.
• Added the new parameter supports_streaming to the sendVideo method and a field with the same name to the inputMediaVideo object.
#Bot #Api #Telegram #Update
ℹ️ @KeralagramChannel
Bot API 4.0.
• Added support for Telegram Passport. See the official announcement on the blog and the manual for details.
• Added support for editing the media content of messages: added the method editMessageMedia and new types inputMediaAnimation, [inputMediaAudio]/bots/api(#inputmediaaudio), and inputMediaDocument.
• Added the field thumb to the Audio object to contain the thumbnail of the album cover to which the music file belongs.
• Added support for attaching custom thumbnails to uploaded files. For animations, audios, videos and video notes, which are less than 10 MB in size, thumbnails are generated automatically.
• tg:// URLs now can be used in inline keyboard url buttons and text_link message entities.
•Added the method sendAnimation, which can be used instead of sendDocument to send animations, specifying their duration, width and height.
• Added the field animation to the Message object. For backward compatibility, when this field is set, the document field will be also set.
• Added two new MessageEntity types: cashtag and phone_number.
• Added support for Foursquare venues: added the new field foursquare_type to the objects Venue, InlineQueryResultVenue and InputVenueMessageContent, and the parameter foursquare_type to the sendVenue method.
• You can now create inline mentions of users, who have pressed your bot's callback buttons.
• You can now use the Retry-After response header to configure the delay after which the Bot API will retry the request after an unsuccessful response from a webhook.
• If a webhook returns the HTTP error 410 Gone for all requests for more than 23 hours successively, it can be automatically removed.
• Added vCard support when sharing contacts: added the field vcard to the objects Contact, InlineQueryResultContact, InputContactMessageContent and the method sendContact.
#Bot #Api #Telegram #Update
ℹ️ @KeralagramChannel
July 26 , 2018• Added support for Telegram Passport. See the official announcement on the blog and the manual for details.
• Added support for editing the media content of messages: added the method editMessageMedia and new types inputMediaAnimation, [inputMediaAudio]/bots/api(#inputmediaaudio), and inputMediaDocument.
• Added the field thumb to the Audio object to contain the thumbnail of the album cover to which the music file belongs.
• Added support for attaching custom thumbnails to uploaded files. For animations, audios, videos and video notes, which are less than 10 MB in size, thumbnails are generated automatically.
• tg:// URLs now can be used in inline keyboard url buttons and text_link message entities.
•Added the method sendAnimation, which can be used instead of sendDocument to send animations, specifying their duration, width and height.
• Added the field animation to the Message object. For backward compatibility, when this field is set, the document field will be also set.
• Added two new MessageEntity types: cashtag and phone_number.
• Added support for Foursquare venues: added the new field foursquare_type to the objects Venue, InlineQueryResultVenue and InputVenueMessageContent, and the parameter foursquare_type to the sendVenue method.
• You can now create inline mentions of users, who have pressed your bot's callback buttons.
• You can now use the Retry-After response header to configure the delay after which the Bot API will retry the request after an unsuccessful response from a webhook.
• If a webhook returns the HTTP error 410 Gone for all requests for more than 23 hours successively, it can be automatically removed.
• Added vCard support when sharing contacts: added the field vcard to the objects Contact, InlineQueryResultContact, InputContactMessageContent and the method sendContact.
#Bot #Api #Telegram #Update
ℹ️ @KeralagramChannel
Telegram Bot API v4.7
https://core.telegram.org/bots/api#march-30-2020
#Bot #API #Telegram
ℹ️ @KeragramChannel
https://core.telegram.org/bots/api#march-30-2020
#Bot #API #Telegram
ℹ️ @KeragramChannel
Telegram Bot API v4.8
https://core.telegram.org/bots/api#april-24-2020
#Telegram #Bot #API #Update
ℹ️ @KeragramChannel
https://core.telegram.org/bots/api#april-24-2020
#Telegram #Bot #API #Update
ℹ️ @KeragramChannel
Telegram Bot API v4.9
https://core.telegram.org/bots/api#june-4-2020
#Telegram #Bot #API #Update
ℹ️ @KeragramChannel
https://core.telegram.org/bots/api#june-4-2020
#Telegram #Bot #API #Update
ℹ️ @KeragramChannel