Skip to content

Commit f4ddbbc

Browse files
authored
Telegram doku added
1 parent d4bd075 commit f4ddbbc

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

DOKU.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,3 +44,23 @@ Intendet use:
4444
- Machine learning
4545
- Feed process with varying data
4646

47+
### Connectivity
48+
49+
#### Telegram
50+
<img src="https://github.com/hANSIc99/Pythonic/blob/master/src/Pythonic/public_html/static/Telegram.png" alt="Scheduler">
51+
52+
Use Telegram to send or receive data
53+
This Telegram bot allows you to send or receive messages, pictures or files to or from multiple user which
54+
subscribed to the bot. Talk to the BotFather to get a token, the process is described on [telegram.org](https://core.telegram.org/bots#6-botfather).
55+
56+
On first invocation, the bot is started and an attempt is made to establish a connection to the Telegram server.
57+
If succeeded, the payload of subsequent invocations is forwarded to registered chat Ids.
58+
Use the stop command to disconnect the bot and exit the process.
59+
60+
Bot commands:
61+
62+
`/start` : This command will register the chat id of a user. The chat Ids are saved persistent in *~/Pythonic/executables/chat_ids.obj*
63+
and are automatically loaded on startup. When a certain chat Id cannot be reached anymore it is automatically removed.
64+
65+
`<message>`: Each message is forwarded to subsequent elements within Pythonic.
66+

0 commit comments

Comments
 (0)