AccountGetAuthorizationForm.deserialize constructor
AccountGetAuthorizationForm.deserialize(
- BinaryReader reader
Deserialize.
Implementation
factory AccountGetAuthorizationForm.deserialize(BinaryReader reader) {
// Read [AccountGetAuthorizationForm] fields.
final botId = reader.readInt64();
final scope = reader.readString();
final publicKey = reader.readString();
// Construct [AccountGetAuthorizationForm] object.
final returnValue = AccountGetAuthorizationForm(
botId: botId,
scope: scope,
publicKey: publicKey,
);
// Now return the deserialized [AccountGetAuthorizationForm].
return returnValue;
}