copyWith method
BusinessConnectedBot
copyWith({
- int? botUserId,
- BusinessRecipients? recipients,
- BusinessBotRights? rights,
Implementation
BusinessConnectedBot copyWith({
int? botUserId,
BusinessRecipients? recipients,
BusinessBotRights? rights,
}) => BusinessConnectedBot(
botUserId: botUserId ?? this.botUserId,
recipients: recipients ?? this.recipients,
rights: rights ?? this.rights,
);