FlashCom TPY Codes / Bots
257 subscribers
24 photos
1 video
44 links
This channel helps you to create bots, learn to create bots and to accuire tpy codes.
Discover special giveaways, exclusive free offers given by this channel.

Support @FlashComSupport

Partner : @SiyaBots
Download Telegram
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
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 - /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: /create_QR

TPY:
bot.replyText(u,"*➑️ Enter Your Text To Create QR*",parse_mode="markdown")
Bot.handleNextCommand("/onSuccess")


♻️ Command: /onSuccess

TPY:
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:- /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 !
Forwarded from Cubex Movie
πŸ”₯INTRODUCING INSTAREELZ BOTπŸ”₯

βœͺ You Can Get & Download Unlimited Instagram Reels By Sending Instagram Reels Link !

βœ… Free & Fast
How to Force User To Subscribe Your Channel ❓ ❓

πŸš€ 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 !
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
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
🏁 REDEEM CODE OPTION IN YOUR TBC BOT !

TPY-

CMD -
/make
CODE -


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 - /redeem
CODE -


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 -
/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 -
/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
Next which code?? @dtabse
πŸ”₯ WALLPAPER GENERATOR TPY

🍭 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

TO POST THIS TYPE OF TPY CODES ON YOUR CHANNEL DM ME !βœ“
πŸ“Œ Force Subscriber TPY Code

πŸš€ #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
Tell me which code do you need.

Here -
@dtabse ♨️
Do you need tip code in tpy?
Let me know ;