getSavedDialogsByID method

Future<Result<MessagesSavedDialogsBase>> getSavedDialogsByID({
  1. InputPeerBase? parentPeer,
  2. required List<InputPeerBase> ids,
})

Get Saved Dialogs By I D.

ID: 6f6f9c96.

Implementation

Future<Result<MessagesSavedDialogsBase>> getSavedDialogsByID({
  InputPeerBase? parentPeer,
  required List<InputPeerBase> ids,
}) async {
  // Preparing the request.
  final request = MessagesGetSavedDialogsByID(
    parentPeer: parentPeer,
    ids: ids,
  );

  // Invoke and wait for response.
  final response = await _c.invoke(request);

  // Return the result.
  return response._to<MessagesSavedDialogsBase>();
}