Telegramãã£ã³ãã«ãŸãã¯ã°ã«ãŒããžã®ã¡ãã»ãŒãžéä¿¡
Telegram Botsã䜿çšããŠãã°ã«ãŒãããã£ã³ãã«ããŸãã¯ãã©ã€ããŒããã£ããã«ã¡ãã»ãŒãžãéä¿¡ã§ããŸãããããèªååãšçµã¿åãããããšã§ãã·ã¹ãã ã¹ããŒã¿ã¹ã®æŽæ°ãã€ãã³ãã®ãªãã€ã³ããŒãããŒã ã®æŽæ°ãªã©ãã€ãã³ããçºçããéã«èªåçã«éç¥ãéä¿¡ã§ããŸããããã«ãããTelegramãã©ãããã©ãŒã äžã§ãŠãŒã¶ãŒãæ
å ±ãç¬æã«åãåãããšãã§ããã€ãã³ãã®ç®¡çãè¿
éãªå¯Ÿå¿ã容æã«ãªããŸãããã®ã¬ã€ãã§ã¯ãTelegramãããã®èšå®ãšãTelegramãã£ãããžã®ã¡ãã»ãŒãžéä¿¡ãèªååã¢ã¯ã·ã§ã³ã®èšå®æé ã説æããŸãã
ããã§ã¯ãbika.aiã§ã®Telegramãããã®èšå®æé ã玹ä»ããŸãã
èšå®æé
1. Telegramãããã®äœæ
ãã£ã³ãã«ãŸãã¯ã°ã«ãŒããšå¯Ÿè©±ããã«ã¯ãTelegramããããå¿
èŠã§ãã以äžã¯äœææ¹æ³ã§ãïŒ
- Telegramãéãã@BotFatherãæ€çŽ¢ããŸããå¿
ã@BotFatherã®å
¬åŒããããéžæããŠãã ããã
- éå§ãã¯ãªãã¯ããŸãã
- /newbotãšå
¥åããæ瀺ã«åŸã£ãŠãããã«ååãä»ãããŠããŒã¯ãªãŠãŒã¶ãŒåãèšå®ããŸãã
- BotFatherããæäŸããããããããŒã¯ã³ãã³ããŒããå®å
šã«ä¿ç®¡ããŠãã ããã
泚æ: ã¡ãã»ãŒãžãæçš¿ããã«ã¯ããããããã£ã³ãã«ãŸãã¯ã°ã«ãŒãã®ç®¡çè
ã«ããå¿
èŠããããŸãã管çè
ãšããŠè¿œå ããå¿
èŠãªæš©éããã¹ãŠä»äžããŠãã ããã
2. ãããããã£ã³ãã«ãŸãã¯ã°ã«ãŒãã«è¿œå
ããããã¡ãã»ãŒãžãèªã¿åããæçš¿ã§ããããã«ããã«ã¯ã管çè
ãšããŠèšå®ããå¿
èŠããããŸãïŒ
-
察象ã®ãã£ã³ãã«ãŸãã¯ã°ã«ãŒããéããŸãã
-
å³äžã®äžç¹ã¢ã€ã³ã³ãã¯ãªãã¯ãããã£ã³ãã«ã管çãŸãã¯ã°ã«ãŒãã管çãéžæããŸãã
-
管çè
ã«ç§»åãã管çè
ãè¿œå ãã¯ãªãã¯ããŸãã
-
ãããã®ååãŸãã¯ãŠãŒã¶ãŒåãæ€çŽ¢ãããããéžæããŠç¢ºèªããŸãã
-
æš©éãèšå®ãïŒããã©ã«ãã®æš©éã§éåžžã¯ååã§ãïŒãä¿åããŸãã
3. ãã£ããIDã®ååŸ
bika.aiãä»ããŠã¡ãã»ãŒãžãéä¿¡ããã«ã¯ããã£ããIDãå¿
èŠã§ãããã£ããIDã¯ãã£ã³ãã«ãŸãã¯ã°ã«ãŒãã®ãŠããŒã¯ãªèå¥åã§ãã以äžã¯ååŸæ¹æ³ã§ãïŒ
-
å
¬éãã£ã³ãã«ãŸãã¯ã°ã«ãŒãã®å ŽåïŒ
å
¬éãã£ã³ãã«ã«ã¯ãèªåã§åœåããåºå®ãªã³ã¯ããããŸãïŒäŸïŒt.me/yourChannel
ïŒããªã³ã¯ãéããŠãã£ããIDãèŠã€ããããšãã§ããŸãã
-
äžç¹ã¢ã€ã³ã³ãã¯ãªãã¯ãããã£ã³ãã«æ
å ±ã衚瀺ãéžæããŸãã
-
ãã£ã³ãã«ã®ãªã³ã¯ïŒt.me/yourChannel
ïŒã§ãt.me/
ã®åŸã«ç¶ãéšåããã£ã³ãã«IDã§ããäŸã§ã¯ttt_channel332
ã§ããBikaã®ã¢ã¯ã·ã§ã³èšå®ã§ã¯ã@ttt_channel332
ãšå
¥åããŸãã
-
éå
¬éãã£ã³ãã«ããã³ã°ã«ãŒãã®å ŽåïŒ
éå
¬éãã£ã³ãã«ãã°ã«ãŒãã«ã¯ç°¡åã«ãã£ããIDãèŠã€ããæ¹æ³ããããŸãããç¹å¥ãªæ¹æ³ã§ãã£ããIDãååŸããã«ã¯ãåºæ¬çãªããã°ã©ãã³ã°ç¥èãå¿
èŠã§ãããªã³ã©ã€ã³ã«å€ãã®ãã¥ãŒããªã¢ã«ããããŸãã®ã§ãæ€çŽ¢ããŠè©³çŽ°ã確èªããŠãã ããã
4. èªååãšãã£ã¿ã§ã®èšå®
-
èªååãšãã£ã¿ã§æ°ããã¢ã¯ã·ã§ã³ãè¿œå ããŸãã
-
ã¢ã¯ã·ã§ã³ã¿ã€ããTelegramãã£ããã«ã¡ãã»ãŒãžãéä¿¡ããéžæããŸãã
-
èšå®ã€ã³ã¿ãŒãã§ãŒã¹ã§é¢é£ãã©ã¡ãŒã¿ãå
¥åããŸãã
ãããããŒã¯ã³ïŒãããã®APIããŒã¯ã³ã
ãã£ããIDïŒãã£ã³ãã«ãŸãã¯ã°ã«ãŒãã®ãã£ããIDã
解æã¢ãŒãïŒTelegramãããã¯ãã¬ãŒã³ããã¹ããMarkdownãHTMLã§ã¡ãã»ãŒãžãéä¿¡ããããšããµããŒãããŠããŸããTelegramã®ãã©ãŒããããªãã·ã§ã³ã«åŸã£ãŠã¡ãã»ãŒãžãã©ãŒããããã«ã¹ã¿ãã€ãºã§ããŸãã
MarkdownV2
ïŒTelegramç¹æã®æ¡åŒµãå«ãMarkdownæ§æã®äžéšããµããŒãããŠããŸãã
HTML
ïŒTelegramç¹æã®æ¡åŒµãå«ãããã€ãã®HTMLã¿ã°ããµããŒãããŠããŸãã
ãã¬ãŒã³
ïŒè§£æã¢ãŒããæå®ãããŠããªãå Žåãã¡ãã»ãŒãžã¯ããã©ã«ãã§ãã¬ãŒã³ããã¹ããšããŠéä¿¡ãããŸãã
ã¡ãã»ãŒãžå
容ïŒéä¿¡ããã¡ãã»ãŒãžå
容ãæ§æãæ£ããããšã確èªããŠãã ãããããã§ãªããšãã¡ãã»ãŒãžã®éä¿¡ã倱æããå¯èœæ§ããããŸãã詳现ã¯ãã©ãŒããããªãã·ã§ã³ãåç
§ããŠãã ããã
-
èªååãä¿åããŠæå¹ã«ããŸãã
ãããã®æé ã«åŸãããšã§ãbika.aiã§ã®Telegramãããã䜿çšããã¯ãŒã¯ãããŒã®èªååãšç°¡ç¥åãå¯èœã«ãªããŸãã