Skip to content

Telegram Channel ထည့်သွင်းခြင်း

စမလုပ်ခင် လိုအပ်တာတွေ

လိုအပ်ချက်အသုံးပြုရတဲ့အကြောင်း
Telegram accountbot နဲ့ storage channel ဖန်တီးဖို့
@BotFatherTelegram bot ဖန်တီးဖို့
Telegram channelfiles တွေကို သိမ်းမယ့် နောက်ဆုံးနေရာ
@userinfobotchannel Chat ID ရှာဖို့

ဘယ်နေရာမှာ ထည့်မလဲ

  1. System Settings ကိုဖွင့်ပါ။
  2. Upload Settings ကိုသွားပါ။
  3. ညာဘက်အပေါ်ထောင့်က Add Channel ကိုနှိပ်ပါ။
  4. Telegram ကိုရွေးပါ။

Field Reference

FieldအသုံးပြုပုံRequired
Channel nameဒီ channel ကိုမှတ်မိလွယ်စေမယ့်အမည်၊ ဥပမာ Telegram PrimaryRequired
Activeဒီ channel ကို enable/disable လုပ်ရန်။Recommended
Bot TokenTelegram bot ရဲ့ token။Required
Session ID (Chat ID)Telegram channel ရဲ့ ID။Required
Relay Proxy URL (optional)Telegram access မတည်ငြိမ်တဲ့အခါပဲသုံးပါ။ https:// ပါတဲ့ full proxy URL ထည့်ပါ။Optional
Remarkနောက်ပိုင်း maintenance အတွက် မှတ်ချက်။Optional

Setup Steps

1. Telegram Bot ဖန်တီးပါ

  1. Telegram ကိုဖွင့်ပြီး @BotFather ကိုရှာပါ။
  2. chat ကိုဖွင့်ပြီး Start ကိုနှိပ်ပါ။
  3. /newbot ပို့ပါ။
  4. prompt အတိုင်း bot display name ထည့်ပါ။
  5. prompt အတိုင်း bot username ထည့်ပါ။ username က များသောအားဖြင့် bot နဲ့ဆုံးရပါမယ်။
  6. bot ဖန်တီးပြီးရင် @BotFather က bot token ပြန်ပေးပါမယ်။

ဒီ token ကို ImgBed ထဲက Bot Token မှာထည့်ရပါမယ်။

Save the bot token

2. Channel ဖန်တီးပါ

  1. Telegram မှာ New Channel ကိုနှိပ်ပါ။
  2. channel name ထည့်ပါ။
  3. channel ဖန်တီးမှုကိုပြီးအောင်လုပ်ပါ။

public channel နဲ့ private channel နှစ်မျိုးလုံးသုံးနိုင်ပါတယ်။

Create a channel

3. Bot ကို Channel ထဲထည့်ပါ

  1. ဖန်တီးထားတဲ့ channel ကိုဖွင့်ပါ။
  2. channel settings ကိုဖွင့်ပါ။
  3. member သို့မဟုတ် administrator ထည့်တဲ့နေရာကိုဖွင့်ပါ။
  4. ဖန်တီးထားတဲ့ bot username ကိုရှာပါ။
  5. bot ကို channel ထဲထည့်ပါ။

upload ပိုယုံကြည်စိတ်ချရအောင် bot ကို administrator permissions ပေးတာကောင်းပါတယ်။

Invite the bot to the channel

4. User Info - Get ID - IDbot ဖြင့် Channel ID ရယူပါ

  1. Telegram မှာ @userinfobot ကိုရှာပါ။ display name က များသောအားဖြင့် User Info - Get ID - IDbot ဖြစ်ပါတယ်။
  2. chat ကိုဖွင့်ပြီး Start နှိပ်ပါ။
  3. bot ပေးတဲ့ options ထဲက Channel ကိုရွေးပါ။
  4. message picker ထဲမှာ target channel ကိုရွေးပြီး @userinfobot ကိုပို့ပါ။
  5. @userinfobot က result ပြန်ပေးရင် Id: -100... အနေနဲ့ပြထားတဲ့ number ကို copy လုပ်ပါ။

-100 နဲ့စတဲ့ number က ImgBed မှာလိုအပ်တဲ့ Session ID (Chat ID) ဖြစ်ပါတယ်။

Get the channel ID

5. ImgBed မှာ Telegram Channel ဖြည့်ပါ

channel configuration dialog ကိုပြန်သွားပြီး fields တွေကို ဒီလိုဖြည့်ပါ:

UI FieldValue
Channel Identifiercustom channel name၊ ဥပမာ TelegramPrimary
ActiveRecommended။
Bot Token@BotFather ကရတဲ့ bot token။
Session ID (Chat ID)@userinfobot ကပြန်ပေးတဲ့ -100... number။
Relay Proxy URL (optional)လိုအပ်မှသာ၊ ဥပမာ https://your-tg-proxy.example.com
Remarkoptional notes။

ပြီးရင် Save ကိုနှိပ်ပါ။

Edit the configuration

စစ်ဆေးနည်း

Checkစစ်ဆေးပုံ
Channel card appearsSave ပြီးနောက် Upload Settings မှာ Telegram channel card ပေါ်လာရပါမယ်။
Channel can be enabledActive switch က on အနေအထားမှာရှိရပါမယ်။
Configuration is saveddetail view မှာ Bot Token နဲ့ Chat ID သိမ်းထားတာမြင်ရပါမယ်။
Upload workstest image တစ်ခု upload လုပ်ပြီး target Telegram channel ထဲပေါ်လာလားစစ်ပါ။

Quick Checklist

text
@BotFather နဲ့ bot ဖန်တီးပါ
-> Bot Token သိမ်းပါ
-> Telegram channel ဖန်တီးပါ
-> bot ကို channel ထဲထည့်ပြီး administrator permissions ပေးပါ
-> @userinfobot ကိုရှာပြီး Channel ရွေးပါ
-> channel ထဲက message တစ်ခုကို @userinfobot ဆီ forward လုပ်ပါ
-> ပြန်လာတဲ့ Id: -100... ကို copy လုပ်ပါ
-> ImgBed မှာ Bot Token နဲ့ Chat ID ထည့်ပါ
-> Save လုပ်ပြီး test image upload လုပ်ပါ

References

  1. Telegram bots: https://core.telegram.org/bots
  2. Telegram Bot API: https://core.telegram.org/bots/api

Released as user documentation for CloudFlare ImgBed.