Get dialog info of specified peers
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;
Name | Type | Description |
---|---|---|
peers | Vector<InputDialogPeer> | Peers |
Code | Type | Description |
---|---|---|
400 | CHANNEL_INVALID | The provided channel is invalid. |
406 | CHANNEL_PRIVATE | You haven't joined this channel/supergroup. |
400 | FROZEN_PARTICIPANT_MISSING | The current account is frozen, and cannot access the specified peer. |
400 | INPUT_PEERS_EMPTY | The specified peer array is empty. |
400 | MSG_ID_INVALID | Invalid message ID provided. |
400 | PEER_ID_INVALID | The provided peer id is invalid. |
How to register a user's phone to start using the API.