BotCommandScopePeer.deserialize constructor
BotCommandScopePeer.deserialize(
- BinaryReader reader
Deserialize.
Implementation
factory BotCommandScopePeer.deserialize(BinaryReader reader) {
// Read [BotCommandScopePeer] fields.
final peer = reader.readObject() as InputPeerBase;
// Construct [BotCommandScopePeer] object.
final returnValue = BotCommandScopePeer(peer: peer);
// Now return the deserialized [BotCommandScopePeer].
return returnValue;
}