Category "telegram-bot"

'TeleBot' object has no attribute 'message_handler'

When I run the code below the following error message is displayed: 'TeleBot' object has no attribute 'message_handler'. import telebot from telebot import type

How to fix SocketException while connecting to Telegram Bot API in Java App

I'm working on my Telegram bot. I know, in my countries Telegram is locked, so I decide to connect to Telegram Bot API through proxy. When I try to run this cod

Is there a way to get the number of people that joined through a specific invite link with Telegram API?

In the Telegram app, you can see what members joined from which specific invite link. I would like to access that information through Telegram API. However, I c

my.telegram.org sends an ERROR when I want to create an API id/hash in API development tools section

I'm trying to get my API id/hash to create some bots for telegram , but in the API developmen tools section , when I enter my bot informations( name , shortname

Where do I insert the code for the telegram login widget?

I want to use the telegram login widget shown in this page https://core.telegram.org/widgets/login and the instructions ask to embed this code onto my website:

How to send message followed by start to a bot by link using telethon?

I want to interact with a bot which takes chat id and message id and replies based on the message of that chat id. Usually I interact with the bot in a group ch

Nodejs Telegram Bot: sendChatAction while waiting for network call

I am writing a Telegram bot using the Telegraf framework in Nodejs, and would like to display the 'bot is typing...' banner while the bot is performing a networ

How do i save the authentication with puppeteer?

I need to talk to a telegram bot, with my web app. So i decided to do a web scrapping, i do not know if its the best strategy. When i try to access the telegram

Telegram-bot replies to messages from specific user in group chat (aiogram)

I want my bot to reply to a certain person in chat every time he writes (in fact every 2 hrs, like regular cuddling) e.g. User1: Good morning everyone User2:

How do you remove reply keyboard without sending a message in Telegram?

In Telegram bot you can send a message with the reply keyboard using the sendMessage method. The keyboard is getting displayed instead of normal qwerty one. W

How to use FLow XO and API.ai together in one bot

I have a question. Is it possible to use both flowXO and API.ai together and single-time in one bot? If so, how to implement it?

Java Telegram Bot to Convert Celsius to Fahrenheit?

I am trying to have a Telegram Bot respond to a user's input and convert C to F (and vice versa). At the simplest level this is a breakdown of what I would like

Weird thing with telegram bot api, can't change title of audio

Some weird thing with telegram api. I am trying to send audio from telegram bot and by the way to change performer and title, but I can't. First of all I thoght

What's the right cmake command to cross-compile for Raspberry Pi from M1 Mac?

My title seems general but I need to compile a project for my Raspberry Pi 3b. I want to use Telegram's Bot API server on it, but it takes a lot of time to comp

TDLib (Telegram Database library) authentication and login example by Bannerets/tdl (Node.js pakage)

I so search about TDLib (Telegram Database library) authentication and login example but can't found any things :(

How to use mtproto telegram api using curl or postman?

I dont want to use python libraries like telethon to interact with telegram MtProto api, instead I want to hit the api directly with http-request like curl or v

How to create a link to contact specific phone number via Telegram?

So I found out I could use a link like this in HTML: <a href="https://api.whatsapp.com/send?phone={{phone_number}}" target="_blank">WhatsApp</a>

aiogram bot stops answering messages several minutes after the bot was run

I am new to aiogram and I have a problem: several minutes after running a bot my bot stops reacting to the messages. Is it because of the problems in my code, o

Clear "pending_update_count" in Telegram Bot

I want to clear all pending_update_count in my bot! The output of below command : https://api.telegram.org/botxxxxxxxxxxxxxxxx/getWebhookInfo Obviously I re

Python conflict with keyword "from" in telegram bot

I would like to print user information in Python script using python-telegram-bot referring to this page But when I type print update.message.from keyword .