Official Telethon's chat! Rules: • Speak English • Stay on topic (questions about Telethon) • Be respectful • Don't ask to ask • Spam-related uses lead to ban • Read https://docs.telethon.dev before asking things here Read more about us @TelethonUpdates
If I don't have telegram premium, will it still give
Error: Invalid reaction provided (only emoji are allowed) (caused by SendReactionRequest)
while reacting to a message.. reacting using custom emoji, like you
Читать полностью…depends on the chat type, in channels and supergroups, event.sender is guaranteed by server, so get_sender doesn't do network call, for private messages, only uncached users in short updates need reloading the message. it otherwise uses GetUsers which doesn't flood easily
Читать полностью…is using get_sender() 200 times per 3 seconds can cause limits for users?
Читать полностью…can you tell me how to use custom emoji using emoji id
Читать полностью…that error has nothing to do with restriction, the message or chat doesn't support that reaction
and everything has a limit
Actually if were to try to like more than 50 messages within one minute, telegram restrict me
I get weird errors like InvalidEmoji, even though it used the same emoji two minutes ago to like my message
Is it possible to find out via teleton whether you have been blocked?
Читать полностью…I get ValueError: Request payload is too big when sending a 3 minutes voice message.
But with small voice messages It works.
How should I send the voice message? I should use another way?
File "/home/debian/.local/lib/python3.9/site-packages/telethon/client/updates.py", line 570, in _dispatch_updateЧитать полностью…
await callback(event)
File "/home/debian/mybots/imports/config.py", line 226, in wrapper
return await func(event, *args, **kwargs)
File "/home/debian/mybots/userbot.py", line 1310, in ask_ia
voice_message = await client.send_file('me', file="voice.ogg", attributes=[types.DocumentAttributeAudio(int(repliedMsg.video.attributes[0].duration), voice=True, waveform=waveform)])
File "/home/debian/.local/lib/python3.9/site-packages/telethon/client/uploads.py", line 453, in send_file
return self._get_response_message(request, await self(request), entity)
File "/home/debian/.local/lib/python3.9/site-packages/telethon/client/users.py", line 30, in __call__
return await self._call(self._sender, request, ordered=ordered)
File "/home/debian/.local/lib/python3.9/site-packages/telethon/client/users.py", line 87, in _call
result = await future
ValueError: Request payload is too big
Put code with space 0 0 0 0 0 like this still error then it is issue with phone code hash
Читать полностью…Does anyone know what saved, unsaved, unique and difference in GetSavedStarGiftsRequest are?
Читать полностью…set https://pastebin.com/8SHGSZTg
to client.parse_mode
like that in
wiki
Hi and welcome to the group. Before asking any questions, please read the rules from the group's description, and don't forget to read the docs. Make sure you are using the latest version with pip3 install -U telethon
, since most problems have already been fixed in newer versions.
/channel/TelethonChat/641384, confirm what waveform length is
Читать полностью…visible or invisible in profile
the other is obvious
How to get session string through telegram, not on the terminal. I tried, but I'm getting that the code is expired.
The confirmation code has expired (caused by SignInRequest
and you know software that registers, there are such, and even recover codes by mail.
Читать полностью…If i want to mention the chat Id along with this, how do I do it?
Читать полностью…