๐ How To Make Daily Bonus
๐ Command:
๐ ๏ธ TPY Code:
โกOfficial Channel : @flashcomofficial
โกError & Support : @flashcomofficialchat
๐ 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
๐ How To Get Anyone Profile Picture By Username
๐ Command:
โก๏ธError & Support : @flashcomofficialchat
๐ Command:
/pic
๐ TPY Code:if params == 'None':โHow To Use:
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}")
/pic @Usernameโก๏ธOfficial Channel : @flashcomofficial
โก๏ธError & Support : @flashcomofficialchat
๐4
๐ All TBC Action
๐
โก๏ธOfficial Channel : @flashcomofficial
โก๏ธError & Support : @flashcomofficialchat
๐
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:
โก๏ธError & Support : @flashcomofficialchat
๐ 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 ๐
โ 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 !
โช 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
๐ Tpy-
๐ Cmd -
๐ Cmd -
๐ Tpy-
โก๏ธOfficial Channel : @flashcomofficial
โก๏ธError & Support : @flashcomofficialchat
๐ 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
๐ 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 โญ
โจ 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 !
โญ 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:
๐ For sending photo:
โก๏ธError & Support : @FlashComOfficialChat
๐ 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
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 !
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
๐ 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 -
๐ Tpy
๐ Tpy
โก๏ธError & Support : @FlashComOfficialChat
๐ 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:
TPY:
โป๏ธ Command:
TPY:
โก๏ธOfficial Channel : @FlashComOfficial
โก๏ธError & Support : @FlashComOfficialChat
โป๏ธ Command:
/create_QRTPY:
bot.replyText(u,"*โก๏ธ Enter Your Text To Create QR*",parse_mode="markdown")
Bot.handleNextCommand("/onSuccess")โป๏ธ Command:
/onSuccessTPY:
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โฆยป