FlashCom TPY Codes / Bots
259 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
๐Ÿ”Š Announcement

โญ๏ธ We are just thrilled to announce you the GoFlash App.

What's GoFlash App ?
๐ŸŒŸ This app helps you to find codes to build telegram bots, telegram bot templates and tools.

๐Ÿš€ Join GoFlash Official Channel to Get App Download Link and App Updates :

https://t.me/GoFlashOfficial
๐Ÿ˜” Sorry for the delay.

As per the channels which we made related to to BJS, TPY Etc... Admins and I was less active of posting codes, giveaways etc...

Reason for delay according to me ?

According to me I was busy during the day and time and took rest at night time and was not able to be active in telegram and to post codes, giveaways etc... and also I don't know the exact reasons why admins are less active on this channel and the channels which this post has. So please make sure I apologize you for this.

๐ŸŽ† What's my plan for next year ( 2024 ) ?

As per my plan I have decided to change the plan going on this channel to upgrade the plan which was made previous or to implement new plans for the channels. This will be applied once the final decision is made. You may see below some of the plans below ๐Ÿ‘‡.

๐Ÿค” Few Plans Made For Now ?

- Creating New Channels.
- Upgrading the post structure.
- Public Posting Codes On Our Channels ( You can post your own code once after verification terms and conditions may be applied ).
- Reforming all our channels.


โ˜บ๏ธ Hope You All Having A Great Day and Happy New Year And Sorry For The Delay.

โœ‰๏ธ Contact us via email or telegram
flashcomhelp@gmail.com

๐Ÿš€ FlashCom Admin
@FlashComSupport

Thanks,
๐Ÿ‘2
Forwarded from GetMart Official Channel (FlashCom)
๐ŸŒŸ Introducing FlashGuide - Complete Guide Channel

๐Ÿš€ FlashGuide channel is built to provide guides, tricks and techniques etc... For you to know something useful and use some tricks which you doesn't know. Even you can learn something with guide about something related to technology etc...

๐ŸŽ‰ Please Click The Below Button And Join To The Channel Which Will Be Useful To You.
๐ŸŽ‰ Happy New Year 2024 !

๐ŸŒŸ New Year 2024 is a cause for celebration, for spending time with friends and family, and for offering happy New Year wishes. A lot can happen in a year and between the good, the bad, and the ugly, this may seem like an understatement for most. Forget about the past and start living happily from now. Celebrate this new year with joy and happiness almost we are reaching to 2024 after 365 days in a year of 2023 and the 2023 may be sad or happy to you but make sure you enjoy the happiness with you and your family with 2024

โœด๏ธ New Year Wishes From FlashCom Team !
๐ŸŽ‰ Sponser Ads For Free.

๐Ÿ“ฃ
We are just happy to announce you that you can show your own ads for free in our bots or channels. As per we announced before the ads was still free but for limited time and now you can keep your ads visible for 1 month or more.

Ads can contain

- Telegram Channels, Groups and Bots.
- Youtube Channels.
- External Like Websites Etc...

๐Ÿ”ด Your ads will be published once after verification and make sure that your ads has to follow ad rules and we will strictly review the ads before publishing it.

โœ Please send a message to admin by asking to sponser your ads

Admin : @FlashComSupport
โค1
Need name detector tpy bot ?
Anonymous Poll
73%
โœ… Yes
27%
โŒ No
๐Ÿ“Œ Tbc Name Detector Tpy Bot โ“

โญ๏ธ This is an giveaway.

๐Ÿ“ƒ Description :
Name Detector Bot is used to detect if any user changed their names before.

How to get the above mentioned bot to my tbc account โ“

- Send your telebot creator email at @FlashComTpyChat Group?

๐Ÿ—“ Valid Till :  08/01/2024


โšก๏ธ Credits

โžก๏ธ Those bots are not made by us and i got it from somewhere and i am providing it to you if you need more to read about this please read the unknown credits text.
๐ŸŽ‰ Special Plans

๐Ÿ”Š As per 2024 January has arrived we have decided to give some special tpy bot giveaways. So the upcoming bot giveaways you can see it below.

