Skip to main content
Filter by
Sorted by
Tagged with
1 vote
1 answer
192 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
73 views

import os from flask import Flask from threading import Thread from telegram import Update from telegram.ext import ( ApplicationBuilder, CommandHandler, ContextTypes, ) import ...
MD Omár's user avatar
1 vote
1 answer
162 views

For Python telegram bot is there a method to accept pending requests for membership in a channel or group? def get_pending_requests(update: Update, context: CallbackContext): try: ...
poria bagheri's user avatar
0 votes
0 answers
38 views

I'm trying to execute a Python Telegram Bot through an Airflow DAG. The DAG works and execute the bot, but it don't do any response to the commands. When I execute the file manually it do the ...
Heli's user avatar
  • 1
0 votes
2 answers
365 views

I'm trying to create a chatbot that will read the number of reactions and send them to me. In the pyTelegramBotAPI documentation, I found the message_reaction_count_handler and ...
LeonardiK's user avatar
2 votes
1 answer
74 views

Can somebody tell me what am I doing wrong? The bot sends me an inline keyboard, but after clicking the button, I do not receive any callbacks (even the logger doesn't send anything). Also, if I pass ...
AndyFlight's user avatar
0 votes
0 answers
688 views

I made a telegram bot integrated with mongodb to handle payments through getting telegram stars from users, but I get the error telebot.apihelper.ApiTelegramException: A request to the Telegram API ...
yo ndk tau's user avatar
0 votes
1 answer
91 views

I'm trying to build telegram bot which forwards msgs from a specific channel to the bot using userBot and then the bot should react automatically to the forwarded msg @client.on(events.NewMessage(...
ANDROID_IOS_BIGGENER's user avatar
-1 votes
1 answer
1k views

I have been trying to create a feature in my telegram mini-app where a user can open a direct chat with another user by clicking on an icon. The methods i have tried dont open up any chat. I have ...
clement's user avatar
0 votes
1 answer
133 views

This is the code: AttributeError: 'NoneType' object has no attribute 'bot' from telegram.ext import CallbackContext from telegram import Bot import os # Initialize your bot with the token from ...
Anthony Sackey's user avatar
0 votes
0 answers
48 views

Im trying to make this script run on telegram which works fine until i send a picture to the bot and it gives me this error. I am trying to run this script: import os import subprocess from telegram ...
WhyIsThere A Cat On My Lettuce's user avatar
-1 votes
1 answer
102 views

Error when creating a telegram bot, when entering the Name/Email/Phone, I ask him to do this again, then he gives me the following error message: <HttpError 400 when requesting https://sheets....
ProgTest Beta's user avatar
-5 votes
2 answers
417 views

i am trying to create a telegram bot and its having issues import os import telebot my_secret = os.environ['Example'] @bot.message_handler(command=['Greet']) def greet(message): bot.reply_to(...
user23525428's user avatar
0 votes
2 answers
599 views

I'm trying to create my first telegram bot with PyTelegrambotApi, but I encountered a weird problem: I get no callback after I press any inline buttons. Nothing happens. According to the documentation ...
Jafes's user avatar
  • 99
0 votes
1 answer
856 views

I use async version of pyTelegramBotApi for a Telegram bot part. I use vk-api for a VK part (not sure if that matters). I have a bot that monitors other social network (Vkontakte) and, on some ...
MeloMan's user avatar
  • 61
0 votes
1 answer
199 views

Working with the bots API. When I try to use /sendmessage function: https://core.telegram.org/bots/api#sendmessage if the text var contains " H" (blank space + H), the message is not sent. ...
Extrange planet's user avatar
0 votes
1 answer
383 views

The code below detects nothing when I click the "like" on the channel. I don't know what's wrong with my code. # pyTelegramBotAPI Version 4.14.1 import telebot from telebot import ...
Kris Xivior's user avatar
0 votes
0 answers
30 views

I am writing a telebot bot that will be able to store songs from the user in the sqlite3 database and display information about the songs. Now the part with the addition of songs is ready. That is, ...
Jademe's user avatar
  • 1
2 votes
1 answer
3k views

Does anyone know if a bot sets the disable_web_page_preview: false in sendMessage method and sends a link as part of a message, can I somehow programmatically disable the preview for a this (one) link?...
Auximen's user avatar
  • 25
1 vote
1 answer
2k views

I need to get all topics for my telegram group using python3 and pyTelegramBotAPI library. How can I do it? Thanks! I can get topic ID during creating. But can't get all topics list. Or may be I dont ...
ars_best's user avatar
0 votes
1 answer
955 views

I've created a telegram bot using telebot or pyTelegramBotAPI and created a command in it that let's users execute a python script from my server the script actually scrapes information from lots of ...
eternalodballl's user avatar
0 votes
1 answer
686 views

I'm making a telegram bot that supposed to ask users for ID and print it out in terminal import telebot from time import sleep bot = telebot.TeleBot('BOT TOKEN') from telebot import types ...
Endmind's user avatar
-1 votes
1 answer
396 views

Can the bot create a group chat after setting a certain command? E.g., a user pushes a button and a new chat is created for him and another user I know that in the previous Telegram APIs bot cannot do ...
Bohdan Yerpkhin's user avatar
0 votes
2 answers
422 views

I want to select all the posts that already exist in a Telegram channel with py-telegram-bot-api and send them somewhere i used get_chat_history but py-telegram-bot-api has no this attribute.
user avatar
0 votes
0 answers
464 views

I really don't get why I have not been able to send inline links through telegram API, any solution? I have previously tried using html inline link format but it's always giving me bad request. What ...
Bolarin Samuel's user avatar

1
2 3 4 5
8