Telebot  4.7.0
Library for Telegram bot API
Public Attributes | List of all members
telebot_chat Struct Reference

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_photophoto
 
char * description
 
char * invite_link
 
struct telebot_messagepinned_message
 
struct telebot_chat_permissionspermissions
 
int slow_mode_delay
 
char * sticker_set_name
 
bool can_set_sticker_set
 

Detailed Description

This object represents a chat.

Member Data Documentation

◆ can_set_sticker_set

bool telebot_chat::can_set_sticker_set

Optional. True, if the bot can change the group sticker set. Returned only in getChat.

◆ description

char* telebot_chat::description

Optional. Desription, for supergroups and channel chats. Returned only in getChat.

◆ first_name

char* telebot_chat::first_name

Optional. First name of the other party in a private chat.

◆ id

long long int telebot_chat::id

Unique identifier for this chat, it may be greater than 32 bits.

◆ invite_link

char* telebot_chat::invite_link

Optional. Chat invite link, for supergroups and channel chats. Returned only in getChat.

◆ last_name

char* telebot_chat::last_name

Optional. Last name of the other party in a private chat.

◆ permissions

struct telebot_chat_permissions* telebot_chat::permissions

Optional. Default chat member permissions, for groups and supergroups. Returned only in getChat.

◆ photo

struct telebot_chat_photo* telebot_chat::photo

Optional. Chat photo. Returned only in getChat.

◆ pinned_message

struct telebot_message* telebot_chat::pinned_message

Optional. Pinned message, for supergroups. Returned only in getChat.

◆ slow_mode_delay

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.

◆ sticker_set_name

char* telebot_chat::sticker_set_name

Optional. For supergroups, name of group sticker set. Returned only in getChat.

◆ title

char* telebot_chat::title

Optional. Title, for supergroups, channels and group chats.

◆ type

char* telebot_chat::type

Type of chat, can be either "private", or "group", "supergroup", or "channel".

◆ username

char* telebot_chat::username

Optional. Username, for private chats, supergroups and channels if available.


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