Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Patap
Telegram-tweaks
Commits
c2202f19
Unverified
Commit
c2202f19
authored
Feb 22, 2020
by
Patap
Committed by
GitHub
Feb 22, 2020
Browse files
Update README.md
parent
eac481ec
Changes
1
Hide whitespace changes
Inline
Side-by-side
README.md
View file @
c2202f19
#
Telegram
<h4>
Telegram
</h4>
<code>
https://api.telegram.org/bot[token]/getUpdates
</code>
— где [token] это API который выдал BotFather.
Для отправки сообщения в чат, нужно использовать следующий 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>
<h4>
Telegram X theme
</h4>
color: green/lime/orange/gray
</body2>
**updated:**
10/12/2019
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment