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
we can't host there because of connection error right?
Читать полностью…try pythonanywhere but you must know that free servers is so bad
Читать полностью…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 there a free server to host a Telethon project?
Читать полностью…reaction = types.ReactionCustomEmoji(document_id=5850318530343344059)
await event.client(functions.messages.SendReactionRequest( peer=chat_id,
msg_id=event.id,
reaction=[reaction]))
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.