Questions tagged [telegram]

Telegram is a cross-platform cloud-based instant messenger with a focus on security. Use this tag for questions about interacting with Telegram, including use of its official API.

-1
votes
0answers
7 views

Telegram bot that pulls data from API and sends me notification

So, since I'm currently looking to buy a good car, and I'll need some time to gather some money, I want to keep up and monitor good offers. I want to make a Telegram Bot that pulls data from a website ...
0
votes
0answers
17 views

Telegram Login responds with “NOT_AUTHORIZED”

I am trying to use the Telegram Login Widget.I have inserted the following script in my login page:<script async="" src="https://telegram.org/js/telegram-widget.js?4" data-telegram-login="<...
-2
votes
0answers
17 views

How to save pic with caption in telegram bot

I want to save the caption when the pictures are savedMy source code :Please help me for pic and caption save to file txtSource code : Download Source
1
vote
2answers
19 views

How to logged all message from telegram bot?

I have Telegram-bot, which send messages to all users, which have conversation channel with it. How i can get all this bot's messages? Does it have some log functionality? Or on C# API can I create ...
0
votes
1answer
21 views

Reply to multiple users telegram (Message Id) PHP Bot

I have question, When I send a message from my api to several users, the message_id is the same for all users or each chat have a different id?because when I try to send a reply to all my user I get ...
-1
votes
1answer
20 views

Telegram API integration in java add user to supergroup via api

I'm trying to integrate my application with Telegram (web and mobile). the objective is simple and as follows - To ensure user is part of a public supergroup (in which my bot isadded as admin with ...
-1
votes
0answers
13 views

Generate commands list telegram bot

When a user types 'help' I want to reply with a list of possible commands. Unfortunately my code doesn't render the commands as clickable: bot.onText(/\/help/, function(msg) {bot.sendMessage(msg....
0
votes
0answers
15 views

Compiling Telegram Open Source code for IOS tr1/memory file not found error

While compiling telegram open source code downloaded from their official website I am getting following errorhttp://stackoverflow.com/legacy/TL/TLMetaType.h:14:10: 'tr1/memory' file not foundCould anybody please help ...
0
votes
0answers
40 views

Telegram bot first start [duplicate]

I'm doing simple bot for Telegram on Java using Telegram Library for Java. Problem is that on the frist start bot gives error:SEVERE: BOTSESSIONjava.lang.NullPointerExceptionat BotTask....
0
votes
0answers
23 views

Telegram send message failed ,it alert me “”Sorry,you can only send messages to mutual contacts at the moment“”

When I use Telegram, a friend of me and I are in the same group. My friend invites her friend Denis to this group, I can talk with Denis in the group, but when I try to start a secret chat with him, I ...
0
votes
1answer
29 views

Telegram bot doesn't respond to message in group rather replies for the same in personal chat

Telegram bot using node js doesn't reply in the group. When I text it in the group, it replies to me immediately in my personal chat.-The group is a supergroup-The bot is an admin-Privacy setting ...
0
votes
0answers
17 views

Python telegram-bot: Prompt for another input

I have a bot in Python that prompts the user to pick from a list of IDs to change and the idea is that the user will select the ID and then supply the ID they want to change to.Here is my code:def ...
1
vote
0answers
20 views

How I should respond on which command person answer on Telegram Bot?

My bot has some commands, for example: /change_info and /music.When person use '/music' command, bot shows keyboard which offers an option: add music.Person tap "add music", after this, in chat ...
0
votes
0answers
11 views

Telegrambot isnt working, but i followed everything 1:1

from telegram.ext import Updater, CommandHandler, MessageHandler, Filtersdef start(bot, update):update.message.reply_text("I'm a bot, Nice to meet you!")def convert_uppercase(bot, update):...
0
votes
0answers
40 views

Why the ImportContactsRequest (telethon 1.3) method does not add contacts and does not generate an error?

ImportContactsRequest method (telethon 1.3). Adding a new contact by phone number does not work. Is it possible to change this method to another?async def fing():guest_phone_number='+...
0
votes
0answers
48 views

