MM
Size: a a a
MM
a
a
А
MM
MM
А
А
a
a
MM
А
MM
А
MM
from telethon import functions
result = await client(functions.messages.ExportChatInviteRequest(
peer='TelethonRussian'
))
result.stringify()Traceback (most recent call last):
File "/home/m4xx1m/.local/lib/python3.8/site-packages/telethon/client/users.py", line 30, in __call__
return await self._call(self._sender, request, ordered=ordered)
File "/home/m4xx1m/.local/lib/python3.8/site-packages/telethon/client/users.py", line 77, in _call
result = await future
telethon.errors.rpcerrorlist.ChatAdminRequiredError: Chat admin privileges are required to do that in the specified chat (for example, to send a message in a channel which is not yours), or invalid permissions used for the channel or group (caused by ExportChatInviteRequest)А
MM
А
from telethon import functions
result = await client(functions.messages.ExportChatInviteRequest(
message.chat_id
))
result.stringify()
MM
from telethon import functions
result = await client(functions.messages.ExportChatInviteRequest(
message.chat_id
))
result.stringify()Traceback (most recent call last):
File "/home/m4xx1m/.local/lib/python3.8/site-packages/telethon/client/users.py", line 30, in __call__
return await self._call(self._sender, request, ordered=ordered)
File "/home/m4xx1m/.local/lib/python3.8/site-packages/telethon/client/users.py", line 77, in _call
result = await future
telethon.errors.rpcerrorlist.ChatAdminRequiredError: Chat admin privileges are required to do that in the specified chat (for example, to send a message in a channel which is not yours), or invalid permissions used for the channel or group (caused by ExportChatInviteRequest)