copyWith method
EditMessageCaption
copyWith({
- int? chatId,
- int? messageId,
- ReplyMarkup? replyMarkup,
- FormattedText? caption,
Implementation
EditMessageCaption copyWith({
int? chatId,
int? messageId,
ReplyMarkup? replyMarkup,
FormattedText? caption,
}) =>
EditMessageCaption(
chatId: chatId ?? this.chatId,
messageId: messageId ?? this.messageId,
replyMarkup: replyMarkup ?? this.replyMarkup,
caption: caption ?? this.caption,
);