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