ChannelsDeleteTopicHistory.deserialize constructor
ChannelsDeleteTopicHistory.deserialize(
- BinaryReader reader
Deserialize.
Implementation
factory ChannelsDeleteTopicHistory.deserialize(BinaryReader reader) {
// Read [ChannelsDeleteTopicHistory] fields.
final channel = reader.readObject() as InputChannelBase;
final topMsgId = reader.readInt32();
// Construct [ChannelsDeleteTopicHistory] object.
final returnValue = ChannelsDeleteTopicHistory(
channel: channel,
topMsgId: topMsgId,
);
// Now return the deserialized [ChannelsDeleteTopicHistory].
return returnValue;
}