MadelineProtoDocs/old_docs/API_docs_v46/constructors/dialogChannel.md
Daniil Gentili f73c175203 Update docs
2018-12-26 01:56:50 +00:00

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

PWRTelegram json-encoded version:

{"_": "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}