Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Latest Bot API changes #657

Merged
merged 3 commits into from
Jul 20, 2019
Merged

Latest Bot API changes #657

merged 3 commits into from
Jul 20, 2019

Conversation

jonnywilliamson
Copy link
Contributor

All the latest BOT API changes.

April 14, 2019

Added support for native polls: added the object Poll, the methods sendPoll and stopPoll and the field poll in the Message and Update objects.
The method deleteMessage can now be used to delete messages sent by a user to the bot in private chats within 48 hours.
Added support for pinned messages in basic groups in addition to supergroups and channel chats: you can pass group's chat_id to pinChatMessage and unpinChatMessage, and receive the pinned group message in Chat object.
Added the field is_member to the ChatMember object, which can be used to find whether a restricted user is a member of the chat.
Added the field forward_sender_name to the Message object, containing name of the sender who has opted to hide their account.
May 31, 2019

Added support for Seamless Telegram Login on external websites (needs Telegram 5.7 or higher).
Added the new object LoginUrl and the new field login_url to the InlineKeyboardButton object which allows to automatically authorize users before they go to a URL specified by the bot. Users will be asked to confirm authorization in their Telegram app (needs version 5.7 or higher) when they press the button:
Added the field reply_markup to the Message object, containing the inline keyboard attached to the message.
@irazasyed irazasyed merged commit 505ae9b into irazasyed:develop Jul 20, 2019
@irazasyed
Copy link
Owner

Looks great. Thanks 👍

@jonnywilliamson
Copy link
Contributor Author

Thanks for that! Hope you're keeping well!

@irazasyed
Copy link
Owner

Yessir :)

Hope you're doing well too and as always flying high ✈️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants