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)
Having Issues Regarding Our Channels or Anything Related to what We made ❓

⭐ We have launched a support bot where you can ask questions directly from owner !

Try Using @FlashComSupportBot For Contacting Owner !
πŸ“Œ 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.editMessageText(text='New Text',message_id=message.message_id)

πŸ‘‰ For sending photo:

bot.sendPhoto(photo='link', caption='caption')

πŸ‘‰ For editing caption of photo:

img = bot.sendPhoto(photo='link', caption='caption')
bot.editMessageCaption(caption='new caption',message_id=img.message_id)

πŸ‘‰ For editing caption of photo when click on inline keyboard:

bot.editMessageCaption(caption='new caption',message_id=message.message_id)

πŸ‘‰ For sending document:

bot.sendDocument(document='link', caption='caption')

πŸ‘‰ For sending audio:

bot.sendAudio(audio='link', caption='caption')

πŸ‘‰ For sending video:

bot.sendVideo(video='link', caption='caption')

πŸ‘‰ For sending animation:

bot.sendAnimation(animation='link', caption='caption')

πŸ‘‰ For alert when clicking on inline keyboard:

bot.answerCallbackQuery(call.id,'Text',show_alert=True) #False for alert on top

πŸ‘‰ For sending dice:

bot.sendDice(emoji='🎲')

⚑️Official Channel : @FlashComOfficial

⚑️Error & Support :
@FlashComOfficialChat
πŸ‘2
❓ Which Codes Needed?

Type here
@FlashComOfficialChat
Forwarded from GetMart Official Channel (FlashCom Helper)
πŸ“’ Wanted to Join to Our All Channels & Group

Click Here to Join All Channels & Group At Once

Click The Above Link And Join Now !
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