Category "telegram"

Add member to telegram channel

I have been looking for a way to add a number of users to a telegram channel (with users id) for a long time and I didn't find anything. (I'm sure there is such

TeleBot, How to make bot auto reply message after 10mins

TeleBot, how to set it schedule send after user send message to our bot, i want it auto reply to user after 10mins

Telethon give an error when scrap group more than 6K member ('ChannelParticipants' object is not subscriptable)

Telethon give an error when scrap group more than 6K member ('ChannelParticipants' object is not subscriptable) all_participants = [] all_participants = client.

How do I avoid using global variables when writing a Telegram bot

I'm writing a Telegram bot on Python using the python-telegram-bot library. The bot's function is to look up POIs around a given location. I have a Conversation

is it possible to get online incoming messages from users in telegram (not bot)?

I need to get all incoming messages from all possible social media and redirect them in one app, using this protocol https://pusher.com/docs/channels/library_au

Telegram bot: List of telegram bot commands

I can not find how to get a list of commands from a telegram bot. Neither via api nor via external binding. Is it even possible? For example. I created a list o

Trying to handle an error but cannot do it! Telegram

I have made a telegram bot using pyrogram to upload a large video and the the progress bar is shown, however the progress bar is repeatedly edited message with

Do bots have their own Chat IDs?

Do bots have chat_id like user accounts? Where can I find it? I want to use it to send messages to my bot using pyrogram.

How to validate data received via the Telegram's Web App

I'm trying to validate WebApp data but the result is not what I wanted. Telegram documentation: data_check_string = ... secret_key = HMAC_SHA256(<bot_token&g

Telegram bot long polling stops at 50s

I wrote a simple C++ program where I use libcurl to send a HTTP POST request at getUpdates URL with the parameter timeout=3600 but it returns after 50 seconds i

Network errors with Python Telegram Bot

I use a Python Telegram Bot script in Visual Studio Code on my PC, and sometimes i have this error: telegram.ext.dispatcher - ERROR - No error handlers are regi

Telegram Web Bots data validation in JavaScript

I've tried to do user verification script for telegram web app for bots. I have no idea how to fix it. import sha256 from 'js-sha256' const telegram = window.T

Telegram bot and google apps script not working

Good evening everyone, forgive the trouble, I tried to do a "search" on the site but I could not find the answer to my problem so I thought of opening a new dis

How can I send an image with a caption using Telethon in python?

I'm aware I can use this client.send_file(receiver, '/path/to/photo.jpg') to send an image, but how can I attach a caption to the image?

python-telegram-bot stops working after 5 min

I have created a telegram bot that sends screenshots of the browser webpage. I have used python-selenium package in order to connect browser with telegram-bot b

How to make the bot send a random photo to aiogram?

I need to force the telegram bot on aiogram to send a random photo to the chat, how can I do this. Thanks in advance for your reply

unable to create web_app button aiogram

Good afternoon, an update has recently been released in telegram and added web_app buttons. leading to the "site" in the telegram itself, the documentation says

How can I send image with text using telegram bot API?

I'm trying to send a message to telegram using Telegram API bot. I want to make a GET request, that will send both text and image to my telegram channel. Now fe

Telegram Crypto Bot

I have a problem. I'm getting Crypto information from CoinGeckoAPI. Information is not sorted. So I sorted. When I'm running this file with print. It works. But

How can I hide bot from searching in Telegram?

How can I make my bot hidden for search and accessible only via direct link?