transferBusinessAccountStars¶
Returns: bool
- class litegram.methods.transfer_business_account_stars.TransferBusinessAccountStars(*, business_connection_id: str, star_count: int, **extra_data: Any)[source]¶
Transfers Telegram Stars from the business account balance to the bot’s balance. Requires the can_transfer_stars business bot right. Returns
Trueon success.Source: https://core.telegram.org/bots/api#transferbusinessaccountstars
Usage¶
As bot method¶
result: bool = await bot.transfer_business_account_stars(...)
Method as object¶
Imports:
from litegram.methods.transfer_business_account_stars import TransferBusinessAccountStarsalias:
from litegram.methods import TransferBusinessAccountStars
With specific bot¶
result: bool = await bot(TransferBusinessAccountStars(...))
As reply into Webhook in handler¶
return TransferBusinessAccountStars(...)