MessagesGetChats.deserialize constructor

MessagesGetChats.deserialize(
  1. BinaryReader reader
)

Deserialize.

Implementation

factory MessagesGetChats.deserialize(BinaryReader reader) {
  // Read [MessagesGetChats] fields.
  final id = reader.readVectorInt64();

  // Construct [MessagesGetChats] object.
  final returnValue = MessagesGetChats(
    id: id,
  );

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