copyWith method
UpdateMessageContent
copyWith({
- int? chatId,
- int? messageId,
- MessageContent? newContent,
- dynamic extra,
- int? clientId,
override
Implementation
@override
UpdateMessageContent copyWith({
int? chatId,
int? messageId,
MessageContent? newContent,
dynamic extra,
int? clientId,
}) => UpdateMessageContent(
chatId: chatId ?? this.chatId,
messageId: messageId ?? this.messageId,
newContent: newContent ?? this.newContent,
extra: extra ?? this.extra,
clientId: clientId ?? this.clientId,
);