ChatlistsHideChatlistUpdates.deserialize constructor

ChatlistsHideChatlistUpdates.deserialize(
  1. BinaryReader reader
)

Deserialize.

Implementation

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

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

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