Skip to content

Message.reply_invoice

bound method · async

Reply to the message with a Telegram Stars invoice. Shortcut for sendInvoice.

Message.reply_invoice(
  title: str,
  amount: int,
  payload: bytes,
  description: str = '',
  subscription_period: int = 0,
  start_parameter: str = '',
  photo_url: str = '',
  photo_size: int = 0,
  photo_width: int = 0,
  photo_height: int = 0,
  recurring_payment_terms_of_service_url: str = '',
  terms_of_service_url: str = '',
  no_reply: bool = False
) → Error | Message

Source: pytdbot/types/bound_methods/message.py