MadelineProtoDocs/old_docs/API_docs_v109/constructors/chatFull.md
2020-03-06 12:24:14 +01:00

1.9 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 Bot info
pinned_msg_id int Optional Message ID of the pinned message
folder_id int Optional Folder ID

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}