Layer 220
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

InputInvoice

Gogram Example

// Creating InputInvoiceMessage constructor
obj := &tg.InputInvoiceMessage{
    Peer: &tg.InputPeerUser{UserID: int64(123456789)},
    MsgId: 0,
}