MadelineProtoDocs/old_docs/API_docs_v28/constructors/chatFull.md
2020-06-16 17:50:25 +02:00

1.4 KiB

title description image
chatFull Detailed chat info https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: chatFull

Back to constructors index

Detailed chat info

Attributes:

Name Type Required Description
id int Yes ID of the chat
participants ChatParticipants Yes Participant list
chat_photo Photo Optional Chat photo
notify_settings PeerNotifySettings Yes Notification settings
exported_invite ExportedChatInvite Yes Chat invite
bot_info Array of BotInfo Optional Info about bots that are in this chat
pinned_msg_id int Optional Message ID of the pinned message

Type: ChatFull

Example:

$chatFull = ['_' => 'chatFull', 'id' => int, 'participants' => ChatParticipants, 'chat_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'exported_invite' => ExportedChatInvite, 'bot_info' => [BotInfo, BotInfo], 'pinned_msg_id' => int];

Or, if you're into Lua:

chatFull={_='chatFull', id=int, participants=ChatParticipants, chat_photo=Photo, notify_settings=PeerNotifySettings, exported_invite=ExportedChatInvite, bot_info={BotInfo}, pinned_msg_id=int}