copyWith method

GetCallbackQueryAnswer copyWith({
  1. int? chatId,
  2. int? messageId,
  3. CallbackQueryPayload? payload,
})

Implementation

GetCallbackQueryAnswer copyWith({
  int? chatId,
  int? messageId,
  CallbackQueryPayload? payload,
}) => GetCallbackQueryAnswer(
  chatId: chatId ?? this.chatId,
  messageId: messageId ?? this.messageId,
  payload: payload ?? this.payload,
);