Skip to main content
Filter by
Sorted by
Tagged with
0 votes
1 answer
26 views

I've got a function to download an image from telegram message, it accepts message.media.photo: const downloadPhoto = async (photo, client, name) => { await client.connect(); const file = new ...
k102's user avatar
  • 8,109
3 votes
2 answers
856 views

I created a Telegram bot using the Botfather and got token for that bot. Visiting the following url in browser worked fine to send message on Telegram. https://api.telegram.org/bot<123:Token>/...
toygr's user avatar
  • 159
0 votes
1 answer
142 views

I would like to customize the main menu texts based on the customer language preference, but I have not seen any document about how to create / update the main menu using java. I can create Inline-...
zappee's user avatar
  • 23.2k
0 votes
0 answers
569 views

[Description: Hello, Stack Overflow community! I am developing a Telegram bot using Python with the python-telegram-bot librarythat interacts with a business account to send gifts to users. The ...
user31047982's user avatar
1 vote
1 answer
422 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 ...
morz1k3's user avatar
  • 13
1 vote
1 answer
191 views

I am creating a userbot. I can't figure out how to implement it: when I am offline from Telegram (I exit the app), it automatically changes the name in one way and when I am online in another. I can't ...
Emiliano Ps5's user avatar
0 votes
0 answers
58 views

I'm developing a Telegram bot, and I want to generate clickable user mentions in admin reports. These mentions should: Link to the user's profile Work on all platforms Handle any kind of Telegram ...
Abdurahim Joramurodov's user avatar
0 votes
1 answer
133 views

relayer.py async def send_gift(username, gift_id=config.teddy_id): client = TelegramClient(session_name, api_id, api_hash) client.start(phone=config.phone, password=config.two_factor) ...
Артем Куулар's user avatar
0 votes
0 answers
52 views

I'm using the Telethon library to interact with Telegram's API. Initially, after calling await tel_channel_access(), the client is successfully connected to the server. However, just before running ...
Quokka's user avatar
  • 1
0 votes
0 answers
109 views

I need to receive information about a large number of Telegram numbers, and more specifically: is the number blocked in Telegram or not, is the mail linked. Ideally, I need to track numbers that are ...
user30062161's user avatar
0 votes
0 answers
76 views

I have a method reportMessage: async reportMessage(channelId: string, messageId: number, reason: ReportReason, comment?: string) { let reasonApi: Api.TypeReportReason; switch (reason) { ...
Emmet's user avatar
  • 1
0 votes
1 answer
186 views

I made a Telegram bot with python-telegram-bot library, and I want to test it in a group where it has to interact with many users at the same time. Because I cannot test it only by myself (I have only ...
Satoshi's user avatar
  • 23
0 votes
1 answer
61 views

I am developing a Telegram bot using the Telegram Bot API. The bot is an admin in my Telegram group. I need the members to access messages, interact with the group, and read messages only from one ...
Muluken M's user avatar
0 votes
1 answer
83 views

I want to understand how Pyrogram works. So I tried to get a phone number from the group for educational purposes, similar to what I successfully did with an url. def main(): with app: ...
Vladimir's user avatar
0 votes
0 answers
50 views

I need the help of a Telethon api expert to solve this issue. Here is the working code: from telethon import TelegramClient, events, sync api_id = 123 api_hash = 'abc123456' client = ...
jav feli's user avatar
0 votes
1 answer
110 views

I use the telethon library to send media files. Videos and images work fine through async def send_media(self, chat_id: int): async with self._get_client() as client: chat = await client....
Антон Миндлин's user avatar
1 vote
0 answers
62 views

I am using Nginx as a reverse proxy to forward requests to Telegram Bot API in order to reduce rate-limiting on my server. My Nginx configuration works fine when I only proxy to my local Bot API ...
javad moones's user avatar
2 votes
1 answer
288 views

I'm working on a telegram chatbot that accepts applications, and the application is sent as a chat message to a potential performer. After that, at some point in time, the manager appoints an ...
aiswe's user avatar
  • 45
0 votes
0 answers
52 views

I'm trying to use telethon to get the information of archived folders, I've noticed that in telegram if you delete an archvied chat and create it again it goes to the archive again, so I wanted to ...
Termin's user avatar
  • 406
0 votes
1 answer
266 views

I'm trying to use Telegram Login Widget on Native App made with Ionic. I'm using a InAppBrowser to open the auth page, after the Telegram Verification completes, I get redirected to my redirectUrl ...
dorant dushi's user avatar
0 votes
0 answers
62 views

I am using a Telethon userbot to monitor messages across all chats (groups, channels, etc.) that an account is subscribed to. However, I have encountered two problems: New chats are not tracked after ...
EFERYEG's user avatar
  • 13
0 votes
1 answer
2k views

Telegram MiniAPP shareMessage I see that telegram has added shareMessage and I tried using this method to send a message with an image that I wanted to provide. But I cannot find any examples and I ...
hzzhyj's user avatar
  • 3
0 votes
1 answer
88 views

im trying to write simple bot on C# .net8-0 and im need to press some inline buttons in messages, but im always see error BOT_RESPONSE_TIMEOUT, here is my code bool result = false; if (GetInputPeer(...
Member-28661788's user avatar
0 votes
0 answers
222 views

While creating a telegram bot, I encountered the problem that the bot cannot use file_id of the file which I sent to the bot about 1 day ago. I am using aiogram and I have the similar lines in the ...
Pro_Noob_228's user avatar
0 votes
3 answers
394 views

I have problem with this method in my telegram mini app: https://core.telegram.org/bots/webapps#validating-data-received-via-the-mini-app When client trying to log in into my mini app frontend sends ...
Python Coder's user avatar

1
2 3 4 5
7