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,
chats: chats,
users: users,
);
// Now return the deserialized [MessagesInactiveChats].
return returnValue;
}