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:
223ID:
F4997E42
- Parameters:
bot (
InputUser) – Always inputUserSelf.stars (
int64-bit) – The number of stars to transfer.
TL Schema
inputInvoiceBusinessBotTransferStars#f4997e42
bot:InputUser
stars:long
= InputInvoice
Parameter Tree
InputInvoiceBusinessBotTransferStars
├── bot →
InputUser│ ├──
InputUserEmpty│ ├──
InputUserSelf│ ├──
InputUser│ │ ├── user_id →
long│ │ └── access_hash →
long│ └──
InputUserFromMessage│ ├── peer →
InputPeer│ │ ├──
InputPeerEmpty│ │ ├──
InputPeerSelf│ │ ├──
InputPeerChat│ │ ├──
InputPeerUser│ │ ├──
InputPeerChannel│ │ ├──
InputPeerUserFromMessage│ │ └──
InputPeerChannelFromMessage│ ├── msg_id →
int│ └── user_id →
long└── stars →
longExample
InputInvoiceBusinessBotTransferStars(
bot=await app.resolve_user(chat_id),
stars=0,
)