copyWith method

EditInlineMessageMedia copyWith({
  1. String? inlineMessageId,
  2. ReplyMarkup? replyMarkup,
  3. InputMessageContent? inputMessageContent,
})

Implementation

EditInlineMessageMedia copyWith({
  String? inlineMessageId,
  ReplyMarkup? replyMarkup,
  InputMessageContent? inputMessageContent,
}) =>
    EditInlineMessageMedia(
      inlineMessageId: inlineMessageId ?? this.inlineMessageId,
      replyMarkup: replyMarkup ?? this.replyMarkup,
      inputMessageContent: inputMessageContent ?? this.inputMessageContent,
    );