FlashCom TPY Codes / Bots
258 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
๐Ÿ“ŒPin Message All User After Broadcast โ“

๐ŸŒ Message , Video , Photo , Photo+Message , Audio,Document , Animation Automatic Send All User And Pin In User Chat

๐Ÿš€ Command : /broadcast

๐Ÿ›  TPY Code :
admin = 123  #here set your telegram id
if admin != u:
    raise ReturnCommand()
if options is None:
    bot.replyText(
        u, "<b>๐ŸŽ™ Send Any Message To Broadcast in HTML\n\nTo Cancel: /cancel</>")
    Bot.handleNextCommand("/broadcast", options=True)
    raise ReturnCommand()
else:
    if message.text == "/cancel":
        bot.sendMessage(chat_id=u, text="<b>โœ… Successfully cancel</b>")
        Bot.runCommand("/main")
        raise ReturnCommand()
def broadcast(method, txt, fileId):
    typ = method.lower()
    if method == "Message":
        return f"bot.pinChatMessage(chat_id=u, message_id=bot.sendMessage(chat_id=u,text='{txt}').message_id)"
    elif txt == "None":
        return f"bot.pinChatMessage(chat_id=u, message_id=bot.send{method}(chat_id=u, {typ}='{fileId}').message_id)"
    else:
        return f"bot.pinChatMessage(chat_id=u, message_id=bot.send{method}(chat_id=u, {typ}='{fileId}', caption='{txt}').message_id)"
txt = str(message.caption) if message.caption else str(message.text)
if message.photo:
    code = broadcast("Photo", txt, message.photo[-1].file_id)
elif message.text:
    code = broadcast("Message", txt, None)
elif message.video:
    code = broadcast("Video", txt, message.video.file_id)
elif message.audio:
    code = broadcast("Audio", txt, message.audio.file_id)
elif message.document:
    code = broadcast("Document", txt, message.document.file_id)
elif message.sticker:
    code = broadcast("Sticker", txt, message.sticker.file_id)
elif message.animation:
    code = broadcast("Animation", txt, message.animation.file_id)
else:
    bot.sendMessage(chat_id=u, text="<b>โŒ Wrong File Format!</b>")
    raise ReturnCommand()
url = libs.webhook.getUrlFor("/result", u)
task = Bot.broadcast(code=code, callback_url=url)
Bot.saveData(task, None)
bot.sendMessage(chat_id=u, text="<b>๐Ÿ” Broadcast Processing...</b>")



๐Ÿš€ Command : /result

๐Ÿ›  TPY Code :
try:
    bot.sendMessage(options.json)
except Exception as e:
    bot.replyText(u, e)



๐Ÿ“ฃ Must Change Your Admin Id & Change Main Command,  Put Same Command & Code

โšก๏ธPosted on :
@flashcomtpy
โšก๏ธCredits :
@Ownerioftbc
โšก๏ธError Report :
@flashcomofficialchat
โšก๏ธ Official Channel :
@flashcomofficial
๐Ÿคฎ3๐Ÿ‘2๐ŸŒ2
Forwarded from GetMart Official Channel (FlashCom)
Happy Holi ! ๐ŸŽ‰

May your life be filled with vibrant colors of joy, love, and prosperity. Have a wonderful celebration!

Wishes From,
FlashCom
โค1๐Ÿ‘1
โญ๏ธ Introducing GetMart Website

> We are happy to announce the official website of GetMart where you can install bots via the website even and you can search for bots, install for free without any payments.

Features of GetMart Bot Store - Website

- Create account.
- Install Bots faster.
- Search for bots.
- Many more.
๐Ÿ‘Ž4โค1
FlashCom Official Channel
โญ๏ธ Introducing GetMart Website > We are happy to announce the official website of GetMart where you can install bots via the website even and you can search for bots, install for free without any payments. Features of GetMart Bot Store - Website - Createโ€ฆ
There is an security issue going on,
This is due to a problem in SSL Certificate.

Please be patient till we fix it since chrome or other is blocking our website from entering. Please wait till we solve this
Eid Mubarak ๐Ÿค

> This wishes is from FlashCom. May all the light of heaven shine on you and your loved ones this Eid and Honor yourself and your sacrifices this Eid.

