MadelineProtoDocs/docs/API_docs/constructors/chatFull.md

1.6 KiB

title description image
chatFull Chat full https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: chatFull

Back to constructors index

Chat full

Attributes:

Name Type Required Description
id int Yes ID
participants ChatParticipants Yes Participants
chat_photo Photo Optional Chat photo
notify_settings PeerNotifySettings Yes Notify settings
exported_invite ExportedChatInvite Yes Exported invite
bot_info Array of BotInfo Optional Bot info
pinned_msg_id int Optional Pinned msg ID

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];

PWRTelegram json-encoded version:

{"_": "chatFull", "id": int, "participants": ChatParticipants, "chat_photo": Photo, "notify_settings": PeerNotifySettings, "exported_invite": ExportedChatInvite, "bot_info": [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}