mirror of
https://github.com/bohd4nx/FragmentAPI.git
synced 2026-08-01 01:14:51 +00:00
489 B
489 B
Top Up TON
Use this method to send TON to a user's Telegram balance.
Method
await client.topup_ton(
username: str,
amount: int,
show_sender: bool = True,
) -> AdsTopupResult
Parameters
username: recipient Telegram usernameamount: integer from1to1_000_000_000show_sender: controls sender visibility
Important: amount must be an integer in the allowed range.
Return
AdsTopupResult(transaction_id, username, amount)