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