Thank you,
โค3๐Ÿ‘2๐Ÿ”ฅ1
Forwarded from GetMart Official Channel (FlashCom)
โญ๏ธ Introducing FlashCom Official Chat Group

This channel is built for discussing issues, topics, and other related to FlashCom channels, bots, groups or programming etc... And even you can request help from admins and users.

๐Ÿค We request you to join the group by clicking the below button.
๐Ÿ“Œ Inline Pixabay Photo's Search Tpy . โ“

๐Ÿ“œ You can search pixabay photo's through inline.

๐Ÿš€ Command : /start

๐Ÿ›  TPY Code :
usernm = f"""<a href="tg://user?id={u}">{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={u}">{message.from_user.first_name}</a>"""
wel_text = f"<i>๐Ÿ‘‹๐Ÿป Hi {usernm}!\n\nI am pixabay photo search bot, click on go inline to search it</i>"
key = InlineKeyboardMarkup()
key.add(
InlineKeyboardButton(
text="๐Ÿ” ๐—š๐—ข ๐—œ๐—ก๐—Ÿ๐—œ๐—ก๐—˜",
switch_inline_query_current_chat=f""
)
)
key.add(
InlineKeyboardButton(
text="๐—จ๐—ฃ๐——๐—”๐—ง๐—˜",
url="https://t.me/flashcombjs"
),
InlineKeyboardButton(
text="๐—ฆ๐—จ๐—ฃ๐—ฃ๐—ข๐—ฅ๐—ง",
url="https://t.me/flashcomofficialchat"
)
)
key.add(
InlineKeyboardButton(
text="๐Ÿ” ๐—–๐—Ÿ๐—ข๐—ฆ๐—˜",
callback_data="/close"
)
)
bot.replyText(
chat_id=message.chat.id,
text=wel_text,
parse_mode="HTML",
reply_to_message_id=message.message_id,
disable_web_page_preview=True,
reply_markup=key
)


๐Ÿš€ Command : /inline_queries

๐Ÿ›  TPY Code :
def answerInlineQuery(inline_query_id, results):
data = {'inline_query_id': inline_query_id, 'results': results}
res = HTTP.post(
f'https://api.telegram.org/bot{Bot.info().token}/answerInlineQuery', json=data)

if not message.inline_query.query:
answerInlineQuery(message.inline_query.id, [{
'type': 'article',
'id': '1',
'thumbnail_url': 'https://te.legra.ph/file/9f70af63dd7c320289c5a.jpg',
'description': f'@{Bot.info().username} <Your Query>',
'title': '๐Ÿ” Type your query you want to search..',
'input_message_content': {
'message_text': f'@{Bot.info().username} Cat'
}
}])
raise ReturnCommand()

response = HTTP.get(
f"https://pixabay.com/api/?key=36545097-d5df6c20dfd41fe6ace3f8fa0&per_page=50&q={message.inline_query.query}").json()
results = []
if response['total'] != 0:
for i in response['hits']:
results.append({'type': 'photo', 'caption': f'๐Ÿค– <b>Searched via @{Bot.info().username}</>', 'parse_mode': 'html',
'id': i['id'], 'thumbnail_url': i['previewURL'], 'photo_url': i['webformatURL'], 'photo_width': i['webformatWidth'], 'photo_height': i['webformatHeight']})
answerInlineQuery(message.inline_query.id, results)
else:
answerInlineQuery(message.inline_query.id,[{
'type': 'article',
'id': '1',
'thumbnail_url': 'https://te.legra.ph/file/b8a442e46f6f6f4688452.jpg',
'description': f'@{Bot.info().username} <Your Query>',
'title': f'๐Ÿ˜ข Sorry! No Results Found For {message.inline_query.query}...',
'input_message_content': {
'message_text': f'@{Bot.info().username} Cat'
}
}])


โšก๏ธPosted on : @flashcomtpy
โšก๏ธCredits :
@CoderUnknownCredits
โšก๏ธError Report :
@flashcomtpychat
โšก๏ธ Official Channel :
@flashcomofficial
โšก๏ธ Happy 1st Anniversary Of FlashCom

โœค FlashCom was found in may 09 2023 and today is may 08 2024 where FlashCom reach one year as now it is 1st anniversary of FlashCom

โœค Almost in this date FlashCom has reached an year, A today is FlashCom anniversary, I want to extend my deepest appreciation for your unwavering support. Your commitment to our shared vision has contributed significantly to our growth and accomplishments.

