copyWith method
UserTypeBot
copyWith({
- bool? canBeEdited,
- bool? canJoinGroups,
- bool? canReadAllGroupMessages,
- bool? isInline,
- String? inlineQueryPlaceholder,
- bool? needLocation,
- bool? canBeAddedToAttachmentMenu,
override
Implementation
@override
UserTypeBot copyWith({
bool? canBeEdited,
bool? canJoinGroups,
bool? canReadAllGroupMessages,
bool? isInline,
String? inlineQueryPlaceholder,
bool? needLocation,
bool? canBeAddedToAttachmentMenu,
}) =>
UserTypeBot(
canBeEdited: canBeEdited ?? this.canBeEdited,
canJoinGroups: canJoinGroups ?? this.canJoinGroups,
canReadAllGroupMessages:
canReadAllGroupMessages ?? this.canReadAllGroupMessages,
isInline: isInline ?? this.isInline,
inlineQueryPlaceholder:
inlineQueryPlaceholder ?? this.inlineQueryPlaceholder,
needLocation: needLocation ?? this.needLocation,
canBeAddedToAttachmentMenu:
canBeAddedToAttachmentMenu ?? this.canBeAddedToAttachmentMenu,
);