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