Skip to main content
Stack Overflow
  1. About
  2. For Teams
Filter by
Sorted by
Tagged with
1 vote
2 answers
105 views

I'm trying to approve join requests for my private Telegram channel using Telethon. When a user opens a join link to a private channel, Telegram sends their request to the admin panel, where it can be ...
mohali's user avatar
  • 25
0 votes
1 answer
171 views

I am working on a Python script. To call a specific function, I need to read the last message from a Telegram group chat once an hour. The first time I run the script, I don’t get any errors. However, ...
kronos_58's user avatar
0 votes
1 answer
53 views

logger.info("Creating new session using invisible login method...") config = await original_client(functions.help.GetConfigRequest()) dc_id = config.dc_options[0].id # Выберите подходящий ...
2 votes
0 answers
52 views

The code from "X" keeps showing wrong amount of unread messages. I've added a "result" that actually shows a real count of unread messages from Dena account. with TelegramClient(...
0 votes
0 answers
99 views

I'm using Telethon 1.40.0 and python 3.13 to try and download the .tgs file from a CustomEmoji example code: @client.on(events.NewMessage(chats=accepted_chats)) async def handler(event): id1 = ...
Owlzy's user avatar
  • 4,141
0 votes
1 answer
95 views

Python version: 3.13.2 Telethon version: 1.40.0 OS: MacOS 15.5 I am using Telethon and Python, but run into the issue of my event callbacks not running but unable to find out why. My code below: from ...
Ry123's user avatar
  • 64
0 votes
2 answers
201 views

I am trying to get all messages from a supergroup in Telegram with every message's sender name and topic name in a text file using telethon, but I can't find how to get the topic ID from a Message ...
1 vote
1 answer
514 views

I'm writing a function that takes as input the tg session (client), to_user (InputPeer) and gift (the gift we are sending) and sends the corresponding gift to the user to_user from the client account ...
0 votes
0 answers
96 views

I'm trying to track new users joining a Telegram channel (not a group) using the python-telegram-bot library (v20.x). My bot is an admin in the channel, but it doesn't detect new_chat_members events. ...
0 votes
0 answers
34 views

I'm a beginner in Telethon , and I wanna know that Telethon in Python can be used to add users to a telegram group (the public one) which I'm admin there by using a csv file ?
0 votes
0 answers
128 views

I have a python script within a docker container. I mount a folder with .session files as a volume to the container. When I connect to telegram locally, with jupyter, it works perfectly fine: messages ...
0 votes
0 answers
82 views

I'm trying to use the SendMultiMediaRequest function from the Telethon library to send a Telegram message that includes several images and some text. However, the request doesn't work as expected — no ...
-1 votes
1 answer
108 views

I'm using Telethon to log into Telegram accounts and save their sessions. However, when I try to log in with accounts from Myanmar or other sensitive countries, the accounts get instantly deleted ...
0 votes
0 answers
76 views

I'm trying to detect when I react to a message using Telethon. I tried using UpdateMessageReactions inside events.Raw, but it only triggers when someone else reacts to my messages — and only if I've ...
0 votes
0 answers
50 views

I'm making telegram bot using Telethon and I want bot to request users's name (not username or first_name; it's like nickname which user can make by himself). And then bot whill use this name. For ...

15 30 50 per page
1
2 3 4 5
...
88

AltStyle によって変換されたページ (->オリジナル) /