getPinnedSavedDialogs method

Future<Result<MessagesSavedDialogsBase>> getPinnedSavedDialogs()

Get Pinned Saved Dialogs.

ID: d63d94e0.

Implementation

Future<Result<MessagesSavedDialogsBase>> getPinnedSavedDialogs() async {
  // Preparing the request.
  final request = MessagesGetPinnedSavedDialogs();

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

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