MadelineProto/old_docs/API_docs_v41/constructors/dialogChannel.md

1022 B

title description
dialogChannel dialogChannel attributes, type and example

Constructor: dialogChannel

Back to constructors index

Attributes:

Name Type Required
peer Peer Required
top_message int Required
top_important_message int Required
read_inbox_max_id int Required
unread_count int Required
unread_important_count int Required
notify_settings PeerNotifySettings Required
pts int Required

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