getChatThemes method

Future<Result<AccountThemesBase>> getChatThemes({
  1. required int hash,
})

Get Chat Themes.

ID: d638de89.

Implementation

Future<Result<AccountThemesBase>> getChatThemes({
  required int hash,
}) async {
  // Preparing the request.
  final request = AccountGetChatThemes(
    hash: hash,
  );

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

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