issues
search
ayrat555
/
frankenstein
Telegram bot API client for Rust
Do What The F*ck You Want To Public License
268
stars
28
forks
source link
Bot API v6 web apps changes
#59
Closed
ayrat555
closed
2 years ago
ayrat555
commented
2 years ago
Added support for Web Apps, see the
detailed manual here
. (
blog announcement
)
Added the class
WebAppInfo
and the fields web_app to the classes
KeyboardButton
and
InlineKeyboardButton
.
Added the class
SentWebAppMessage
and the method
answerWebAppQuery
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 methods
setChatMenuButton
and
getChatMenuButton
for managing the behavior of the bot's menu button in private chats.