โœค FlashCom is made in order to help you in creating telegram bots, acquiring bots etc... as it is now. We may expand this in future. We even try to fulfill your requests about bots and we have fulfilled some of users needs of helps. FlashCom might help you a lot where we have posted may codes to develop bots and made bots where you can install bots as free.

โœค FlashCom is free for every single user. As we do not collect payments from any user for any reason. FlashCom was brought up in firm where there was several consequences has to be faced during the growth of FlashCom. FlashCom has failed too many times. We did not give up even it was failing we started continuing this channel as we did not give-up and now FlashCom has gained a better results than before. Even now there are consequences we face we are still overcoming with those consequences in order to keep this channel exist in future as well.

โžฃ Thanking Admins

โœค We thank admins of FlashCom for their hard work and commitment to the company are truly inspiring and hereโ€™s to another great year which you may do as well you did before. FlashCom has been grown and your part of it helping FlashCom extend to different users.

โžฃ Thanking Users

โœค Weโ€™re elated to have you on our channel as member. We will continue FlashCom and FlashCom will provide you useful codes and bots which will benefit you. We even thank you again because of you only FlashCom exists as you are a member of this channel and you may help members of FlashCom and us! We thank you a lot for your assist.


โœค We will try 0ur best in order to keep this channel continuing and we need your support for this. Introduce this channel to your friends , users who is finding channels in order for creating of bots, assistance etc... Just help him by introducing this channel and this is an help your doing to FlashCom as well which your helping to expand FlashCom.
โค4
๐Ÿ“Œ IP verification Checker ( API ) TPYโ“

๐Ÿ“œ
This code allows you to prevent users using VPN and multiple accounts in your bot. Only one account can be used.

๐Ÿš€ Command : /start

๐Ÿ›  TPY Code :

verify = User.getData("verify")
if verify:
# other code when captcha already verified
bot.sendMessage("๐Ÿ™„ Already verified")
Bot.runCommand("/start2")
raise ReturnCommand()

webhook = libs.Webhook.getUrlFor(command="/onWebhook", user_id=u)
webPage = "https://api.jobians.top/captcha/verify?webhookUrl="+str(encodeURIComponent(webhook))
keys = [[InlineKeyboardButton(text='โžก๏ธ Verify Captcha', web_app=webPage)]]
button = InlineKeyboardMarkup(keys)
bot.sendMessage("<b>โ—๏ธComplete the following captcha to be able to use the bot.\n\nโš ๏ธ Avoid using multi-accounts or VPN, as this will be detected by the system and you will automatically be banned.</b>", reply_markup=button)


๐Ÿš€ Command : /onWebhook

๐Ÿ›  TPY Code :

if options == None:
bot.replyText(u, "โŒ Not Allowed", parse_mode="Markdown")
else:
data = bunchify(options.json)
user_hash = data["results"]["user_hash"]
captcha = data["results"]["captcha"]
vpn = data["results"]["vpn"]

verify = User.getData("verify")
if verify:
raise ReturnCommand

if vpn == "yes":
bot.sendMessage("๐Ÿšจ You Are Ban For Using VPN!")
# your ban code system here
# User.saveData("ban","ok")
raise ReturnCommand

hashs = Bot.getData("hashs")
if hashs == None:
push = []
else:
push = hashs

check_hash = push.count(user_hash)
if check_hash > 0:
bot.sendMessage("โŒ You Have Been Banned For Using Multiple Account")
# your ban code system here
# User.saveData("ban","ok")
raise ReturnCommand

if captcha == "ok":
push.append(user_hash)
Bot.saveData("hashs", push)
User.saveData("verify","ok")
# other code when user is successful verified
bot.sendMessage("โœ… You Are Verified Now")
Bot.runCommand("/start2")



โšก๏ธPosted on : @flashcomtpy
โšก๏ธCredits :
@JOBIANSTECHIE
โšก๏ธError Report :
@flashcomtpychat
โšก๏ธOfficial Channel :
@flashcomofficial
๐Ÿ‘2
๐Ÿ“Œ Spotify Music Downloader Tpy Codeโ“

๐Ÿ“œ With this code you can download Spotify music.

๐Ÿš€ Command : /download

