Link Search Menu Expand Document

Constructor: inputInvoiceBusinessBotTransferStars

Back to constructors index

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.

Attributes:

NameTypeRequiredDescription
botUsername, chat ID, Update, Message or InputUserOptionalAlways inputUserSelf.
starslongYesThe number of stars to transfer.

Type: InputInvoice

Example:

$inputInvoiceBusinessBotTransferStars = ['_' => 'inputInvoiceBusinessBotTransferStars', 'bot' => InputUser, 'stars' => long];