getChatlistUpdates method

Future<Result<ChatlistsChatlistUpdatesBase>> getChatlistUpdates({
  1. required InputChatlistBase chatlist,
})

Get Chatlist Updates.

ID: 89419521.

Implementation

Future<Result<ChatlistsChatlistUpdatesBase>> getChatlistUpdates({
  required InputChatlistBase chatlist,
}) async {
  // Preparing the request.
  final request = ChatlistsGetChatlistUpdates(
    chatlist: chatlist,
  );

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

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