ChatlistsGetLeaveChatlistSuggestions.deserialize constructor

ChatlistsGetLeaveChatlistSuggestions.deserialize(
  1. BinaryReader reader
)

Deserialize.

Implementation

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

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

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