Layer 220
method Users
messages.getSavedDialogsByID#6f6f9c96 flags:# parent_peer:flags.1?InputPeer ids:Vector<InputPeer> = messages.SavedDialogs;

Parameters

Name Type Description
Flags # Flags, see TL conditional fields
ParentPeer flags.1?InputPeer If set, fetches monoforum topics, otherwise fetches saved message dialogs.
Ids Vector<InputPeer> IDs of dialogs (topics) to fetch.

Gogram Example

// MessagesGetSavedDialogsById - using Params struct
result, err := client.MessagesGetSavedDialogsById(&tg.MessagesGetSavedDialogsByIdParams{
    Ids: []tg.InputPeer{&tg.InputPeerUser{UserID: int64(123456789)}},

    // Optional fields:
    // ParentPeer: &tg.InputPeerUser{UserID: int64(123456789)},
})
if err != nil {
    // handle error
}
// result is *tg.MessagesSavedDialogs