๐Ÿ›  TPY Code :
bot.sendChatAction(chat_id=message.chat.id, action="typing")

ms = message.text
url = f"https://music-api-rouge-rho.vercel.app/?songname={ms}"

try:
    response = HTTP.get(url)
    if response.status_code == 200:
        data = response.json()
        download_link = data["download_link"]


        bot.sendDocument(
            chat_id=message.chat.id,
            document=download_link,
            caption="๐ŸŽถ <b><i>Music downloaded by @BotUsername!</i></b> ๐ŸŽต\n\nEnjoy the beats! ๐ŸŽง",
            parse_mode="HTML"
        )
    else:
        bot.sendMessage(
            chat_id=message.chat.id,
            text="โŒ <b>Error fetching data from the music API</b>",
            parse_mode="HTML"
        )
except Exception as e:
    bot.sendMessage(
        chat_id=message.chat.id,
        text=f"โŒ <b>Error: {str(e)}</b>",
        parse_mode="HTML"
    )


โšก๏ธPosted on : @flashcomtpy
โšก๏ธCredits :
@Nepcoder
โšก๏ธError Report :
@flashcomtpychat
โšก๏ธOfficial Channel :
@flashcomofficial
๐Ÿ‘2
What do you want FlashCom to create next โ“

-- We would like to get you opinion on what FlashCom must create next as channels, groups, bots etc.. You can suggest anything you want as per the decision we make and then your suggestions may include after the decision taken.

๐Ÿค” Just comment your idea by below comment option
๐Ÿ‘3โค2
๐Ÿ“Œ Dynamic Qr Code Generator Tpy Codeโ“

๐Ÿ“œ With this code you can generate dynamic qr codes.

๐Ÿš€ Command :
*

๐Ÿ›  TPY Code :

bot.sendChatAction(chat_id=u, action="typing")


input_text = message.text


api_url = "https://dynamicqrcode.nepcoderdevs.workers.dev/?message=" + input_text

try:

response = HTTP.get(api_url)


if response.status_code == 200:

qr_image_url = response.json()["qrImageUrl"]


keyboard = [
[
InlineKeyboardButton("๐Ÿ‘จโ€๐Ÿ’ป Developer", url="https://t.me/nepcoder"),
InlineKeyboardButton("๐Ÿ“ข Channel", url="https://t.me/devsnp")
],
[
InlineKeyboardButton("Read QR Code ๐Ÿ“ท", callback_data="/ReadQr")
]
]


reply_markup = InlineKeyboardMarkup(keyboard)


caption = "*๐Ÿค– QR code generated by @DynamicQRGeneratorBot*\n\nJoin us on Telegram:"


bot.sendPhoto(chat_id=u, photo=qr_image_url, caption=caption, parse_mode="Markdown", reply_markup=reply_markup)
else:

bot.sendMessage(chat_id=u, text="โŒ Error: Failed to retrieve QR code image.")
except Exception as e:

error_message = "โŒ <b>Oops! Something went wrong:</b>\n{}".format(str(e))
bot.sendMessage(chat_id=u, text=error_message, parse_mode="HTML")



๐Ÿš€ Command : /ReadQr

๐Ÿ›  TPY Code :

prompt_message = '๐ŸŒŸ **Please send your QR code photo** ๐Ÿ“ท\n\n' \
'Our bot will read it and provide you with the text or URL encoded in the QR code.'
bot.sendMessage(chat_id=u, text=prompt_message, parse_mode="Markdown")



Bot.handleNextCommand("/Nep")



๐Ÿš€ Command : /Nep

๐Ÿ›  TPY Code :

image_file = f"https://api.telegram.org/bot{Bot.info().token}/getFile?file_id={message.photo[-1].file_id}"
content = HTTP.get(image_file).json()
file_path = content['result']['file_path']
file_url = f"https://api.telegram.org/file/bot{Bot.info().token}/{file_path}"


imgbb_api_url = "https://api.imgbb.com/1/upload"
imgbb_api_key = "apikey" # Replace with your ImgBB API key
files = {'image': (file_path, HTTP.get(file_url).content)}
payload = {'key': imgbb_api_key}
response = HTTP.post(imgbb_api_url, files=files, data=payload)


if response.status_code == 200:
imgbb_image_url = response.json()['data']['url']


