copyWith method
InternalLinkTypeAttachmentMenuBot
copyWith({
- TargetChat? targetChat,
- String? botUsername,
- String? url,
Implementation
InternalLinkTypeAttachmentMenuBot copyWith({
TargetChat? targetChat,
String? botUsername,
String? url,
}) => InternalLinkTypeAttachmentMenuBot(
targetChat: targetChat ?? this.targetChat,
botUsername: botUsername ?? this.botUsername,
url: url ?? this.url,
);