telegram Questions

4

Solved

I'm developing a Telegram bot, and I want to set the webhook to my domain's URL. I've already generated a self-signed certificate following the Telegram's guide. However, I'm not able to set the we...
Waine asked 2/3, 2017 at 11:42

2

Solved

I have a simple python telegram bot, here's the code: import requests import json from time import sleep import os filename = 'bot_last_update' target = open(filename, 'r') update_from_file = tar...
Gwen asked 9/6, 2017 at 3:2

2

Solved

I want to send premium emojis by Telegram bot (I have a premium account and created a bot with it), but when I try to send it (I send emojis to the premium account), unfortunately, the emoji is sen...
Jus asked 13/11, 2022 at 8:0

3

I'm trying to register new app to use the Telegram API, but I'm always getting ERROR message with no tips. I fill the form and click submit and nothing happened: And when click submit I'm getting ...
Aldaaldan asked 23/7, 2021 at 11:12

7

Solved

Apologies if it is a silly question. I am trying telethon for the first time and it fails to synchronize with my telegram API. I get an IP address when I type this code: But I get this message...
Benzine asked 25/1, 2019 at 16:33

6

Solved

As the title says, is it possible to get userid using username? I mean, I would like to add a feature to my bot that tells you the user id from an other user using his username. Does Telegram API g...
Bumblebee asked 5/6, 2016 at 17:9

3

Solved

I'm trying to send an animated GIF with sendPhoto (Telegram's Bot API) with this request: https://api.telegram.org/bot<token>/sendPhoto?chat_id=<chat_id>&photo=http://i.giphy.com/1...
Mesdames asked 15/12, 2016 at 18:51

1

I started using the Telegram Widget API, and it works great, but I couldn't find any info on how to logout an user afterwards. This might be useful if the user decides he wants to use a different t...
Synecdoche asked 22/2, 2018 at 15:33

2

Solved

To How to receive messages in group chats using telegram bot api, I find 2 solutions: Make the bot admin of the group Disable privacy Unfortunately, if I do any of those, the Telegram bot will re...
Inseminate asked 4/5 at 11:6

6

Solved

I am writing a telegram to the bot. I ran into such a problem. I need the bot to send a message (text) when clicked on which it was copied (as a token from @BotFather)
Mahmud asked 13/1, 2020 at 9:40

5

Solved

Sending the output of Prettytable to Telegram This question is a followup to an earlier question. The code which i have is this: import telegram from prettytable import PrettyTable def send_msg(te...
Ensepulcher asked 13/8, 2021 at 7:31

5

Solved

I am quite new in building bots so I created a very simple Telegram bot and it works great but can't figure out how to make the bot send messages every n minutes or n hours when /start_auto command...

4

The only documented way to use Telegram 3-rd party authorization is to use their script that is being provided at https://core.telegram.org/widgets/login This script (as I digged) works in pretty ...
Gorgonzola asked 28/5, 2019 at 18:11

1

When I swipe down in the Telegram web app, the window closes. I found an example of how this was handled in another application: when swiping, an empty space appears, and instead of closing the cur...
Dudden asked 12/1 at 18:34

3

Is this possible to send message to phone number not @username using telegram bot? If answer is No, I have to say I have telegram account without @username and several days ago I got message from ...
Moustache asked 21/12, 2015 at 9:26

6

Solved

Is it possible to check, via an API, whether somebody has deleted the Bot Chat in Telegram? My test : Currently if a user deletes a chat, new messages will not stop sending to user.
Drying asked 8/2, 2016 at 6:32

2

Solved

We are using python API for telegram bots and need to be able to identify the user. Is the chat_id unique for each user connecting the bot? Can we trust the chat_id to be consistent? e.g same ch...

4

Solved

How can I make a bot to pretend that it is typing a message? The following text appears in the chat when the bot pretend to type: I use the python aiogram framework but a suggestion for the na...
Haler asked 30/4, 2020 at 9:42

5

After create telegram bot, access and admin this bot to channel. how to get channel members list or event when users join to this channel?
Melleta asked 12/7, 2016 at 9:7

2

Solved

Recently Telegram added support for Topics in Groups in Bot API version 6.3 and this support added into python-telegram-bot version 13.15 (please find changelog https://docs.python-telegram-bot.org...
Adorl asked 12/12, 2022 at 15:45

5

Solved

I have telegram-bot code on php, and reply messages sending by replyWithMessage method. All command here: $this->replyWithMessage(['text' => $item['title']. "\n\n" . $url]); How can i a...
Berlyn asked 16/6, 2016 at 13:35

3

Solved

I need to read the messages of some public channels in the application, as, for example, happens https://tlgrm.ru/channels/tech. As I understood, the bot for this business will not work. You need t...
Freethinker asked 2/10, 2017 at 12:55

2

I have working url to mp3, and I am trying to send audio to Telegram by this url. It works from time to time, but most of time it gives error "A request to the Telegram API was unsuccessful. The ...

6

I'm using Telegram.Bot library in C# for developing telegram bots. I post a text message using SendTextMessageAsync() method and sent a Keyboard with it : bot.SendTextMessageAsync(chatId, "sample...
Unifilar asked 1/9, 2017 at 7:13

2

Solved

I'm working on telethon download_media and _download_document methods for downloading video from telegram. My code is something like this: def callback(update): Channel_Entity = client.get_entit...
Narcoanalysis asked 5/12, 2017 at 18:7

© 2022 - 2024 — McMap. All rights reserved.