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

I have a problem with forwarding messages with caption_entities. Attached below is the code that I use to make the transfer itself, as well as the result of its operation. The result shows that ...
user31645108's user avatar
0 votes
1 answer
44 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
1 vote
0 answers
70 views

I’m testing a simple Pyrogram client and noticed something strange when the session appears in Telegram’s Active Sessions list. Here is my test code: from pyrogram import Client app = Client( &...
Abdurahmon Jome's user avatar
0 votes
0 answers
32 views

I'm facing a confusing and frustrating issue with folder selection for file uploads in a web app running inside Telegram Mini Apps on Android. Folder selection works fine in regular browsers (Chrome ...
Bad_m's user avatar
  • 43
-3 votes
0 answers
52 views

I’m building a chat app using Node.js, Express, MongoDB, and Socket.io. Right now, I load all conversations (around 1,000+) at once, and it’s making the app slow. I want to add pagination to the ...
Aman Dhiman's user avatar
1 vote
2 answers
58 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
1 vote
1 answer
106 views

Below are two scripts. The first one creates a channel, after which it stops working. The second script tries to send a message to this channel, but at the moment of sending, the second script ...
user31645108's user avatar
2 votes
1 answer
106 views

I'm learning Telethon and have encountered some confusing IDE behavior. My asynchronous code to call Telegram API methods works perfectly, but my IDE (PyCharm) shows a warning: Class 'TelegramClient' ...
Misha20062006's user avatar
0 votes
1 answer
68 views

Here's my code. When I run it, it only displays "Sending" and that's it. I don't understand what the problem is.The id passed to the function and the path to the photo have been changed for ...
user31645108's user avatar
2 votes
1 answer
69 views

I have a set of functions written in Pyrogram that make up a user bot that copies media messages from one Telegram channel to another. The problem is that it doesn't copy the media messages in the ...
user31645108's user avatar
0 votes
1 answer
94 views

I want to be scraping only user with username on telegram, can you help make my code better? I'm a novice, my code is scrap, everyone. Can you tell me what I need to modify? Thank you very much.So if ...
maurice mateaux's user avatar
1 vote
0 answers
194 views

I'm writing a webapp bot in Python, Aiogram, and DRF. I've encountered a problem getting the REAL price of gifts in Telegram. The price list on the official marketplace and Telegram's API is far from ...
D3dyvka's user avatar
  • 11
0 votes
0 answers
58 views

I’m trying to use TDLibKit (Swift wrapper for Telegram Database Library) in a SwiftUI project on an Intel Mac. I added TDLibKit via Swift Package Manager, which depends on TDLibFramework. ...
Rodrigo Costa's user avatar
3 votes
2 answers
884 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
2 votes
0 answers
147 views

I am trying to create a Telegram bot using aiogram v3 where users can select multiple products from a list. I want the following behavior: Users see a list of products as inline buttons. When a user ...
bredlik25's user avatar
1 vote
0 answers
124 views

I encountered the link opening problem when I was trying to open a link in asyncronous method (opening as about:blank) axios .get(`https://linkmanurl.vercel.app/api/click/getlink/${encryptedCode}`) ...
Shubham Singhvi's user avatar
1 vote
0 answers
63 views

I’m testing Telegram Payments in a bot built with Aiogram 3.x. Environment: Python 3.11, Aiogram 3.4, provider = Smart Glocal TEST token from BotFather. The invoice shows and the test payment ...
user31301872's user avatar
0 votes
0 answers
142 views

In Telegram docs, https://core.telegram.org/bots/webapps#initializing-mini-apps, To connect your Mini App to the Telegram client, place the script telegram-web-app.js in the <head> tag before ...
Dmitriy's user avatar
1 vote
1 answer
125 views

InlineKeyboardButton with callback_data doesn't work. When I click on it, nothing happens. Here is how I create the button: from django.apps import apps from asgiref.sync import sync_to_async from ...
g_0008's user avatar
  • 11
0 votes
0 answers
75 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,121
0 votes
1 answer
151 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
2 votes
1 answer
155 views

I want to get some previoius messages from chat with Python telegram bot's library. Here is my bot's handler: class BotController: def __init__(self) -> None: self.token = os.getenv(&...
Konstantinos's user avatar
0 votes
1 answer
118 views

I am developing a Telegram business chatbot using n8n for automating replies to users in private messages. Below is some context and the issue I’m struggling with. Background In May 2024, Telegram ...
nowhale's user avatar
0 votes
0 answers
78 views

I'm trying to write a NodeJS script using the telegram library (v2.x) to buy a Telegram Stars gift for my own user account. I can successfully connect, log in, and fetch the list of available gifts ...
Export's user avatar
  • 1
0 votes
0 answers
582 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
63 views

I am using the python-telegram-bot package to develop a Telegram bot. I was wondering if it's possible to access the details of a message that has been replied to from another chat? Broader ...
Obidjon Raimov's user avatar
1 vote
1 answer
433 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
0 answers
66 views

Setup: Telegram bot built with aiogram (Python 3.10) Main bot works via long polling Additional bots (inviters) connect to the main bot Inviters generate invite links to private channels and accept ...
KÖMI's user avatar
  • 11
0 votes
0 answers
134 views

I am building a Telegram Mini App. I want it to open in a half-screen drawer (compact mode), not in full screen. Here’s what I’ve done: Set the Mini App mode to compact using BotFather: BotFather → ...
Rushikesh Phalle's user avatar
1 vote
1 answer
206 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
1 answer
66 views

I'm using the WTelegramClient library in a .NET application to load all my Telegram dialogs and their recent messages. I want to get the avatar (profile picture) of each dialog as a remote Uri, not ...
russian plancton's user avatar
0 votes
0 answers
89 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. ...
AslanPAPA's user avatar
  • 153
0 votes
1 answer
127 views

I am new to using Telegram and I'm trying to validate the hash provided by Telegram's initData for a webapp mini app (not the login widget) in Java, using the steps from the official Telegram ...
eccentricCoder's user avatar
0 votes
0 answers
37 views

On my bot side, I am sending an InlineKeyboardButton with an app router link with couple of parameters webapp_url = f'{base_url}/?param1={rid}&parama2={uid}' I want to be able to open it full ...
SBF's user avatar
  • 357
0 votes
0 answers
63 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
388 views

I am working on a project where I want to send all the reminders due in 3 days from now, but I am facing a problem. I have an error code 400 while sending the message on Telegram (for which I am using ...
Pranay Domal's user avatar
0 votes
1 answer
70 views

I have problem in telegram web app on macOS (Vue js). If i use input with type file, then click and choose nothing - input don't work again. <template> <div> <button @click="...
Archon's user avatar
  • 1
0 votes
0 answers
69 views

According to the FAQ: Bots talking to each other could potentially get stuck in unwelcome loops. To avoid this, we decided that bots will not be able to see messages from other bots regardless of mode....
Tyler Durdun's user avatar
0 votes
0 answers
91 views

I am trying to use the tonconnect ui-react library to connect a wallet to my Telegram webapp project. I did as in this link https://docs.ton.org/v3/guidelines/ton-connect/frameworks/react. When I try ...
Bora185's user avatar
0 votes
0 answers
61 views

I have a Telegram Web App project on Vue3 with the TON wallet connection (@townsquarelabs/ui-vue) When I clicked on the “Connect Wallet” button, a list of available wallets used to appear and ...
temerep's user avatar
0 votes
0 answers
49 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 ...
Лиза Goodbye's user avatar
0 votes
0 answers
96 views

I'm trying to connect to Telegram using Telethon with a SOCKS5 proxy, but I keep getting GeneralProxyError: Socket error: timed out after multiple attempts. The proxy is verified working in online ...
AslanPAPA's user avatar
  • 153
0 votes
0 answers
107 views

Python 3.13.2, pyTelegramBotAPI-4.27.0, Windows 10 I have a problem with Python telebot inline buttons. It worked fine for a long time, without any problems. At some point it stopped to work. I did ...
John Smith's user avatar
0 votes
1 answer
215 views

Utilities.py import aiogram import aiogram.filters import aiogram.types import aiogram.fsm.context import aiogram.fsm.state from aiogram.fsm.storage.redis import RedisStorage import redis.asyncio as ...
yungmaz13's user avatar
  • 148
0 votes
2 answers
361 views

I’m building a Telegram bot using node-telegram-bot-api in Node.js to send transaction notifications on the Solana blockchain. Each transaction message includes a Contract Address (CA), and I want the ...
Martin Wærøe's user avatar
-5 votes
1 answer
98 views

I am working on a bot that echoes the latest YT video title of a specific Youtube Channel to its users. However, it will only echo the video title only if it contains at least one of the user's ...
UnstoppableWil's user avatar
0 votes
0 answers
49 views

In our Telegram WebApp I open an iframe to another website, and it does a top-level redirect after the form is submitted (i.e. it redirects our WebApp URL, not the iframe). I tried using service ...
Daniel Protopopov's user avatar
1 vote
1 answer
274 views

I'm developing a Python application (using PySide6 for the GUI) that interacts with users via Telegram using python-telegram-bot version 13.7. The application runs automated workflows that can take ...
Kingston's user avatar
0 votes
1 answer
103 views

I'm doing different Telegram bots, that can send media to their users. For video files I used this code to store video uploaded by admin: caption = event.message.text or "" file_id = event....
Plem's user avatar
  • 1
2 votes
0 answers
39 views

I'm building a Telegram bot using Aiogram, and I'm encountering a problem where my bot doesn't start when I include the crm_router. However, when I replace it with auto_responder_router, everything ...
Сырым Байгельдинов's user avatar

1
2 3 4 5
124