ADVANCED_BOT_CODINGS Telegram 238
Question From @Jicks_YT. How To Send Message To Channel If Bot Is Admin In Channel Else If Bot Is Not Admin In Channel Then It Will Show Bot Is Not Admin In Channel.

=> Command - /Channel

=> Answer - *❇️ Send Channel Link In Which You Want To Post Message.*\n\n⚠️ *Note :* _Bot Should Be Must Admin In Your Channel._

=> Wait For Answer - On

=> BJS =
if(user.telegramid == 1299920908){
Api.getChatMember({
chat_id: message,
user_id: your bot telegram id,
on_result: "/Checking"
})
Bot.setProperty("chnlmsg", message, "string")
}


=> Command - /Checking

=> BJS -
var status = options.result.status
if((!options.ok)|(status != "administrator")){
Bot.sendMessage("*🤷🏻‍♂ Bot Is Not Admin In Your Channel. It Must Should Be A Admin In Channel To Post Message.*")
}else{
Bot.runCommand("/sendMsg")
}


=> Command - /sendMsg

=> Answer - *❇️ Enter Message To Send On Your Channel:*

=> Wait For Answer - On

=> BJS =
if(user.telegramid == 1299920908){
var channel = Bot.getProperty("chnlmsg")
Api.sendMessage({
chat_id: channel,
text: message
})
}


Note - Must Change Your Telegram Id In Code Before Using It.

👨🏻‍💻 Code Developer -
@Shadab_Alam



tgoop.com/Advanced_Bot_Codings/238
Create:
Last Update:

Question From @Jicks_YT. How To Send Message To Channel If Bot Is Admin In Channel Else If Bot Is Not Admin In Channel Then It Will Show Bot Is Not Admin In Channel.

=> Command - /Channel

=> Answer - *❇️ Send Channel Link In Which You Want To Post Message.*\n\n⚠️ *Note :* _Bot Should Be Must Admin In Your Channel._

=> Wait For Answer - On

=> BJS =
if(user.telegramid == 1299920908){
Api.getChatMember({
chat_id: message,
user_id: your bot telegram id,
on_result: "/Checking"
})
Bot.setProperty("chnlmsg", message, "string")
}


=> Command - /Checking

=> BJS -
var status = options.result.status
if((!options.ok)|(status != "administrator")){
Bot.sendMessage("*🤷🏻‍♂ Bot Is Not Admin In Your Channel. It Must Should Be A Admin In Channel To Post Message.*")
}else{
Bot.runCommand("/sendMsg")
}


=> Command - /sendMsg

=> Answer - *❇️ Enter Message To Send On Your Channel:*

=> Wait For Answer - On

=> BJS =
if(user.telegramid == 1299920908){
var channel = Bot.getProperty("chnlmsg")
Api.sendMessage({
chat_id: channel,
text: message
})
}


Note - Must Change Your Telegram Id In Code Before Using It.

👨🏻‍💻 Code Developer -
@Shadab_Alam

BY Advanced Bot Codings™


Share with your friend now:
tgoop.com/Advanced_Bot_Codings/238

View MORE
Open in Telegram


Telegram News

Date: |

bank east asia october 20 kowloon Select: Settings – Manage Channel – Administrators – Add administrator. From your list of subscribers, select the correct user. A new window will appear on the screen. Check the rights you’re willing to give to your administrator. Hui said the messages, which included urging the disruption of airport operations, were attempts to incite followers to make use of poisonous, corrosive or flammable substances to vandalize police vehicles, and also called on others to make weapons to harm police. The initiatives announced by Perekopsky include monitoring the content in groups. According to the executive, posts identified as lacking context or as containing false information will be flagged as a potential source of disinformation. The content is then forwarded to Telegram's fact-checking channels for analysis and subsequent publication of verified information. Telegram Android app: Open the chats list, click the menu icon and select “New Channel.”
from us


Telegram Advanced Bot Codings™
FROM American