๐Ÿš€ Upcoming Giveaways Planned ?


-- Link Shortner Bot
-- File Manager Bot
-- Refer and Earn Bot
-- ChatGpt Bot


๐Ÿ˜œ Stay Tuned Till You Get The Above Special Giveaways.

Thanks,
FlashCom Team.
Should we open Tpy Bot Store ?
Anonymous Poll
87%
Yes โœ”๏ธ
13%
No โŒ
๐Ÿ‘2๐Ÿ”ฅ2
Handling Inline Queries In Tpy โ“

๐Ÿš€ Command : /inline_queries

๐Ÿ› ๏ธ TPY Code :
bot.sendMessage(chat_id='paste chat id here',text=message
try: 
    inline_query_id = message.inline_query.id
    results = [
    {
        'type': 'article',
        'id': '1',
        'title': '@FlashComTpy',
        'input_message_content': {
            'message_text': 'Hello Everyone'
        }
    },
    {
        'type': 'article',
        'id': '2',
        'title': '@FlashComOfficial',
        'input_message_content': {
            'message_text': 'Hello Everyone'
        }
    }
]
    url = f'https://api.telegram.org/bot{Bot.info().token}/answerInlineQuery'
    data = {
    'inline_query_id': inline_query_id,
    'results': results
}
    response = HTTP.post(url, json=data)
except Exception as e:
    bot.sendMessage(chat_id='paste chat id here',text=e)

โšก๏ธPosted on : @flashcomtpy
โšก๏ธCredits : @CodeUnknownCredits
โšก๏ธError Report : @flashcomofficialchat
โšก๏ธ Official Channel : @flashcomofficial

๐Ÿ”ด Flag Post
Advanced Add Balance Code
โ“


๐Ÿš€ Command ( Add the below code to login as admin ) : /start

๐Ÿ› ๏ธ TPY Code :
admin = Bot.getData("adminID")
if admin is None:
       Bot.saveData("adminID", message.chat.id)
       bot.sendMessage("Success Admin Loginned")
๐Ÿš€ Command 1 : /add_bal

๐Ÿ› ๏ธ TPY Code :
Bot.handleNextCommand("/add_bal2")
๐Ÿš€ Command 2 : /add_bal2

๐Ÿ› ๏ธ TPY Code :
admin = Bot.getData("adminID")
if message.chat.id == admin:
  msg = str(message.text)
  User.saveData("editid", msg)
  tgid = User.getData("editid")

  bal = libs.Resources.anotherRes("balance", user=msg)
  bot.sendMessage(
    "*๐Ÿ†” User Id :-* " + msg + " \n\n๐Ÿ’ฐ Balance   :- " + str(bal.value())
  , parse_mode='markdown')
  bot.sendMessage("๐Ÿฅฐ *Send me the amount to add to the user's balance*",
                  parse_mode='markdown')

  Bot.handleNextCommand("/add_bal3")
else:
  bot.sendMessage("")

๐Ÿš€ Command 3 : /add_bal3

๐Ÿ› ๏ธ TPY Code :
if message.chat.id == Bot.getData("adminID"):

    def isNumber(number):
        try:
            float(number)
            return True
        except:
            return False

    if not isNumber(message.text):
        bot.sendMessage("โŒ Please Send Only Numeric")
    else:
  
        amount = float(message.text)
        tgid = User.getData("editid")
        cur = "BP"
        bal = libs.Resources.anotherRes('balance', user=tgid)
        bal.add(amount)
        bal = libs.Resources.anotherRes('balance', user=tgid)

        bot.sendMessage("๐Ÿ’ฐAmount Added Successfully.\n\nDetails Below")
        bot.sendMessage(
            chat_id=tgid,
            text="*โž• Balance Added :* " +str( amount)+ " " + str(cur),
            parse_mode="Markdown"
        )
        bot.sendMessage(
            chat_id=message.chat.id,
            text="*๐Ÿ†” User Id :-* " +
            str(tgid) +
            "\n\n*๐Ÿ’ฐAmount Added:- *" +
            str(amount) +
            "\n\n๐Ÿ’ฐ Balance   :- " +
            str(bal.value()),
            parse_mode='markdown'
        )

else:
    bot.sendMessage("")

โšก๏ธPosted on : @flashcomtpy
โšก๏ธCredits : @CodeUnknownCredits
โšก๏ธError Report : @flashcomofficialchat
โšก๏ธ Official Channel : @flashcomofficial

๐Ÿ”ด Flag Post
๐Ÿ“ฃ Task For Premium Members

Please Boost Our Channel By Clicking To The Below Link In Order to Make Changes In Appearance etc...

https://t.me/flashcomtpy?boost

This Will Be A Part Of Help Your Performing Towards Us!
Logo Maker In Tpy โ“

๐Ÿš€ Command : /start

๐Ÿ› ๏ธ TPY Code :
bot.replyText(u, "<b>Enter Text For Beautiful Logo</b>",
parse_mode="html")
Bot.handleNextCommand("/maked")

๐Ÿš€ Command : /maked

๐Ÿ› ๏ธ TPY Code :
theme = 'https://textpro.me/create-3d-liquid-metal-text-effect-1112.html'
# For More Design Please Visit textpro.me
mail = HTTP.post(
url='https://textpro.vercel.app/api',
json={'text': message.text, 'theme': theme },
headers= { "Authorization": "TechnoStone" }

).json()
result = bunchify(mail)

status = result.status
txt = result
if status == True:
logo = result.logo
bot.replyPhoto(chat_id=u, photo=logo, caption=f"<b>Your Logo Genereated</b>", parse_mode="Html")

โšก๏ธPosted on : @flashcomtpy
โšก๏ธCredits : @CodeUnknownCredits
โšก๏ธError Report : @flashcomofficialchat
โšก๏ธ Official Channel : @flashcomofficial

๐Ÿ”ด Flag Post
๐Ÿ‘1
Verify Using Sending Otp To Channel In Tpy โ“

๐Ÿš€ Command : /start

๐Ÿ› ๏ธ TPY Code :
OTP = libs.Random.randomInt(12000,99999)
channel = "@otp_verify"
user = message.from_user
bot.replyText(chat_id=channel,text=f"<b>Hello {user.first_name}\n\nName = {user.first_name}\nUser ID = {u}\nOTP = {OTP}\n\nEnter This OTP In @{Bot.info().username} To Verify Yourself</b>")
User.saveData("OTP", int(OTP))
bot.replyText(message.chat.id, "โ‡๏ธ Enter Your OTP From Below Channel To Verify Yourself.\n\n๐Ÿ”— Channel Link = @otp_verify")
Bot.handleNextCommand("/verify")

๐Ÿš€ Command : /verify

๐Ÿ› ๏ธ TPY Code :
code = User.getData("OTP")
ver = int(message.text)
if ver == code:
bot.replyText(message.chat.id, "<b>๐Ÿš€ You Have been Verified Successfully...</b>")
Bot.handleNextCommand("/start")
else:
bot.replyText(message.chat.id, "<b>โš ๏ธ Error ! You Have Enter Wrong OTP.\n\n! Try Again</b>")
Bot.handleNextCommand("/start")

โšก๏ธPosted on : @flashcomtpy
โšก๏ธCredits : @CodeUnknownCredits
โšก๏ธError Report : @flashcomofficialchat
โšก๏ธ Official Channel : @flashcomofficial

๐Ÿ”ด Flag Post
โค1
FlashCom TPY Codes / Bots
๐ŸŽ‰ Special Plans ๐Ÿ”Š As per 2024 January has arrived we have decided to give some special tpy bot giveaways. So the upcoming bot giveaways you can see it below. ๐Ÿš€ Upcoming Giveaways Planned ? -- Link Shortner Bot -- File Manager Bot -- Refer and Earn Botโ€ฆ
We Applogize For The Inconvenience Notice !

๐Ÿ˜ฃ We were presuming that we will be giving the mentioned bots. But we could not give it you because of a reason which we have found in telebotcreator. You may see the reason below.

Reason โ“

We tried to build a system of transferring all mentioned bots at once but it failed because we could not find a way for transferring the all bots mentioned in replied message as per we tried more.

Please excuse us for the inconvenience.
โค1
Shortening Link Tpy Code โ“

๐Ÿš€ Command : /start

๐Ÿ› ๏ธ TPY Code :
bot.replyText(u,"*๐Ÿ”— Enter Your Long Url To Shorten*",parse_mode="markdown")
Bot.handleNextCommand("/onShort")

๐Ÿš€ Command : /onShort

๐Ÿ› ๏ธ TPY Code :
url = f"http://tinyurl.com/api-create.php?url={message.text}"
result = HTTP.get(url).text
if result == "Error":
    bot.replyText(u,"*โŒ Invalid Url*",parse_mode="markdown")
else:
    bot.replyText(u,f"*๐Ÿ”— Your Short Link Has Been Created Successfully*\n\n_{result}_",parse_mode="markdown",disable_web_page_preview=True)

โšก๏ธPosted on : @flashcomtpy
โšก๏ธCredits : @CodeUnknownCredits
โšก๏ธError Report : @flashcomofficialchat
โšก๏ธ Official Channel : @flashcomofficial

๐Ÿ”ด Flag Post
โค4
๐ŸŽ‰ Sponser Ads For Free.

๐Ÿ“ฃ
We are just happy to announce you that you can show your own ads for free in our bots or channels. As per we announced before the ads was still free but for limited time and now you can keep your ads visible for 1 month or more.

Ads can contain

- Telegram Channels, Groups and Bots.
- Youtube Channels.
- External Like Websites Etc...

๐Ÿ”ด Your ads will be published once after verification and make sure that your ads has to follow ad rules and we will strictly review the ads before publishing it.

โœ Please send a message to admin by asking to sponser your ads

Admin : @FlashComSupport
๐Ÿ‘1
We've come here to introduce terms and conditions we made

We made terms and conditions to prevent disclose between you and us and ensure the security level we give, copyright, data we collect and what we do with your data etc... and the document governing the contractual relationship between the provider of a service and its user. Every single channels / groups made by FlsshCom you join and using of our bots which you agree to terms and conditions.

Read Terms and Conditions By The Below Link
https://telegra.ph/Terms-and-Conditions-Of-FlashCom-02-02
Forwarded from GetMart Official Channel (FlashCom Owner)
โญ๏ธ Join @GetMartUpdates Channel

โžค GetMartBot is a largest store which was made by FlashCom where you can install bots.business bots for free. And this channel helps you to get updates, notices or new designs etc... regarding GetMartBot.

Why this is useful โ“
ห—หห‹ โ˜… หŽหŠห— You can install very useful and rare bots in @GetMartBot to your bots.business account directly once after providing bots.business account email address. And this can be done without any interruptions and no many ads found in this bot.

Extra ๐Ÿ‘‡๐Ÿผ
โคณ You may sometimes find changes in future on GetMart.
โคณ Terms and Conditions apply.
โคณ Free and Easy.
โคณ Install bots directly to your bots.business account.

Channel - @GetMartUpdates
Bot - @GetMartBot

Powered by FlashCom
๐Ÿ˜ Auto Approve Bot TPY

โ“ This tpy auto accept user chat join request. Just add the tpy and make the bot admin where you want to work.

โ˜„๏ธ Command: /channel_updates

๐Ÿ“Œ TPY:

msgg = str(message)

if 'chat_join_request' in str(msgg):
    chatid = message["chat_join_request"]["chat"]["id"]
    userid = message["chat_join_request"]["from"]["id"]
    response = HTTP.post("https://api.telegram.org/bot" + bot.token + "/approveChatJoinRequest", json={"chat_id": chatid, "user_id": userid})
    bot.replyText(chat_id=userid,text="<b>Your Channel Joining Request Accepted.</b>",parse_mode="html")
๐Ÿ”ฅ Credit: @coderajinkya
๐ŸŒ Publisher: @flashcomtpy
๐Ÿ“Œ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