messages.getPeerDialogs #

Get dialog info of specified peers

Layer 223

messages.peerDialogs#3371c354 dialogs:Vector<Dialog> messages:Vector<Message> chats:Vector<Chat> users:Vector<User> state:updates.State = messages.PeerDialogs;
---functions---
messages.getPeerDialogs#e470bcfd peers:Vector<InputDialogPeer> = messages.PeerDialogs;

Parameters #

NameTypeDescription
peersVector<InputDialogPeer>Peers

Result #

messages.PeerDialogs

Only users can use this method #

Possible errors #

CodeTypeDescription
400CHANNEL_INVALIDThe provided channel is invalid.
406CHANNEL_PRIVATEYou haven't joined this channel/supergroup.
400FROZEN_PARTICIPANT_MISSINGThe current account is frozen, and cannot access the specified peer.
400INPUT_PEERS_EMPTYThe specified peer array is empty.
400MSG_ID_INVALIDInvalid message ID provided.
400PEER_ID_INVALIDThe provided peer id is invalid.

User Authorization #

How to register a user's phone to start using the API.