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