os
api_id = 25950153
api_hash = "cc3ce5fdb21ef5944c8bc379e0307477"
client = TelegramClient('session_name', api_id, api_hash)
client.start()
protocol = types.PhoneCallProtocol(
min_layer=95,
max_layer=105,
library_versions=['some string here'],
udp_p2p=True,
udp_reflector=True
)
client(AcceptCallRequest(
peer="",
g_b = os.urandom(256 // 8),
protocol=protocol
))
client.run_until_disconnected()
what should i fill peer with and also is there any errors in the code ?
just use a tgcalls library
Обсуждают сегодня