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
More Tpy Codes Will be Coming Soon !
๐Ÿ“Œ How To Make Daily Bonus

๐Ÿš€ Command:
๐ŸŽ Bonus

๐Ÿ› ๏ธ TPY Code:
bonus = User.getData("bonus676")
cur_time = int((time.time()))

def conv(time):
sec = time % (24 * 3600)
hour = sec // 3600
sec %= 3600
mins = sec // 60
sec %= 60
return "%d h %02d m %02d s" % (hour, mins, sec)

str(u)

cur_time = int((time.time()))
balance = libs.Resources.anotherRes('Balance', user=message.chat.id).value()
bamnt = int(100)
if (bonus == None) or (cur_time - bonus > 24*60*60):
User.saveData("bonus676", cur_time)
libs.Resources.anotherRes('Balance', user=message.chat.id).add(bamnt)
bot.replyText(
u, f"""*๐ŸŽ Congrats, You Recieved {bamnt} SHIB

๐Ÿ”Ž Check Back After 24 Hours*""", parse_mode="Markdown")
else:
bot.replyText(
u, f"""*๐Ÿ“› You Already Recieved Bonus In Last 24 Hours

โ–ถ๏ธ Come Back After:โณ {conv(bonus - cur_time)}*""", parse_mode="Markdown")


โšกOfficial Channel : @flashcomofficial

โšกError & Support :
@flashcomofficialchat
๐Ÿ‘2โšก1
Which Codes Needed?

Type here
@dtabse ๐Ÿ‘
๐Ÿ“Œ How To Get Anyone Profile Picture By Username

๐Ÿš€ Command:
/pic

๐Ÿ›  TPY Code:
if params == 'None':
bot.replyText(chat_id=u,text="*Please Use This Format\n\n/pic @username*", parse_mode="markdown")
else:
A = params
a = slice(1, 50)
pic = A[a]
bot.replyPhoto(chat_id=u, photo=f"https://t.me/{pic}")

โ“How To Use:
/pic @Username

โšก๏ธOfficial Channel : @flashcomofficial

โšก๏ธError & Support :
@flashcomofficialchat
๐Ÿ‘4
Forwarded from GetMart Official Channel (FlashCom Owner)
Eid Al-Adha ๐ŸŒ™
โค1๐Ÿ‘1
๐Ÿ“Œ All TBC Action

๐Ÿ‘‰ Typing

bot.sendChatAction(
chat_id=message.chat.id,
action="typing")

=========================

๐Ÿ‘‰ Uploading Photo

bot.sendChatAction(
chat_id=message.chat.id,
action="upload_photo")

=========================

๐Ÿ‘‰ Recording A Video

bot.sendChatAction(
chat_id=message.chat.id,
action="record_video")

=========================

๐Ÿ‘‰ Sending A Video

bot.sendChatAction(
chat_id=message.chat.id,
action="upload_photo")

=========================

๐Ÿ‘‰ Recoding A voice

bot.sendChatAction(
chat_id=message.chat.id,
action="record_voice")

=========================

๐Ÿ‘‰ Sending A voice

bot.sendChatAction(
chat_id=message.chat.id,
action="upload_voice")

=========================

๐Ÿ‘‰ Sending a file

bot.sendChatAction(
chat_id=message.chat.id,
action="upload_document")

=========================

๐Ÿ‘‰ Choosing A Sticker

bot.sendChatAction(
chat_id=message.chat.id,
action="choose_sticker")

=========================

๐Ÿ‘‰ Sending A Location

bot.sendChatAction(
chat_id=message.chat.id,
action="find_location")

=========================

๐Ÿ‘‰ Recording A Voice Note

bot.sendChatAction(
chat_id=message.chat.id,
action="record_video_note")

=========================

๐Ÿ‘‰ Sending Voice Note

bot.sendChatAction(
chat_id=message.chat.id,
action="upload_video_note")

โšก๏ธOfficial Channel : @flashcomofficial

โšก๏ธError & Support :
@flashcomofficialchat
๐Ÿ‘4
๐Ÿ“Œ How To Make Image Captcha Verification

๐Ÿš€ Command:
/start

๐Ÿ›  TPY Code:
captcha = libs.Random.randomStr(4,"1234567890")
bot.replyPhoto(u, photo=f"https://api.codinary.org/v1/imageCaptcha/?text={captcha}",
caption="โ‡๏ธ *Enter This Text To Verify Yourself*", parse_mode="markdown")
User.saveData("captcha", captcha)
Bot.handleNextCommand("/verify")

๐Ÿš€ Command: /verify

๐Ÿ›  TPY Code:
captcha = User.getData("captcha")

