AccountGetBotBusinessConnection.deserialize constructor

AccountGetBotBusinessConnection.deserialize(
  1. BinaryReader reader
)

Deserialize.

Implementation

factory AccountGetBotBusinessConnection.deserialize(BinaryReader reader) {
  // Read [AccountGetBotBusinessConnection] fields.
  final connectionId = reader.readString();

  // Construct [AccountGetBotBusinessConnection] object.
  final returnValue = AccountGetBotBusinessConnection(
    connectionId: connectionId,
  );

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