copyWith method

EditInlineMessageCaption copyWith({
  1. String? inlineMessageId,
  2. ReplyMarkup? replyMarkup,
  3. FormattedText? caption,
})

Implementation

EditInlineMessageCaption copyWith({
  String? inlineMessageId,
  ReplyMarkup? replyMarkup,
  FormattedText? caption,
}) => EditInlineMessageCaption(
  inlineMessageId: inlineMessageId ?? this.inlineMessageId,
  replyMarkup: replyMarkup ?? this.replyMarkup,
  caption: caption ?? this.caption,
);