README.md 1.05 KB
Newer Older
Patap's avatar
Patap committed
1
<h4>Telegram</h4>
Patap's avatar
Patap committed
2

Patap's avatar
Patap committed
3
```
Patap's avatar
Patap committed
4
5
https://api.telegram.org/bot[token]/getUpdates 
где [token] это API который выдал BotFather.
Patap's avatar
Patap committed
6
```
Patap's avatar
Patap committed
7
8
9
10
11
12
13
14
15
16
17
18
19

Для отправки сообщения в чат, нужно использовать следующий URL:
<code>https://api.telegram.org/bot[token]/sendMessage?chat_id=[chat_id]&text=[text]</code>
Где:

[token] — это API который выдал @BotFather

[chat_id] — это ID вашего чата с ботом.

Например:

<code>curl -s -X POST https://api.telegram.org/bot944496485:AAEtGaGCVrQ7d26Rc3r_cqXPIhrKVokh8e4/sendMessage -d chat_id=336116180 -d text="текст_сообщения"</code>
<hr>
Patap's avatar
Patap committed
20

Patap's avatar
Patap committed
21
<h4>Telegram X theme</h4>
Patap's avatar
Patap committed
22

Patap's avatar
Patap committed
23
24
25
26
27
🎨 tgx-theme by Ky4eryavii_Pon4o/Patap


[Greeny_Gray.tgx-theme](https://github.com/Ky4eryavii-Pon4o/Telegram-tweaks/blob/master/Greeny_Gray.tgx-theme)

Patap's avatar
Patap committed
28
color: green/lime/orange/gray
Patap's avatar
Patap committed
29

Patap's avatar
Patap committed
30
**updated:** 10/12/2019
Patap's avatar
Patap committed
31

Patap's avatar
Patap committed
32
<hr>
Patap's avatar
Patap committed
33
34
35
telegram: https://t.me/ky4eryaviipon4o

public blog: https://patap.org.ua
Patap's avatar
Patap committed
36

Patap's avatar
Patap committed
37
38
39
40
tech blog: http://grishchuk.com.ua



Patap's avatar
Patap committed
41