Skip to content

InputInvoiceMessage

Type · TDLib 1.8.67 · d1085f9c

An invoice from a message of the type messageInvoice or paid media purchase from messagePaidMedia

InputInvoiceMessage(
  chat_id: int53,
  message_id: int53
) → InputInvoice

chat_id

int53

Chat identifier of the message

message_id

int53

Message identifier. Use messageProperties.can_be_paid to check whether the message can be used in the method