Layer 220
method Users
messages.getPeerDialogs#e470bcfd peers:Vector<InputDialogPeer> = messages.PeerDialogs;

Parameters

Name Type Description
Peers Vector<InputDialogPeer> Peers

Possible Errors

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.

Gogram Example

// MessagesGetPeerDialogs - positional arguments
result, err := client.MessagesGetPeerDialogs([]tg.InputDialogPeer{&tg.InputDialogPeer{}})
if err != nil {
    // handle error
}
// result is *tg.MessagesPeerDialogs