𝙼
constexpr auto kMaxRestrictDelayDays = 366;В 2020 году пермбан будет работать только год.
_restrictUntilBox->setMaxDate(
QDate::currentDate().addDays(kMaxRestrictDelayDays));
Size: a a a
𝙼
constexpr auto kMaxRestrictDelayDays = 366;В 2020 году пермбан будет работать только год.
_restrictUntilBox->setMaxDate(
QDate::currentDate().addDays(kMaxRestrictDelayDays));
li
𝙼
li
𝙼
MM
𝙼
MM
MM
li
await client.kick_participant(message.chat, 'me')
MM
MM
MM
MM
while True:
await client.kick_participant(message.chat, 'me')
Traceback (most recent call last):
File "/usr/lib/python3.8/site-packages/telethon/client/chats.py", line 1126, in kick_participant
await self(functions.channels.LeaveChannelRequest(entity))
File "/usr/lib/python3.8/site-packages/telethon/client/users.py", line 30, in __call__
return await self._call(self._sender, request, ordered=ordered)
File "/usr/lib/python3.8/site-packages/telethon/client/users.py", line 77, in _call
result = await future
telethon.errors.rpcerrorlist.UserNotParticipantError: The target user is not a member of the specified megagroup or channel (caused by LeaveChannelRequest)
MM
I
𝙼
I