AccountGetChannelRestrictedStatusEmojis.deserialize constructor

AccountGetChannelRestrictedStatusEmojis.deserialize(
  1. BinaryReader reader
)

Deserialize.

Implementation

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

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

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