😳K
Size: a a a
😳K
NK
from telethon import TelegramClient, events, sync
# These example values won't work. You must get your own api_id and
# api_hash from https://my.telegram.org, under API Development.
api_id = 123
api_hash = '123'
client = TelegramClient('justatestapppython', api_id, api_hash)
print("1")
client.start()
print("2")
print(client.get_me().stringify())
client.send_message('13', 'Hello! Talking to you from Telethon')
client.disconnect()
NK
NK
NK
NK
NK
NK
NK
NK
client.send_message(client.get_entity("apertt"), 'Hello')
NK
NK
print(client.get_me().stringify())
NK
NK
NK
NK
s
from telethon import TelegramClient, events, sync
# These example values won't work. You must get your own api_id and
# api_hash from https://my.telegram.org, under API Development.
api_id = 123
api_hash = '123'
client = TelegramClient('justatestapppython', api_id, api_hash)
print("1")
client.start()
print("2")
print(client.get_me().stringify())
client.send_message('13', 'Hello! Talking to you from Telethon')
client.disconnect()
NK
s
NK