Link Search Menu Expand Document

Constructor: chatFull

Back to constructors index

Full info about a basic group.

Attributes:

NameTypeRequiredDescription
can_set_usernameBoolOptionalCan we change the username of this chat
has_scheduledBoolOptionalWhether scheduled messages are available
translations_disabledBoolOptionalWhether the real-time chat translation popup should be hidden.
idlongYesID of the chat
aboutstringYesAbout string for this chat
participantsChatParticipantsYesParticipant list
chat_photoPhotoOptionalChat photo
notify_settingsPeerNotifySettingsYesNotification settings
exported_inviteExportedChatInviteOptionalChat invite
bot_infoArray of BotInfoOptionalInfo about bots that are in this chat
pinned_msg_idintOptionalMessage ID of the last pinned message
folder_idintOptionalPeer folder ID, for more info click here
callInputGroupCallOptionalGroup call information
ttl_periodintOptionalTime-To-Live of messages sent by the current user to this chat
groupcall_default_join_asPeerOptionalWhen using phone.getGroupCallJoinAs to get a list of peers that can be used to join a group call, this field indicates the peer that should be selected by default.
theme_emoticonstringOptionalEmoji representing a specific chat theme
requests_pendingintOptionalPending join requests »
recent_requestersArray of longOptionalIDs of users who requested to join recently
available_reactionsChatReactionsOptionalAllowed message reactions »
reactions_limitintOptional

Type: ChatFull

Example:

$chatFull = ['_' => 'chatFull', 'can_set_username' => Bool, 'has_scheduled' => Bool, 'translations_disabled' => Bool, 'id' => long, 'about' => 'string', 'participants' => ChatParticipants, 'chat_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'exported_invite' => ExportedChatInvite, 'bot_info' => [BotInfo, BotInfo], 'pinned_msg_id' => int, 'folder_id' => int, 'call' => InputGroupCall, 'ttl_period' => int, 'groupcall_default_join_as' => Peer, 'theme_emoticon' => 'string', 'requests_pending' => int, 'recent_requesters' => [long, long], 'available_reactions' => ChatReactions, 'reactions_limit' => int];