Forwarded from GetMart Official Channel (FlashCom Helper)
π’ Small Announcement
π Anyone Finding Api To Run Telegram Bots
Join @TeleApisFree And Find Api's Now ! And Even Suggest Your Own Api To Be Visible In @TeleApisFree Channel
π Anyone Finding Api To Run Telegram Bots
Join @TeleApisFree And Find Api's Now ! And Even Suggest Your Own Api To Be Visible In @TeleApisFree Channel
FlashCom TPY Codes / Bots pinned Β«π’ Small Announcement π Anyone Finding Api To Run Telegram Bots Join @TeleApisFree And Find Api's Now ! And Even Suggest Your Own Api To Be Visible In @TeleApisFree ChannelΒ»
π Send Inline Button and Edit the To The Next Command Once After Clicking Button ?
π Cmd -
π Tpy
π Tpy
β‘οΈError & Support : @FlashComOfficialChat
π Cmd -
/demoInlineπ Tpy
markup = InlineKeyboardMarkup()
markup.add(InlineKeyboardButton(
text='button',
callback_data='callbackrequest')
) #add your inline button with InlineKeyboardButton
bot.replyText(
chat_id = u,
text = "sample InlineKeyboardMakup",
reply_markup = markup
)
π Cmd - callbackrequestπ Tpy
markup = InlineKeyboardMarkup()
markup.add(InlineKeyboardButton(
text='new button',
callback_data='nnexthandler')
)
bot.editMessageText(message_id=message.message_id, text="new text", reply_markup=markup)
β‘οΈOfficial Channel : @FlashComOfficialβ‘οΈError & Support : @FlashComOfficialChat
π3
βοΈ How To Create QR Code
β»οΈ Command:
TPY:
β»οΈ Command:
TPY:
β‘οΈOfficial Channel : @FlashComOfficial
β‘οΈError & Support : @FlashComOfficialChat
β»οΈ Command:
/create_QRTPY:
bot.replyText(u,"*β‘οΈ Enter Your Text To Create QR*",parse_mode="markdown")
Bot.handleNextCommand("/onSuccess")β»οΈ Command:
/onSuccessTPY:
bot.sendPhoto(photo=f"http://chart.apis.google.com/chart?cht=qr&chs=500x500&" +
"chl="+message.text+"&chld=H|0",caption="*π Your QR Code Is Ready!*")β‘οΈOfficial Channel : @FlashComOfficial
β‘οΈError & Support : @FlashComOfficialChat
FlashCom TPY Codes / Bots pinned Β«π Basic Commands π For sending message: bot.sendMessage(text='Text') π For editing message: msg = bot.sendMessage(text='Text') bot.editMessageText(text='New Text',message_id=msg.message_id) π For editing message when click on inline keyboard: bot.edβ¦Β»
βHow To Send Instant Broadcast To Unlimited Users And Get The Statistics (V2)
π§© Command:-
π₯ TPY :-
π§© Command:-
π₯ TPY :-
π£ Official Channel : @flashcomofficial
Β©οΈApi Channel :- @MetaApis
π§© Command:-
/startπ₯ TPY :-
broadcast = Bot.getData("broadcast")
if broadcast == None:
push = []
else:
push = broadcast
check_user = push.count(u)
if check_user > 0:
"""user_exist"""
else:
push.append(u)
Bot.saveData("broadcast", push)π§© Command:-
/broadcastπ₯ TPY :-
bot_token = Bot.info().token
users_list = Bot.getData("broadcast")
parameters = {
'text': '*π Hey bro, it new broadcast api V2.*',
'parse_mode': 'Markdown',
}
headers = {'Content-type': 'application/json'}
data = {
'bot_token': bot_token,
'users_list': users_list,
'method': 'sendMessage',
'parameters': parameters
}
response = HTTP.post(
"https://api.jobians.top/telegram/bulkrequest.php", headers=headers, json=data).json()
bot.replyText(u, bunchify(response))π£ Official Channel : @flashcomofficial
Β©οΈApi Channel :- @MetaApis
π1
Forwarded from GetMart Official Channel (FlashCom Helper)
Dear Channel Members,
Sorry for the inconveniences as per some days we didn't post codes or give any Giveaways of BJ's or Tpy codes yet !
Since I'm having my exams I couldn't post anything !
And also once after the exam is over I will start posting codes !
So please Invite More Users Here !
Sorry for the inconveniences as per some days we didn't post codes or give any Giveaways of BJ's or Tpy codes yet !
Since I'm having my exams I couldn't post anything !
And also once after the exam is over I will start posting codes !
So please Invite More Users Here !
Forwarded from Cubex Movie
π₯INTRODUCING INSTAREELZ BOTπ₯
βͺ You Can Get & Download Unlimited Instagram Reels By Sending Instagram Reels Link !
β Free & Fast
βͺ You Can Get & Download Unlimited Instagram Reels By Sending Instagram Reels Link !
β Free & Fast
How to Force User To Subscribe Your Channel β β
π Command :
π οΈ TPY Code :
π£ Official Channel : @flashcomofficial
π Command :
/youtubeπ οΈ TPY Code :
if params == "Done":
try:
bot.deleteMessage(chat_id=u, message_id= message.message_id)
except:
bot.answerCallbackQuery(call.id,'''π₯²You Have Clicked Too Much On πDone? Click Here''',show_alert=False) #False for alert on top
raise ReturnCommand ()
urlh = "your YouTube channel link"
hi = f"""<a href="{urlh}">Channel</a>"""
if params != "Done":
Text = f"<b>Subscribe To Our {hi}π</b>"
else:
Text = f"<b>You Have Not Subscribed to Our {hi}π</b>"
markup = InlineKeyboardMarkup()
markup.add(InlineKeyboardButton(
text='Subscribe To YT',url='your YouTube channel link'))
markup.add(InlineKeyboardButton(
text='π Done? Click Here',
callback_data='/YouTube Done')) #add your inline button with InlineKeyboardButton
markup.add(InlineKeyboardButton(
text='π\nFor Developer\n Click Here',
url=f'tg://user?id=5797764799'))
bot.replyText(
chat_id = u,
text =Text,
reply_markup = markup
,disable_web_page_preview= True)π£ Official Channel : @flashcomofficial
π2
Forwarded from GetMart Official Channel (FlashCom Helper)
Finding Bots to Use And Make Your Way Easier ?
Join : @QiraOfficial And Find Cool Bots & Use It !
Free & Easy !
Join : @QiraOfficial And Find Cool Bots & Use It !
Free & Easy !
Forwarded from FlashCom - BJS Codes / Bots (FlashCom Helper)
Anyone Here Who Has Bots and Wanted to Make It To Know To Other Users and Want them To Use Your Bot ?
Join to this Channel : @TeleBotsArchive
And Make Your Bot Visible On That Channel !
And Read the Pinned Message in @TeleBotsArchive Channel
Join to this Channel : @TeleBotsArchive
And Make Your Bot Visible On That Channel !
And Read the Pinned Message in @TeleBotsArchive Channel
Forwarded from Cubex Movie
π We have Launched a YouTube Channel
Channel Link : https://youtube.com/@flashcomofficial
Our First Video : https://youtu.be/8bsmctF5C98
Please Subscribe and Like and Share. It is a great help
Channel Link : https://youtube.com/@flashcomofficial
Our First Video : https://youtu.be/8bsmctF5C98
Please Subscribe and Like and Share. It is a great help
π REDEEM CODE OPTION IN YOUR TBC BOT !
TPY-
CMD -
CODE -
CMD -
CODE -
βοΈ TO USE β
MAKE REDEEM CODE USING COMMAND /make
Example -
-
β¨οΈ SURE TO EDIT
βοΈ CREDITS ~
π§βπ» CREATOR - @dtabse
π¨ CODED ON TELEBOT-CREATOR
β οΈ COPYRIGHT BY Β©οΈ@dtabse
TPY-
CMD -
/makeCODE -
if params:
ca = params.split(" ")
if len(ca) >= 2:
amount = ca[0]
code = ca[1]
Bot.saveData("amount", amount)
Bot.saveData("code", code)
Points = "Points"
text = "*β€οΈβπ₯ New Redeem Code Created β€οΈβπ₯\nββββββββββββββββββ\n π Code: *" + code + "\n *π² Amount: " + amount + " " + Points + "\n β
Redeem Fast\nββββββββββββββββββ\n β‘οΈ Redeem Here @" + Bot.info().username + "*"
bot.replyText(chat_id=u, text=text, parse_mode="markdown") #replace chat_id username with your channel username.
bot.sendMessage("Code Successful Created.")
else:
bot.sendMessage("Send Like This: /make [amount] [code]")CMD -
/redeemCODE -
if options is None:
bot.sendMessage("π§§ Please Input Redeem Code")
Bot.handleNextCommand("/redeem", True)
else:
try:
amount = Bot.getData("amount")
code = Bot.getData("code")
user = message.from_user
balance = libs.Resources.userRes("balance")
if code:
if message.text == code:
text = (
"*β€οΈβπ₯ New Code Redeemed β€οΈβπ₯\nββββββββββββββββββ\nπ· Name: " +
user.first_name + "\nπ Code:* " + message.text +
"\n*π²Amount: " + amount + " Points \nββββββββββββββββββ\nβ‘οΈ Active Here @" +
Bot.info().username + "*"
)
# replace chat_id username with your channel username
bot.replyText(chat_id=u, text=text, parse_mode="markdown")
balance.add(amount)
bot.replyText(u, text=f"<b>πCongratulations, Code successfully Redeemed. \n\nβ€οΈβπ₯ " +
amount +
" Points Added to your Balance.</b>")
Bot.deleteData("amount")
Bot.deleteData("code")
else:
bot.sendMessage(
f"<b>β οΈ Invalid Code.</b>")
else:
bot.sendMessage(
f"<b>β οΈ The code is already Redeemed Or Invalid Code.</b>")
except Exception as e:
bot.sendMessage(str(e))βοΈ TO USE β
MAKE REDEEM CODE USING COMMAND /make
Example -
/make [amount] [code]-
/make 10 DEMO-CODE
β¨οΈ SURE TO EDIT
chat_id USERNAME WITH YOUR CHANNEL USERNAME βοΈ CREDITS ~
π§βπ» CREATOR - @dtabse
π¨ CODED ON TELEBOT-CREATOR
β οΈ COPYRIGHT BY Β©οΈ@dtabse
βοΈ BEST RANDOM QUOTES GENERATOR TPY
π CMD -
βοΈ CODE -
βοΈ CREDITS -
π§βπ» CREATOR - @dtabse
β¨οΈ CODED ON TELEBOT-CREATOR
β οΈ COPYRIGHT BY Β©οΈ@dtabse
π CMD -
/quotesβοΈ CODE -
response = HTTP.get("https://api.quotable.io/random")
data = response.json()
content = data["content"]
author = data["author"]
tags = data["tags"]
bot.replyText(u, text=f"<b>βοΈ RANDOM BEST QUOTE GENERATED!\n\nπ QUOTE - </b>" +
content + "\n\n<i><u>~ " + author + "</u></i>\n\n<b>Type - " + ", ".join(tags) + "\n</b>")
βοΈ CREDITS -
π§βπ» CREATOR - @dtabse
β¨οΈ CODED ON TELEBOT-CREATOR
β οΈ COPYRIGHT BY Β©οΈ@dtabse
π¨ RANDOM MEME GENERATOR TBC CODES
βοΈ CMD -
π CODE -
βοΈ CREDITS -
π§βπ» CREATOR - @dtabse
βΈοΈ API BY NEP DEVS
β¨οΈ CODED ON TELEBOT-CREATOR
π NOTE - IN THE CASE OF ANY ERRORS OR API ERROR PLEASE REPORT US
β οΈ COPYRIGHT BY Β©οΈ@dtabse
βοΈ CMD -
/memeπ CODE -
def fetch_random_meme():
response = HTTP.get("https://meme-api.com/gimme")
data = response.json()
title = data["title"]
url = data["url"]
author = data.get("author", "")
image = data["preview"][2]
return title, url, image, author
meme_title, meme_url, meme_image, meme_author = fetch_random_meme()
text = f"*β Title - {meme_title}*\n[ ]({meme_image})\n~ _{meme_author}_"
bot.replyText(chat_id=u, text=text, parse_mode="markdown")
βοΈ CREDITS -
π§βπ» CREATOR - @dtabse
βΈοΈ API BY NEP DEVS
β¨οΈ CODED ON TELEBOT-CREATOR
π NOTE - IN THE CASE OF ANY ERRORS OR API ERROR PLEASE REPORT US
β οΈ COPYRIGHT BY Β©οΈ@dtabse
Forwarded from GetMart Official Channel (yep)
Anyone Who is Pro Coders of BJS ( Bot JavaScript ) And Knows Well on Bots.Business
And Also Pro Coders of TPY and Knows Well on Telebot Creator
Please Make Sure We Need Some Coders To Our Channel To Post Their Codes On Our Channel Tag admin in @flashcomofficialchat Regarding This
Thanks FlashCom Owner
#FlashCoders
And Also Pro Coders of TPY and Knows Well on Telebot Creator
Please Make Sure We Need Some Coders To Our Channel To Post Their Codes On Our Channel Tag admin in @flashcomofficialchat Regarding This
Thanks FlashCom Owner
#FlashCoders
π₯ WALLPAPER GENERATOR TPY
π CMD -
π CODE -
π° CREDITS -
π§βπ» CREATOR - @dtabse
π CODED ON TELEBOTCREATOR
βοΈ API BY SENSUI
β οΈ COPYRIGHT Β©οΈ@dtabse
TO POST THIS TYPE OF TPY CODES ON YOUR CHANNEL DM ME !β
π CMD -
/wallpaperπ CODE -
response = "https://sensui-useless-apis.codersensui.repl.co/api/tools/lorem-picsumV2"
re = HTTP.get(response).json()
rrr = re["imageUrl"]
bot.sendPhoto(photo=rrr)π° CREDITS -
π§βπ» CREATOR - @dtabse
π CODED ON TELEBOTCREATOR
βοΈ API BY SENSUI
β οΈ COPYRIGHT Β©οΈ@dtabse
π Force Subscriber TPY Code
π #1 Command:
π οΈ TPY Code:
π #2 Command:
π οΈ TPY Code:
β οΈ Alert: Replace All
β‘οΈOfficial Channel: @HazexTBC
β‘οΈError & Support: Group Chat
π #1 Command:
*π οΈ TPY Code:
def check():
channels = ["#@Channel"]
for i in channels:
check = bot.getChatMember(str(i), u)
if check.status != 'left':
pass
else:
return False
return True
usernm = f"""<a href="tg://user?id={message.chat.id}">{message.from_user.first_name} {message.from_user.last_name}</a>"""
if message.from_user.last_name == None:
usernm = f"""<a href="tg://user?id={message.chat.id}">{message.from_user.first_name}</a>"""
markup = InlineKeyboardMarkup()
markup.add(InlineKeyboardButton(
text="π’ Joined",
callback_data=f"/joined {u}"))
tim = int(time.time())
until = tim+600
if check() != True:
bot.deleteMessage(chat_id=message.chat.id, message_id= message.message_id)
bot.restrictChatMember(chat_id=message.chat.id, user_id=u,can_send_messages=False, until_date=until)
txt = f"""<b>
π Hello {usernm}, Please Join Our Channel To Send Message in This Group
β€ #@Channel
βοΈ After Joining, Click <code>π’ Joined</code></b>"""
bot.replyText(chat_id=message.chat.id, text =txt, reply_markup=markup)π #2 Command:
/joinedπ οΈ TPY Code:
if params != str(u):
bot.answerCallbackQuery(call.id,'β This Message is Not For You',show_alert=True)
raise ReturnCommand()
def check():
channels = ["#@Channel"]
for i in channels:
check = bot.getChatMember(str(i), u)
if check.status != 'left':
pass
else:
return False
return True
usernm = f"""<a href="tg://user?id={u}">{call.from_user.first_name} {call.from_user.last_name}</a>"""
if call.from_user.last_name == None:
usernm = f"""<a href="tg://user?id={u}">{call.from_user.first_name}</a>"""
if check() == True:
bot.restrictChatMember(chat_id=message.chat.id, user_id=u,can_send_messages=True)
bot.editMessageText(chat_id=message.chat.id, message_id= message.message_id, text=f"<b>π {usernm}, Thanks For Joining Our Channel\n\nπ¬ Now You Can Send Message</b>")
else:
bot.answerCallbackQuery(call.id,'β Must Join Our Channels',show_alert=True)β οΈ Alert: Replace All
#@Channel With Your Channel Username and Must Add Your Bot as Admin in Channel and Groupβ‘οΈOfficial Channel: @HazexTBC
β‘οΈError & Support: Group Chat
π1