Metadata-Version: 2.1
Name: tg-botting
Version: 1.3.6
Summary: python library for easy creation of a telegram bot.
Home-page: https://github.com/2sweetheart2/tg_botting/tree/master
Author: Sweetie (Roma Fomkin)
Author-email: <2004sweetheart2004@gmail.com>
Keywords: python,bot,tg,tg bot,telegram,telegram bot,botting
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python :: 3
Classifier: Operating System :: Unix
Classifier: Operating System :: MacOS :: MacOS X
Classifier: Operating System :: Microsoft :: Windows
Classifier: Topic :: Internet
Classifier: Topic :: Software Development :: Libraries
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: Utilities
Description-Content-Type: text/markdown


# tg_bottng



python library for easy creation of a telegram bot



## Install



Use pip3



```

pip3 install tg-botting

```



Quick Start



```python

from tg_botting.bot import Bot



# user_id and user_hash - user application in telegram 



bot = Bot(['prefixs'],'user_id','user_hash')



# send message



@bot.command('ping')

async def ping(message):

    await bot.send_message(message.chat.id,'pong')



# reply



@bot.command('ping reply')

async def ping(message):

    await message.reply('pong reply')

    

# start



bot.run(your_bot_token)



```



for find user_id and user_hash:

 1) Visit https://my.telegram.org/apps and log in with your Telegram account.



 2) Fill out the form with your details and register a new Telegram application.



 3) Done. The API key consists of two parts: api_id and api_hash. Keep it secret.





Visit full doc: https://github.com/2sweetheart2/tg_botting/wiki/Start

