|
Telebot 9.4
Library for Telegram bot API
|
This object defines the criteria used to request a suitable chat. More...
#include <telebot-types.h>
Public Attributes | |
| int | request_id |
| bool | chat_is_channel |
| bool | chat_is_forum |
| bool | chat_has_username |
| bool | chat_is_created |
| struct telebot_chat_administrator_rights * | user_administrator_rights |
| struct telebot_chat_administrator_rights * | bot_administrator_rights |
| bool | bot_is_member |
| bool | request_title |
| bool | request_username |
| bool | request_photo |
This object defines the criteria used to request a suitable chat.
| struct telebot_chat_administrator_rights* telebot_keyboard_button_request_chat::bot_administrator_rights |
Optional. A JSON-serialized object listing the required administrator rights of the bot in the chat.
| bool telebot_keyboard_button_request_chat::bot_is_member |
Optional. Pass True to request a chat with the bot as a member.
| bool telebot_keyboard_button_request_chat::chat_has_username |
Optional. Pass True to request a supergroup or a channel with a username, pass False to request a chat without a username.
| bool telebot_keyboard_button_request_chat::chat_is_channel |
Pass True to request a channel chat, pass False to request a group or a supergroup chat.
| bool telebot_keyboard_button_request_chat::chat_is_created |
Optional. Pass True to request a chat owned by the user.
| bool telebot_keyboard_button_request_chat::chat_is_forum |
Optional. Pass True to request a forum supergroup, pass False to request a non-forum chat.
| int telebot_keyboard_button_request_chat::request_id |
Identifier of the request
| bool telebot_keyboard_button_request_chat::request_photo |
Optional. Pass True to request the chat's photo
| bool telebot_keyboard_button_request_chat::request_title |
Optional. Pass True to request the chat's title
| bool telebot_keyboard_button_request_chat::request_username |
Optional. Pass True to request the chat's username
| struct telebot_chat_administrator_rights* telebot_keyboard_button_request_chat::user_administrator_rights |
Optional. A JSON-serialized object listing the required administrator rights of the user in the chat.