Skip to main content

With This Package Can You Find Out Get Info Any Token Telegram Bot from https://api.telegram.org

Project description

infobot

With This Package Can You Find Out Get Info Any Token Telegram Bot from https://api.telegram.org

Installation :

pip install infobotbytoken

Example

from infobotbytoken import bot #to import the lib

bot = bot()

token = "Paste here the bot token you can extract from the @botfather" 

print(bot.ok(token)) #Shows the status of the bot

print(bot.token(token)) #to check the token

print(bot.id(token)) #to know the id

print(bot.first_name(token)) #to know the first name

print(bot.is_bot(token)) #To find out if the token is for a bot or not

print(bot.can_join_groups(token)) #To see if the bot can join groups or not

print(bot.can_read_all_group_messages(token)) #To see if the bot can read group messages

print(bot.supports_inline_queries(token)) #To see if the bot can Supports inline querie

Follow us on social media accounts

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

infobotbytoken-0.0.1.tar.gz (2.6 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page