Chat

Chat

Members

Properties

pinned_message
Message pinned_message [@property getter]
Message pinned_message [@property setter]

Pinned message, for supergroups and channel chats. Returned only in getChat

Variables

all_members_are_administrators
bool all_members_are_administrators;

True if a group has ‘All Members Are Admins’ enabled

can_set_sticker_set
bool can_set_sticker_set;

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

description
string description;

Description, for supergroups and channel chats. Returned only in getChat

first_name
string first_name;

First name of the other party in a private chat

id
long id;

Unique identifier

invite_link
string invite_link;

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

last_name
string last_name;

Last name of the other party in a private chat

photo
ChatPhoto photo;

Chat photo. Returned only in getChat

sticker_set_name
string sticker_set_name;

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

title
string title;

Title, for supergroups, channels and group chats

type
ChatType type;

Type

username
string username;

Username, for private chats, supergroups and channels if available

See Also

Meta