КА
Size: a a a
КА
a
КА
a
a
КА
MM
from telethon.tl.functions.account import UpdateNotifySettingsRequest
from telethon import types
client(UpdateNotifySettingsRequest(
peer='TelethonRussian',
settings=types.InputPeerNotifySettings(
silent=True,
)))
True
𝙰𝙺
𝙰𝙺
MM
a
КА
from telethon.tl.functions.account import UpdateNotifySettingsRequest
from telethon import types
client(UpdateNotifySettingsRequest(
peer='tg_censord',
settings=types.InputPeerNotifySettings(
silent=True,
)))
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/telethon/client/users.py", line 77, in _call
result = await future
telethon.errors.rpcerrorlist.FloodWaitError: A wait of 391 seconds is required (caused by UpdateNotifySettingsRequest)
КА
КА
КА
D
client.send_file(entity=chat, file=file, caption=text)
В file можно путь пихать?КА
D