Layer 220
InputInvoiceBusinessBotTransferStars
Transfer stars from the balance of a user account connected to a business bot, to the balance of the business bot, see here for more info on the full flow.
constructor
inputInvoiceBusinessBotTransferStars#f4997e42 bot:InputUser stars:long = InputInvoice;
Parameters
| Name | Type | Description |
|---|---|---|
| Bot | InputUser | Always input User Self. |
| Stars | long | The number of stars to transfer. |
Returns
InputInvoiceGogram Example
// Creating InputInvoiceBusinessBotTransferStars constructor obj := &tg.InputInvoiceBusinessBotTransferStars{ Bot: &tg.InputUserSelf{}, Stars: int64(0), }