telethonchat | Unsorted

Telegram-канал telethonchat - Telethon Chat

6095

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

Subscribe to a channel

Telethon Chat

Then how softwares reporting channels work?
If it is not possible

Читать полностью…

Telethon Chat

Hey everyone
I'm trying to develop a bot to report a "channels"
I've read the documentation for these methods, but as you can see, these methods report messages or users.
How can I report a channel

Читать полностью…

Telethon Chat

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.

Читать полностью…

Telethon Chat

Will the problem be fixed with the Telethon update?

Читать полностью…

Telethon Chat

This error has already been fixed in newer versions of the library.

Читать полностью…

Telethon Chat

if you believe telethon is doing something wrong, which is extremely unlikely on such a core method, you can use the raw api getHistory method instead

Читать полностью…

Telethon Chat

if the guy is here: just add database logic to the handler instead of separating it, if you'll hit limits it will be on telethon handler and not on database

Читать полностью…

Telethon Chat

search for python modules

Читать полностью…

Telethon Chat

got a curious problem, lets see if someone knows why: I'm watching a channel for newmessage events, if I paste to the channel it gets the event but if I use send_message most of the times it doesn't catch it

Читать полностью…

Telethon Chat

That is not related to Telethon. Please move to a different group with the correct topic to continue that conversation

Читать полностью…

Telethon Chat

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.

Читать полностью…

Telethon Chat

That's not something about telethon, use any library to interact with Js pages, it's just a usual page. telethon part is calling prolong request and handling certain custom webevents, anything else is offtopic

Читать полностью…

Telethon Chat

Obviously not. it's just a link, you use your own webview implementation to interact with the website

Читать полностью…

Telethon Chat

Like Telegram's own wallet robot key, which when we click, it will show us a website page in the Telegram program itself

Читать полностью…

Telethon Chat

Answer the question. is it a keyboard button webview or inline button one

they have seperate requests, you then get the final url with parameters

Читать полностью…

Telethon Chat

can you do it in the official client? no? then you can't do it in telethon either

Читать полностью…

Telethon Chat

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.

Читать полностью…

Telethon Chat

I have updated Telethon and will let you know if I get the error again, thanks again

Читать полностью…

Telethon Chat

I am using version 1.32.1

Читать полностью…

Telethon Chat

Cannot get difference since the account is likely misusing the session: Could not find a matching Constructor ID for the TLObject that was supposed to be read with ID 904dd49c. See the FAQ for more details. Remaining bytes:


Why am I getting this error? The robot stops automatically after a few minutes and this error appears

Читать полностью…

Telethon Chat

Why does client.get_messages(entity, 1) sometimes receive not the latest message and how can this be fixed?

Читать полностью…

Telethon Chat

New StackOverflow question
Why does my if condition/function does not work properly?

https://stackoverflow.com/q/77602044

Читать полностью…

Telethon Chat

I think you can't interact with webview and telethon as telethon is a telegram API client and not a web scraper, you should use a web scraping library with the link telethon gives you that opens the webview

Читать полностью…

Telethon Chat

I mean, I have a main.py file for my bot written with Telethon, how can I split it into multiple files for ease of editing?

Читать полностью…

Telethon Chat

How to divide the main file into several small files?

Читать полностью…

Telethon Chat

I want to click on the link and then I can click or perform operations on the webview content

Читать полностью…

Telethon Chat

But how can we see the content of the link by code?

Читать полностью…

Telethon Chat

Can I click on the webview content as well?

Читать полностью…

Telethon Chat

anyway. in case of inline button webviews, find the button in message.buttons list of list, you'll get the url there.

use RequestWebView on that url to get final link

Читать полностью…

Telethon Chat

The key is to display the webview

Читать полностью…
Subscribe to a channel