s
Size: a a a
s
s
AS
s
РА
ImportError: cannot import name 'InputPeerChannel'
РА
KG
from telethon.tl.types import InputPeerChannel
РА
from telethon.tl.types import InputPeerChannel
NameError: name 'PeerChannel' is not defined
s
InputPeerChat
РА
InputPeerChat
РА
lonami = client.get_entity('lonami')
s
lonami = client.get_entity('lonami')
РА
РА
for message in client.iter_messages(channel):
print(message.id, message.text)
ins = 'INSERT INTO po (post_id, post) VALUES (%s, %s)'
РА
s
s
s
РА