get_user_ton_wallet_addresses()

async Client.get_user_ton_wallet_addresses()

Get TON wallet addresses of users.

Usable by Users Bots
Parameters:

user_ids (int | str | Iterable of int or str) – Unique identifiers (int) or usernames (str) of the target users. Users without a TON wallet are skipped.

Returns:

List of UserTonWalletAddress – The wallet addresses found.

Example

addresses = await app.get_user_ton_wallet_addresses(["me", "username"])