MessagesDeleteChat.deserialize constructor
MessagesDeleteChat.deserialize(
- BinaryReader reader
Deserialize.
Implementation
factory MessagesDeleteChat.deserialize(BinaryReader reader) {
// Read [MessagesDeleteChat] fields.
final chatId = reader.readInt64();
// Construct [MessagesDeleteChat] object.
final returnValue = MessagesDeleteChat(
chatId: chatId,
);
// Now return the deserialized [MessagesDeleteChat].
return returnValue;
}