copyWith method
EditQuickReplyMessage
copyWith({
- int? shortcutId,
- int? messageId,
- InputMessageContent? inputMessageContent,
Returns a copy with the given fields replaced. For a nullable
field pass a function, e.g. field: () => null to clear it.
Implementation
EditQuickReplyMessage copyWith({
int? shortcutId,
int? messageId,
InputMessageContent? inputMessageContent,
}) => EditQuickReplyMessage(
shortcutId: shortcutId ?? this.shortcutId,
messageId: messageId ?? this.messageId,
inputMessageContent: inputMessageContent ?? this.inputMessageContent,
);