anyway it's offtopic and comparing between modules is useless just pick one and use it
Читать полностью…Hi, is there any way to check if a user has nft gifts? I found UserStarGifts, but it doesn't contain them
Читать полностью…What can I use to get the rtmps key in a group if the user is a bot or a regular bot administrator, and is it even possible?
Читать полностью…Is there anyone who uses Telegram api client (pyrogram, telethon, madelineproto) for bots? Not local bot api
Читать полностью…id of the saved gift service message you received. in chat with yourself or the gift sender.
Читать полностью…Don't you see this https://github.com/sandy1709/Telethon is forked from another repo, and that's forked from original lonamiwebs repo??
Читать полностью…What error occurs when an account is banned? Class/classes name please.
UserDeactivatedBanError?
for me i see no module better than other modules but in my case i love telethon maybe you love any other module more but this not mean it's better than others (idk about other modules if it's can do anything that bot api can do like telethon or not but i send this as they could)
Читать полностью…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.
Could not find the input entity for PeerUser(user_id=1154431484) (PeerUser). Please read https://docs.telethon.dev/en/stable/concepts/entities.html to find out more details.
Читать полностью…Hello, how do I send an album of photos?
If I have onms saved this way
async def __getimages(self, download_dir: Optional[str] = None):Читать полностью…
download_dir = download_dir or self.result["id"]
os.makedirs(download_dir, exist_ok=True)
tasks = [
self._download_file(url, os.path.join(download_dir, f"image_{i + 1}.jpg"))
for i, url in enumerate(self.result["images"])
]
await asyncio.gather(*tasks)
self.logger.info(f"Images - Downloaded and saved photos to {download_dir}")
return data(
dir_name=download_dir,
media=[
os.path.join(download_dir, f"image_{i + 1}.jpg")
for i in range(len(self.result["images"]))
],
type="images",
)
InputInvoiceStarGiftTransfer(msg_id=, to_id=user_entity)
What i need to pass to msg_id?
from telethon.tl.functions.users import GetFullUserRequest
user = await client.get_entity(int(5541407305))
full = await client(GetFullUserRequest(user))
print(full)
I am sure disabling updates can help, can it be possible by making any changes into the library?
Читать полностью…It is happening because of so much updates during the short period of time, updates are not useful for me how can i disable them, receive_updates=False has no effect
Читать полностью…