MessagesInactiveChats.deserialize constructor
MessagesInactiveChats.deserialize(
- BinaryReader reader
Deserialize.
Implementation
factory MessagesInactiveChats.deserialize(BinaryReader reader) {
// Read [MessagesInactiveChats] fields.
final dates = reader.readVectorInt32();
final chats = reader.readVectorObject<ChatBase>();
final users = reader.readVectorObject<UserBase>();
// Construct [MessagesInactiveChats] object.
final returnValue = MessagesInactiveChats(
dates: dates.items,
chats: chats.items,
users: users.items,
);
// Now return the deserialized [MessagesInactiveChats].
return returnValue;
}