qr_api_url = f"https://qrredaes.nepcoderdevs.workers.dev/?url={imgbb_image_url}"
qr_response = HTTP.get(qr_api_url)


if qr_response.status_code == 200:
raw_text = qr_response.json()["raw_text"]


bot.sendMessage(chat_id=u, text=f"๐Ÿ” Extracted Text from QR Code:\n\n<code>{raw_text}</code>", parse_mode="HTML")
else:
bot.sendMessage(chat_id=u, text="โŒ Error: Failed to extract raw text from QR code.")
else:
bot.sendMessage(chat_id=u, text="โŒ Error: Failed to upload image to ImgBB.")



โšก๏ธPosted on : @flashcomtpy
โšก๏ธCredits :
@Nepcoder
โšก๏ธError Report :
@flashcomtpychat
โšก๏ธOfficial Channel :
@flashcomofficial
๐Ÿ“Œ AI Image Generator TBC Code

๐Ÿš€ Command: *

๐Ÿ›  Code:
bot.sendChatAction(chat_id=message.chat.id, action="upload_photo")
bot.sendChatAction(chat_id=message.chat.id, action="upload_photo")
chat_id = u
ms = message.text


url = f"https://aiimage.hellonepdevs.workers.dev/?prompt={ms}"

try:
response = HTTP.get(url)
response.raise_for_status()
get = bunchify(response.json())


bot.sendPhoto(chat_id=chat_id, photo=get["image_url"], caption="๐Ÿค Created By @username")
except:
pass


โš ๏ธ Must Give Credit If You Are Posting On Your Channel

โ”Œยฉ๏ธ Credit:
@HazexTBC
โ”œ๐Ÿ‘จ๐Ÿปโ€๐Ÿ’ป Developer:
@MrRoleXG
โ””โ€ผ๏ธ Error & Support:
@FlashcomTPYchat
Forwarded from GetMart Official Channel (FlashCom)
โšก๏ธ Introducing FlashCom Off-Topic Group

โœค This group is made where You can chat off topics including where you can post your ads in this group, chat with your friends or other users, other topics and even more.

โœค You can join the group by clicking the below join button
Forwarded from GetMart Official Channel (FlashCom)
๐Ÿซก Here's wishing you and your family, peace, harmony, happiness, good health and prosperity on the auspicious occasion of Eid. Eid al-Adha Mubarak to you and everyone at home

Sorry for late wishes ๐Ÿ˜ฃ
โค4
โญ๏ธ Buy a YouTube channel consisting of 949 subscribers and many more!

-- You can buy a YouTube Channel with 949 subscribers just for $35.

โ„น๏ธ Channel Details

Channel Created On : 12/12/2020
Channel Total Subscribers : 949
Videos Posted Before : 50+
Last Views Rise Till : 14k
Watch Hours : 9.1

๐Ÿ’ต Price : $35

๐Ÿ““ Note : This channel is not owned by FlashCom as this is given by a different user to sell and this channel is opened on 2020 as you can see the evidence listed in photos more evidences can be sent you on your making order. and this is sold by us as we give in less price and you can do the related payments with the specific admin mentioned below and please read to payments and purchases policy before making the payments.

โญ๏ธ Buy the channel now until someone buys it!

Contact Us : @FlashComAssistant
๐Ÿ‘Ž5
๐Ÿš€ Introducing GetMart v1.8

> GetMart v1.8 is the largest update so far. This update is the most cool update and has more features than before. And you can easily install bots and added new bot platforms such as bots.business and telebot creator bots too...

๐Ÿฆธ Features of GetMart v1.8

- Install Bots.Business and Telebot Creator Bots.
- Added settings menu.
- Added profile menu
- Track your last actions took place.
- Clear all emails at once.
- Search bots randomly.
- Search bots by name or keyword.
- Switch the platforms according to you wish in settings.
- Switch versions according to you wish. ( Free / Premium )
- Report system added.
- Manual search option updated.
- Premium version updated.
- Bots structure updated.
- And more...


Tutorialsโ“

-- You can view tutorials if you don't know about GetMart v1.8


Warning โš ๏ธ

- Make sure that once after the bot is launch spamming may ban you from using the bot. Please don't try to send any messages or run any command to the bot within 1 seconds multiple times even though the bot doesn't respond if you do then it may lead to a ban.

Try using the new version of GetMart now!


#GerMartV1.8