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