AnswerPreCheckoutQuery constructor

const AnswerPreCheckoutQuery(
  1. {required int preCheckoutQueryId,
  2. required String errorMessage}
)

Sets the result of a pre-checkout query; for bots only

Implementation

const AnswerPreCheckoutQuery({
  required this.preCheckoutQueryId,
  required this.errorMessage,
});