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

2.0 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
can_set_username Bool Optional Can we change the username of this chat
has_scheduled Bool Optional Whether scheduled messages are available
id int Yes ID of the chat
about string Yes About string for this 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
folder_id int Optional Peer folder ID, for more info click here

Type: ChatFull

Example:

$chatFull = ['_' => 'chatFull', 'can_set_username' => Bool, 'has_scheduled' => Bool, 'id' => int, 'about' => 'string', 'participants' => ChatParticipants, 'chat_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'exported_invite' => ExportedChatInvite, 'bot_info' => [BotInfo, BotInfo], 'pinned_msg_id' => int, 'folder_id' => int];

Or, if you're into Lua:

chatFull={_='chatFull', can_set_username=Bool, has_scheduled=Bool, id=int, about='string', participants=ChatParticipants, chat_photo=Photo, notify_settings=PeerNotifySettings, exported_invite=ExportedChatInvite, bot_info={BotInfo}, pinned_msg_id=int, folder_id=int}