copyWith method

InternalLinkTypeAttachmentMenuBot copyWith({
  1. TargetChat? targetChat,
  2. String? botUsername,
  3. String? url,
})

Implementation

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