Telegram error 401: USER_DEACTIVATED after registration via telegram-cli

My target is to registrate telegram accounts via python script.While i test registration by hands via telegram-cli (https://github.com/vysheng/tg) after successful registration account get permament ...
0
votes
0answers
31 views

Handle callback from inline keyboard ( telegram bot ) with javascript

I'm creating this telegram bot as a google app (in a spreadsheet) so I can't use any package for nodejs like Telegraph or Telebot.What I need to do is that for each inline button pressed the bot ...
1
vote
0answers
31 views

Firefox: request using firefox console to see the messages

I want to see the messengers'(such as telegram) messages using sending requests in firefox console. Is it possible? And if it is, how can I do it?If it is impossible to see the messages this way, ...
0
votes
0answers
17 views

telegramm bot and pymongo. How do I get the last value sorted by time?

I try to write a telegram bot with the ability to get data from mongodb, I have many documents of the kind:{ "_id" : ObjectId("5ac02101895ff10e40afb698"), "DeviceTime" : ISODate("2018-03-...
0
votes
0answers
23 views

What should I use? Telegram CLI or bot-api to make multiple people not from my contact list join a group in telegram

In internet there such services for increasing quantity of group members in telegram. I wanted to implement this functionality with telegram CLI and faced PeerFloodError with response code 400 from ...
0
votes
0answers
28 views

Telegram Tipbot

I used this tutorial to perform the bot: https://github.com/DigitalCoin1/TipBot_SperoCoinI am having problems with this bot in the / spero_tip and / spero_withdraw functions only.The errors I ...
0
votes
1answer
30 views

Cannot get channel updates with MadelineProto

I have logged into my account as user with Madeline, but when I want to receive channel messages say from @MadelineProto with sample code, I get the following error: Error: Call to a member ...
0
votes
1answer
30 views

AttributeError: module 'telegram' has no attribute 'Bot'

I am using python and getting this error.import telegramtelegram.Bot(token='###############')When I run this, appears: "AttributeError: module 'telegram' has no attribute 'Bot'"Any ideas how ...
0
votes
1answer
31 views

Send Telegram bot messages to a Wordpress REST endpoint?

I'm trying to build a pseudo online chat with a telegram bot on a Wordpress website. I'm noob with Wordpress' REST API and Telegram API, but I thought this was easy.For displaying the messages sent ...
0
votes
1answer
23 views

How to get channel updates with Telegram robot

I have searched over Telegram API and Bot API docs for days and it seems there is no direct way for a robot to get notified when there is a new update in a channel say a News channel, Sports channel, ...
0
votes
0answers
15 views

Getting user mesage text after press button on virtual TelegramBot button in java app

That is my code:public class MyBot extends AbilityBot {private final ResponseHandler responseHandler;protected MyBot(String botToken, String botUsername, DefaultBotOptions options) {...
1
vote
1answer
45 views

PHP telegram bot, sendmessage webhook

I'm writing a telegram robot,This is my code and I want the user receive the message which they send into the bot:telegram.php :<?phpclass telegram {public $token;public function ...
0
votes
0answers
24 views

Implementation TL-Schema for Telegram API with java

I want to implement Telegram API layers with java.I found TL-Schema for Telegram (Layer 71)in this link : https://tjhorner.com/tl-schema/Is there a code-generator automatically TL-Schema to Java ...
0
votes
0answers
66 views

Simple java bot telegram: messages in loop

I'm trying to make simple telegram bot on Java. The question is: how can I receive messages in a loop, when the user typed /start? I have already some @Overridepublic void onUpdateReceived(Update ...
0
votes
0answers
17 views

How to add new Telegram sticker to existing sticker pack using Telegraf

I'm trying to add the sticker to already created sticker pack programmatically using TelegrafJS bot framework. But I get Error: 400: Bad Request: wrong URL host.What I've tried:const Telegram=...

153050per page
angop.ao, elkhabar.com, noa.al, afghanpaper.com, bbc.com, time.com, cdc.gov, nih.gov, xnxx.com, github.com,