AccountConfirmBotConnection.deserialize constructor

AccountConfirmBotConnection.deserialize(
  1. BinaryReader reader
)

Deserialize.

Implementation

factory AccountConfirmBotConnection.deserialize(BinaryReader reader) {
  // Read [AccountConfirmBotConnection] fields.
  final botId = reader.readObject() as InputUserBase;

  // Construct [AccountConfirmBotConnection] object.
  final returnValue = AccountConfirmBotConnection(botId: botId);

  // Now return the deserialized [AccountConfirmBotConnection].
  return returnValue;
}