MadelineProtoDocs/old_docs/API_docs_v41/constructors/dialogChannel.md

1.4 KiB

title description image
dialogChannel Dialog channel https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: dialogChannel

Back to constructors index

Dialog channel

Attributes:

Name Type Required Description
peer Peer Yes Peer
top_message int Yes Top message
top_important_message int Yes Top important message
read_inbox_max_id int Yes Read inbox max ID
unread_count int Yes Unread count
unread_important_count int Yes Unread important count
notify_settings PeerNotifySettings Optional Notify settings
pts int Yes Pts

Type: Dialog

Example:

$dialogChannel = ['_' => 'dialogChannel', 'peer' => Peer, 'top_message' => int, 'top_important_message' => int, 'read_inbox_max_id' => int, 'unread_count' => int, 'unread_important_count' => int, 'notify_settings' => PeerNotifySettings, 'pts' => int];

Or, if you're into Lua:

dialogChannel={_='dialogChannel', peer=Peer, top_message=int, top_important_message=int, read_inbox_max_id=int, unread_count=int, unread_important_count=int, notify_settings=PeerNotifySettings, pts=int}