core[tan] Script
180 subscribers
67 photos
7 videos
7 files
107 links
⁣╭───「🔍 Script.Google.com

├──「-1001374226098 」

├ • 🏆 @oneGooglebot

├──「🦾 manage by
├────── @ScriptGoogle

├ • @nguLikJSONbot
├ • @reSharebot
├ • @bawelbot

├──「discussion
├─── @botIndonesia

╰────「🔎 @bot_Indonesia

⁣⁣
Download Telegram
pinChatMessage
Use this method to pin a message in a group, a supergroup, or a channel. The bot must be an administrator in the chat for this to work and must have the 'can_pin_messages' admin right in the supergroup or 'can_edit_messages' admin right in the channel. Returns True on success.

Parameter
chat_id <Integer or String>
message_id <Integer>
disable_notification <Boolean>
User
This object represents a Telegram user or bot.

Variable
id <Integer>
is_bot <Boolean>
first_name <String>
last_name <String>
username <String>
language_code <String>
can_join_groups <Boolean>
can_read_all_group_messages <Boolean>
supports_inline_queries <Boolean>
// -- ID user dan group
if ( /^🆔$/i.exec(msg.text) ){
if (chatt == 'group' || 'supergroup'){
var pesan = "\n\n🆔 <code>"+chats+"</code>"
pesan += "\n└ <b>"+group+"</b>"
pesan += "\n\n🆔 <code>"+userid+"</code>"
pesan += "\n└ <b>"+mention+"</b>";
}
if (chatt == 'private'){
var pesan = "🆔 <code>"+userid+"</code>"
pesan += "\n└ <b>"+mention+"</b>"
}
pesan += "\n\n<i>Telegram addict</i>. \n<b>much Telegram</b>, \n<i>much w<b>O</b>w</i>";
var result = sendMsgReplyTag(msg, pesan);
return result;
}
if ( /alam+?[ou]'?ala[iy]ku+m/i.exec(msg.text) ){
var salam = [
"wa`alaikumussalam \n<i>warahmatullahi \nwabarakatuh</i> ..",
"<i>wa</i>'alaikumussalam 😇",
"<i>Wa'alaikumussalam</i> \nWarohmatullah",
"<i>wa</i>'alaikumussalam 🙄",
"<i>wa`alaikumussalam warahmatullahi wabarakatuh</i> 👋🏽"
];
var pesan = tg.util.random(salam);
return sendMsgReplyTag(msg, pesan, 'HTML');
}
atas - dengan Lib v2
bawah - masih Lib v1
restrictChatMember
Use this method to restrict a user in a supergroup. The bot must be an administrator in the supergroup for this to work and must have the appropriate admin rights. Pass True for all permissions to lift restrictions from a user. Returns True on success.

Parameter
chat_id <Integer or String>
user_id <Integer>
permissions <ChatPermissions>
until_date <Integer>
pinChatMessage
Use this method to pin a message in a group, a supergroup, or a channel. The bot must be an administrator in the chat for this to work and must have the 'can_pin_messages' admin right in the supergroup or 'can_edit_messages' admin right in the channel. Returns True on success.

Parameter
chat_id <Integer or String>
message_id <Integer>
disable_notification <Boolean>
unpinChatMessage
Use this method to unpin a message in a group, a supergroup, or a channel. The bot must be an administrator in the chat for this to work and must have the 'can_pin_messages' admin right in the supergroup or 'can_edit_messages' admin right in the channel. Returns True on success.

Parameter
chat_id <Integer or String>
!audio CQACAgQAAxkBAAI6U1-fR6qNHr-PcHzT0DWHeLivenxMAAIysAAC_sf5UNRJGNI9mmbuHgQ
<b>Iwan Fals</b> - <i>Bento</i>
!sticker CAACAgIAAxkBAAI6ol-fUDVjmKFC_3jARs3kUSqic1COAAK_AAM_NfIEDy9bTUo9jM8eBA
!anim CgACAgUAAxkBAAI7ul-fc5EDe-ptGtpFzaXoJUS5Vs24AAIIAAPf4ZBWiMCKLYvojbseBA
<i>everything is temporary</i>.
!sticker CAACAgIAAxkBAAMeX6GWZoHrO0t2_WsyMWXM4qfLu1oAAiQAA8GcYAxIJFq6JQ0ojh4E
!vid BAACAgQAAxkBAAMgX6GW4nc9x0RPlnBdz4WE0NRmarMAAi8IAAJ2beFQnbzUR6y95nAeBA
<b>3: Alif, Lam, Mim</b> (2015)
!vid BAACAgUAAxkBAAOrX6HCDzWRKv-0cHhfRWukITjg6IMAAkoAA4pfaVb85oXnG6IeEx4E
Apakah "<i>kita</i>" sudah <s>mendarat</s> di <b>Bulan</b> ⁉️
Forwarded from 
noPM yak, tetep di grup aja, biar niat awal " belajar bersama " gak batal.

Tak kasih sampel, nanti tinggal ganti data (hasil) pakai data pencarianmu sendiri.

if (msg.inline_query) {
var hasil = [{
'type': 'article',
'id': tg.util.uuID(),
'title': 'Judulnya',
'input_message_content': {
'message_text': "isi pesan yang dikirim ketika hasil pencarian diklik",
'parse_mode': 'html'
},
'reply_markup': {
'inline_keyboard': [[{
'text': "tombol inline",
'url': "http://menuji.artikel/"
}]]
},
'description': "keterangan"
}];
return tg.request("answerInlineQuery", {inline_query_id: msg.inline_query.id, results: JSON.stringify(hasil)});
}


tipe lainnya ada di mari.
Kembangin sendiri yak.

# mohon koreksi, kalo salah 🙏
Forwarded from BotNews
Introducing Bot API 5.0

Support for the football and slot machine animated emoji.
• Run your own Bot API server.
Transfer Bot ownership to another account.
• New options for Webhooks.
• New method copyMessage to send a copy of any mesage.
• Support for Live Locations, including the latest changes.
• Support for Multiple Pinned Messages
• Support for File Albums
• Support for Anonymous Admins.
• Support for ⚽️ and 🎰 animated emoji.
• And much more, read the full changelog here:

https://core.telegram.org/bots/api-changelog#November-4-2020
Forwarded from Telegram News
Our Bot API has reached version 5.0 today, adding the ability to run your own Bot API server or transfer bot ownership to another account, as well as support for all the latest Telegram features.

Read more on @BotNews
Utilities.sleep(1000);
// -- custom chat
if ( /alam+?[ou]'?ala[iy]ku+m/i.exec(msg.text) ){
var acak = [
"wa`alaikumussalam \n<i>warahmatullahi \nwabarakatuh</i> ..",
"<i>wa</i>'alaikumussalam 😇",
"<i>Wa'alaikumussalam</i> \nWarohmatullah",
"<i>wa</i>'alaikumussalam 🙄",
"<i>wa`alaikumussalam warahmatullahi wabarakatuh</i> 👋🏽"
]
var pesan = tg.util.random(acak);
return sendMsgReply(msg, pesan, 'HTML');
}
Forwarded from Deleted Account
!sticker CAACAgIAAxkBAAICWV-j8dWkQcWDQQ4c_4SwfLiS_HceAALnAANWnb0KvuLyhIDGxt4eBA