Telebot 9.4
Library for Telegram bot API
Loading...
Searching...
No Matches
Public Attributes | List of all members
telebot_keyboard_button_request_chat Struct Reference

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
 

Detailed Description

This object defines the criteria used to request a suitable chat.

Member Data Documentation

◆ bot_administrator_rights

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.

◆ bot_is_member

bool telebot_keyboard_button_request_chat::bot_is_member

Optional. Pass True to request a chat with the bot as a member.

◆ chat_has_username

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.

◆ chat_is_channel

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.

◆ chat_is_created

bool telebot_keyboard_button_request_chat::chat_is_created

Optional. Pass True to request a chat owned by the user.

◆ chat_is_forum

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.

◆ request_id

int telebot_keyboard_button_request_chat::request_id

Identifier of the request

◆ request_photo

bool telebot_keyboard_button_request_chat::request_photo

Optional. Pass True to request the chat's photo

◆ request_title

bool telebot_keyboard_button_request_chat::request_title

Optional. Pass True to request the chat's title

◆ request_username

bool telebot_keyboard_button_request_chat::request_username

Optional. Pass True to request the chat's username

◆ user_administrator_rights

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.


The documentation for this struct was generated from the following file: