ChatlistsDeleteExportedInvite.deserialize constructor

ChatlistsDeleteExportedInvite.deserialize(
  1. BinaryReader reader
)

Deserialize.

Implementation

factory ChatlistsDeleteExportedInvite.deserialize(BinaryReader reader) {
  // Read [ChatlistsDeleteExportedInvite] fields.
  final chatlist = reader.readObject() as InputChatlistBase;
  final slug = reader.readString();

  // Construct [ChatlistsDeleteExportedInvite] object.
  final returnValue = ChatlistsDeleteExportedInvite(
    chatlist: chatlist,
    slug: slug,
  );

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