Questions tagged [Telegram] (1134)

0
answer

Python telegram bot || Can help with the bot, parser?

Hi I need help . I recently wrote a parser bot on Tg and I faced this problem ` When the script parses the newsfeed and sends them to the Tg of the boat , then sent only the text of the news , without reference to the the post where all is written in detail . Utah can fix the problem ? I just tried many times and nothing ca...
london.Quigley asked April 19th 20 at 12:49
3
answers

Send messages Telegram bot without human intervention. How?

Good day! Rummaged half of Internet in search example, but did not understand. Describe bots everywhere who need something to write. However, I have to, I could get from the bot messages at any event. I have written a php script which invokes in his call to the API to third-party service. API gives 10 products. If there i...
alvis_Stark asked April 19th 20 at 12:46
1
answer

How to add button with link Telegram?

Hi. I need to message to add a button-url. How to do it? message_to_telegram function($text) { $ch = curl_init(); curl_setopt_array( $ch, array( CURLOPT_URL => 'https://api.telegram.org/bot' . TELEGRAM_TOKEN . '/sendMessage', CURLOPT_POST => TRUE, CURLOPT_RETURNTRANSFER => TRUE, CURLOPT_TIMEOUT => 10, CUR...
brendon.Muller26 asked April 19th 20 at 12:46
3
answers

Telethon is not working on pythonanywhere?

I want to make a request via telethon host on pythonanywhere. I have an error: Traceback (most recent call last): File "/home/me/text.py", line 13, in client.start() File "/home/me/.local/lib/python3.7/site-packages/telethon/client/auth.py", line 132, in start else self.loop.run_until_complete(coro) Traceback (most rec...
Gladyce.Stracke asked April 19th 20 at 12:45
1
answer

Is it possible to send a message from telegram bot to the user via the phone number, if he has not "had contact" with this bot?

Good time of day. Doing a little bot for local use (reminder-water colors, some household chores, because the head hole, everything falls out). Use the package for Python pyTelegramBotAPI and had a question. I have a web muzzle, where I set up all my reminders/business. Is it possible with this package to find the user tel...
Penelope.Abbott asked April 19th 20 at 12:44
5
answers

What hosting to take, for telegram bot?

Want to create telegrams bot. As I understand it, you need to take the hosting whose servers are not in Russia. Bot I want to do something like using Telegram APi. What would telegram via webhook sent my script query, and I answered. Don't know what hosting to take.
lilian.Kunze asked April 19th 20 at 12:42
0
answer

Anymore notifications from Telegram in OS X, where to dig, what to do?

The essence, at one point, I noticed that on the Mac ceased to appear to receive the notification from TG, from which after a week already burning. You have to constantly look at the phone from whom you came and open the chat. Support TG keeps his Spartan reserve and silence. The most epic is that from viber, votsap and oth...
Price_Predovic asked April 19th 20 at 12:42
1
answer

Why when you click on inline button "start", nothing happens?

import telebot from telebot import types import os username = [] API_TOKEN = " bot = telebot.TeleBot(API_TOKEN) @bot.message_handler(commands=['start']) def send_welcome(message): keyboard1 = types.ReplyKeyboardMarkup(True, True) button_phone = types.Keyboardbutton to(text="Log in" request_contact=True) keyboard1.a...
jerald64 asked April 19th 20 at 12:41
0
answer

Can't send a message after receiving the contact in the telebot. What is the error?

import telebot from telebot import types username = [] API_TOKEN = '1154777357:AAEDqyy1BQXUWuE#CTszbdU' bot = telebot.TeleBot(API_TOKEN) keyboard1 = types.ReplyKeyboardMarkup(True, True) button_phone = types.Keyboardbutton to(text="Log in" request_contact=True) keyboard1.add(button_phone) keyboard = telebot.types.Inli...
Marjolaine_Heidenreich86 asked April 19th 20 at 12:37
3
answers

Like using Inline buttons in the telegram to know the phone number?

I can't figure out how to find a phone number via inline buttons in the telegram.
sylvi asked April 19th 20 at 12:35