if str(captcha) != str(message.text):
bot.sendMessage("<b>โŒ Wrong Captcha, Try Again!</b>", parse_mode="html")
Bot.runCommand("/start")
else:
bot.replyText(
chat_id=u,
text=f"""<b>โœ… You are Verified</b>""",
parse_mode="html",)
#Other Command When User Verified Captcha

โšก๏ธOfficial Channel : @flashcomofficial

โšก๏ธError & Support :
@flashcomofficialchat
๐Ÿ‘1
Forwarded from GetMart Official Channel (FlashCom Owner)
๐Ÿ”ฅ ๐ˆ๐๐“๐‘๐Ž๐ƒ๐”๐‚๐ˆ๐๐† ๐๐ˆ๐‘๐€ ๐Ÿ”ฅ

โŸ Qira is a Bot Which Helps Your Group Members Using Some Special Tools & Keep Your Groups Members From Board !

๐”ฝ๐•–๐•’๐•ฅ๐•ฆ๐•ฃ๐•–๐•ค ๐• ๐•— โ„š๐•š๐•ฃ๐•’

โœฌ Can Send Inline Whisper Message to Users Even if the bot is not added.
โœฌ Shortening Long URL to Smaller URL.
โœฌ Generate Facts.
โœฌ Upload Files & Get Direct Telegram Shareable Link to Download Your Files. ( No Link Expiration ! )
โœฌ  Find App Details by Giving PlayStore Link.
โœฌ Convert Text to Speech ( TTS )

โŸ Qira is the best bot which helps your group members with special tools and this will make your group members easier and also in future many features may come.
โŸ This Channel Helps You to Notify Updates of Qira.

โ†ช๏ธ Qira Updates

๐Ÿ’Ž Click Here to Get Qira Updates ๐Ÿ’Ž


Clone Your Own Bot With @QiraBot

๐Ÿ’Ž Click Here to use Qira Bot ๐Ÿ’Ž
Forwarded from Cubex Movie
๐Ÿ”ฅINTRODUCING TEXT TO SPEECH ( TTS ) BOT๐Ÿ”ฅ

โœช This bot can convert your text to speech for free and unlimited count !

๐Ÿน This bot has extracted Files feature from @QiraBot - You can use this bot with this tools and more !

Use @TtsFreeBot Now !
๐Ÿ“Œ Report Admins

๐Ÿš€ Cmd /report

๐Ÿ›  Tpy-

ask = User.getData("ask")
markup = InlineKeyboardMarkup()
but1 = InlineKeyboardButton(
text='Write Me',
callback_data='Ask'
)
markup.add(but1)

if ask is not None:
bot.replyText(chat_id=u, text="๐Ÿ“ซ Last Question " + ask, reply_markup=markup)
else:
bot.replyText(chat_id=u, text="๐Ÿ“ซ Last Question is not available", reply_markup=markup)



๐Ÿš€ Cmd - Ask

๐Ÿ›  Tpy -

bot.sendMessage("_
๐Ÿ’ฌ How Can I Help You ?
")
Bot.handleNextCommand("ask")



๐Ÿš€ Cmd - ask

๐Ÿ›  Tpy-

ask = User.getData("ask")
admin = "your telegram id"
username = message.from_user.username
idd = message.chat.id
iddd = str(idd)
User.saveData("ask", message.text)
bot.replyText(chat_id=admin, text="*๐Ÿ“ฉ New Support Message From* " +
username+"\n๐Ÿคด๐Ÿป Uset Link: [User](tg://user?id="+iddd+")\n\n๐Ÿ’Œ Message: "+message.text+"", parse_mode="Markdown")
bot.sendMessage("๐Ÿ“ฉ Message Sent To Admin As = "+message.text+"")




โšก๏ธOfficial Channel : @flashcomofficial

โšก๏ธError & Support :
@flashcomofficialchat
๐Ÿฅฑ2โค1๐Ÿ‘1
Please Ensure Explore Your Ideas Now !

๐Ÿ›  Just Comment Us Down What Codes & Bots You Need Just Give us an Idea !


Join @flashcomofficialchat and Ask What Tpy Code You need ?

Thank You, FlashCom Owner


#FlashExplore
๐Ÿ‘3
Forwarded from GetMart Official Channel (FlashCom Team)
If This Channel & Coders Are Helpful Just One Request ?

โœจ Invite Your Friends Who Are Looking to Create Bots & Explore Codes to Create Bots, Website Or Apps.

This is A Great Help For Us ! ๐Ÿค

โญ We will Keep Running This Channel โญ
โค2
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โ€ฆยป