AccountGetChatThemes.deserialize constructor

AccountGetChatThemes.deserialize(
  1. BinaryReader reader
)

Deserialize.

Implementation

factory AccountGetChatThemes.deserialize(BinaryReader reader) {
  // Read [AccountGetChatThemes] fields.
  final hash = reader.readInt64();

  // Construct [AccountGetChatThemes] object.
  final returnValue = AccountGetChatThemes(
    hash: hash,
  );

  // Now return the deserialized [AccountGetChatThemes].
  return returnValue;
}