Skip to content

glennfriend/tg-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BOT

  • 使用前環境準備
    • 準備一台有 domain 並且公開的 web server
    • 建立 Telegram bot by @BotFather
    • 產生 SSL key, 不需要經過認證, 但是 "Common Name" 必須同於伺服器名稱

set web-hook example

    curl -F url="https://bot.xxx.com/secret/web-hook.php" \
         -F certificate="@/private/ssl-key/telegram/ca.crt" \
         https://api.telegram.org/bot???:??????/setWebhook

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published