ChatlistsGetChatlistUpdates.deserialize constructor

ChatlistsGetChatlistUpdates.deserialize(
  1. BinaryReader reader
)

Deserialize.

Implementation

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

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

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