Telebot
4.7.0
Library for Telegram bot API
|
This object represents a chat. More...
#include <telebot-types.h>
Public Attributes | |
long long int | id |
char * | type |
char * | title |
char * | username |
char * | first_name |
char * | last_name |
struct telebot_chat_photo * | photo |
char * | description |
char * | invite_link |
struct telebot_message * | pinned_message |
struct telebot_chat_permissions * | permissions |
int | slow_mode_delay |
char * | sticker_set_name |
bool | can_set_sticker_set |
This object represents a chat.
bool telebot_chat::can_set_sticker_set |
Optional. True, if the bot can change the group sticker set. Returned only in getChat.
char* telebot_chat::description |
Optional. Desription, for supergroups and channel chats. Returned only in getChat.
char* telebot_chat::first_name |
Optional. First name of the other party in a private chat.
long long int telebot_chat::id |
Unique identifier for this chat, it may be greater than 32 bits.
char* telebot_chat::invite_link |
Optional. Chat invite link, for supergroups and channel chats. Returned only in getChat.
char* telebot_chat::last_name |
Optional. Last name of the other party in a private chat.
struct telebot_chat_permissions* telebot_chat::permissions |
Optional. Default chat member permissions, for groups and supergroups. Returned only in getChat.
struct telebot_chat_photo* telebot_chat::photo |
Optional. Chat photo. Returned only in getChat.
struct telebot_message* telebot_chat::pinned_message |
Optional. Pinned message, for supergroups. Returned only in getChat.
int telebot_chat::slow_mode_delay |
Optional. For supergroups, the minimum allowed delay between consecutive messages sent by each unpriviledged user. Returned only in getChat.
char* telebot_chat::sticker_set_name |
Optional. For supergroups, name of group sticker set. Returned only in getChat.
char* telebot_chat::title |
Optional. Title, for supergroups, channels and group chats.
char* telebot_chat::type |
Type of chat, can be either "private", or "group", "supergroup", or "channel".
char* telebot_chat::username |
Optional. Username, for private chats, supergroups and channels if available.