copyWith method

PreparedInlineMessage copyWith({
  1. int? inlineQueryId,
  2. InlineQueryResult? result,
  3. TargetChatTypes? chatTypes,
})

Implementation

PreparedInlineMessage copyWith({
  int? inlineQueryId,
  InlineQueryResult? result,
  TargetChatTypes? chatTypes,
}) => PreparedInlineMessage(
  inlineQueryId: inlineQueryId ?? this.inlineQueryId,
  result: result ?? this.result,
  chatTypes: chatTypes ?? this.chatTypes,
);