InputInvoiceBusinessBotTransferStars

class pyrogram.raw.types.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 of InputInvoice.

Details:
  • Layer: 223

  • ID: F4997E42

Parameters:
  • bot (InputUser) – Always inputUserSelf.

  • stars (int 64-bit) – The number of stars to transfer.

TL Schema

inputInvoiceBusinessBotTransferStars#f4997e42
bot:InputUser
stars:long

= InputInvoice

Parameter Tree

InputInvoiceBusinessBotTransferStars
├── botInputUser
│ ├── InputUserEmpty
│ ├── InputUserSelf
│ ├── InputUser
│ │ ├── user_idlong
│ │ └── access_hashlong
│ └── InputUserFromMessage
│ ├── peerInputPeer
│ │ ├── InputPeerEmpty
│ │ ├── InputPeerSelf
│ │ ├── InputPeerChat
│ │ ├── InputPeerUser
│ │ ├── InputPeerChannel
│ │ ├── InputPeerUserFromMessage
│ │ └── InputPeerChannelFromMessage
│ ├── msg_idint
│ └── user_idlong
└── starslong

Example

InputInvoiceBusinessBotTransferStars(
    bot=await app.resolve_user(chat_id),
    stars=0,
)