Layer 220
InputInvoiceMessage
An invoice contained in a message Media Invoice message or paid media.
constructor
inputInvoiceMessage#c5b56859 peer:InputPeer msg_id:int = InputInvoice;
Parameters
| Name | Type | Description |
|---|---|---|
| Peer | InputPeer | Chat where the invoice/paid media was sent |
| MsgId | int | Message ID |
Returns
InputInvoiceGogram Example
// Creating InputInvoiceMessage constructor obj := &tg.InputInvoiceMessage{ Peer: &tg.InputPeerUser{UserID: int64(123456789)}, MsgId: 0, }