
x3233
12.09.2016
07:39:11
updater.dispatcher.add_handler(CommandHandler('start', start))
updater.dispatcher.add_handler(CommandHandler('привет', hello))
старт отвечает
а на привет игнорит

Евгений
12.09.2016
07:39:56

Google

x3233
12.09.2016
07:40:10
вон как(
python-telegram-bot
пойду качну трушный

Евгений
12.09.2016
07:41:16
python-telegram-bot
pip3 install pytelegrambotapi
И можешь брать примеры отсюда
https://www.gitbook.com/book/kondra007/telegram-bot-lessons/details

x3233
12.09.2016
07:43:47
я 'hello' на 'привет' изменил там

Евгений
12.09.2016
07:43:56
Ок ща

x3233
12.09.2016
07:43:59
на инглицкое хело он и мне отвечал)

Евгений
12.09.2016
07:46:03

x3233
12.09.2016
07:46:11
лол)

Евгений
12.09.2016
07:46:33
лол)
Но всё-таки попробуй pyTelegramBotAPI, удобная штука

x3233
12.09.2016
07:46:46
ага, поставил уже, пробую)
спасибо)

Rocket
12.09.2016
09:08:44
Тут спрашивали про банану

Google

Ilya
12.09.2016
09:09:35
Ого

[Anonymous]
12.09.2016
11:08:12
Чет всего много. А для чего распбери?

Плюшка
12.09.2016
11:10:34

[Anonymous]
12.09.2016
11:11:16
Ардуинка?

Плюшка
12.09.2016
11:12:18
banana pi же, если не ошибаюсь

[Anonymous]
12.09.2016
11:13:20
Ну в данном случае меня интересует именно что для чего))

foxy shell
12.09.2016
11:17:16
Есть люди кто с Хероку работали? Я хочу туда бота запустить... Научите пжлста(((((

Денис
12.09.2016
11:19:04

/
12.09.2016
11:19:09

foxy shell
12.09.2016
11:24:24
не особо нужный бот )

/
12.09.2016
11:26:01

Мерлин
12.09.2016
11:47:23

foxy shell
12.09.2016
12:28:02

Плюшка
12.09.2016
12:30:58
https://www.ibm.com/developerworks/ru/library/cl-bluemixfoundry/
https://www.openshift.com/

x3233
12.09.2016
12:31:46
а бот может сервисные сообщения читать?

foxy shell
12.09.2016
12:31:54

Евгений
12.09.2016
12:31:59

Google

foxy shell
12.09.2016
12:31:59
только клиент

Плюшка
12.09.2016
12:32:11
какие сервисные?
типа "юзер вошел в чат" и т.д.?
умеет

Oleg
12.09.2016
12:32:40


Евгений
12.09.2016
12:32:41
как?
https://core.telegram.org/bots/faq#what-messages-will-my-bot-get
Your bot will receive all messages from users in one-on-one chats. Privacy mode only applies to messages in groups (or supergroups).
Privacy mode is always disabled if your bot is an admin in the group.
For supergroups, privacy mode is set to what your bot was using when it joined the group — if you change it later, you'll need to remove the bot and add it again for changes to take effect.
By default, your bot runs in privacy mode and only sees the following messages in groups (or supergroups):
Replies to the bot's own messages (messages sent via a custom keyboard are always a reply to the bot).
Commands from users meant for your bot (e.g. /start@YourBot).
General commands from users (e.g. /start) if your bot was the last bot that sent a message to the group.
Service messages (e.g. when somebody leaves or joins a group, group name or photo changes, etc.).

x3233
12.09.2016
12:32:42

Oleg
12.09.2016
12:33:00

x3233
12.09.2016
12:33:19


Oleg
12.09.2016
12:33:29
telegram.me/durov/2

Rocket
12.09.2016
12:42:01

x3233
12.09.2016
13:06:31
кто с компа сейчас в телеграме?
знаешь как сделать что бот отправлял `такой текст`
слился чувак

Andrew
12.09.2016
13:08:02
не слился

Rocket
12.09.2016
13:08:22
И format=html

x3233
12.09.2016
13:09:32

Плюшка
12.09.2016
13:09:44
parse_mode же

Google

Admin
ERROR: S client not available

x3233
12.09.2016
13:10:08

Ruslan ?
12.09.2016
13:10:13
<pre> - это для блока кода, а если inline, то <code>

Rocket
12.09.2016
13:18:16

/
12.09.2016
14:37:26
https://vc.ru/p/chatbot-platforms

x3233
12.09.2016
18:07:51
Был бот и нет бота
Отвалилось по таймауту и больше не цепляется

foxy shell
12.09.2016
18:09:42

x3233
12.09.2016
18:10:09

Евгений
12.09.2016
18:10:10
Зашибись. Мне Telegram 502 (Bad Gateway) отвечает при попытке поставить вебхук
Опять че-то обновляют

x3233
12.09.2016
18:10:30
Значит массово

Евгений
12.09.2016
18:11:02

Rocket
12.09.2016
18:11:33
Эээм
Нука

x3233
12.09.2016
18:12:22
о
что то новое
s@ya ~ $ clear; python3 '/home/s/Рабочий стол/python/telegram_bots/COC/main.py' [3;J
2016-09-12 23:11:45,865 (__init__.py:220 MainThread) ERROR - TeleBot: "A request to the Telegram API was unsuccessful. The server returned HTTP 502 Bad Gateway. Response body:
[b'<html>\r\n<head><title>502 Bad Gateway</title></head>\r\n<body bgcolor="white">\r\n<center><h1>502 Bad Gateway</h1></center>\r\n<hr><center>nginx/1.10.1</center>\r\n</body>\r\n</html>\r\n']"

Евгений
12.09.2016
18:12:40

Google

Rocket
12.09.2016
18:14:58
У меня пока все работает

x3233
12.09.2016
18:15:38
не pytelegrambotapi ?

Евгений
12.09.2016
18:16:07

x3233
12.09.2016
18:16:33

Евгений
12.09.2016
18:16:52

x3233
12.09.2016
18:17:21
не, до того как начались траблы
я перезапустил и через 5 минут отвалилось все

Rocket
12.09.2016
18:17:58