MessagesImportChatInvite.deserialize constructor

MessagesImportChatInvite.deserialize(
  1. BinaryReader reader
)

Deserialize.

Implementation

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

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

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