getInactiveChannels method

Future<Result<MessagesInactiveChatsBase>> getInactiveChannels()

Get Inactive Channels.

ID: 11e831ee.

Implementation

Future<Result<MessagesInactiveChatsBase>> getInactiveChannels() async {
  // Preparing the request.
  final request = ChannelsGetInactiveChannels();

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

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