get_call_config()

async Client.get_call_config()

Get phone call VoIP configuration (STUN/TURN server endpoints).

Usable by Users Bots
Returns:

DataJSON – The call configuration JSON.

Example

config = await app.get_call_config()
print(config.data)