Compare commits

...

8 Commits

Author SHA1 Message Date
Badiboy b743aa5813
Merge pull request #1884 from Cub11k/master
Remove redundant function from util
2023-01-16 16:58:58 +03:00
Cub11k 1797f076dc Remove redundant function 2023-01-16 15:45:59 +02:00
_run 68c1fe8cb5
Merge pull request #1883 from Cub11k/master
Fix type of attribute id of InlineQuery from int to str
2023-01-15 17:22:22 +04:00
Cub11k 1eda7cafd4 Fix type of attribute id of InlineQuery from int to str 2023-01-15 15:04:07 +02:00
Badiboy 291566908b
Merge pull request #1882 from CommanderCRM/patch-1
Added a bot with public source code to the list
2023-01-13 15:58:55 +03:00
Ilya Krivoshein bef29d9318
Added a bot with public source code to the list 2023-01-13 19:14:10 +07:00
Badiboy a5af586a46
Merge pull request #1881 from Cub11k/master
Create method get_media_file_id() in util.py
2023-01-10 20:48:50 +03:00
Cub11k 93dcbbeb02 Create method get_media_file_id()
Method is used to get file id of different types of media
2023-01-10 19:35:36 +02:00
2 changed files with 2 additions and 1 deletions

View File

@ -888,5 +888,6 @@ Here are some examples of template:
* [Feedback-bot](https://github.com/coder2020official/feedbackbot) A feedback bot for user-admin communication. Made on AsyncTeleBot, using [template](https://github.com/coder2020official/asynctelebot_template).
* [TeleServ](https://github.com/ablakely/TeleServ) by [ablakely](https://github.com/ablakely) This is a Telegram to IRC bridge which links as an IRC server and makes Telegram users appear as native IRC users.
* [Simple Store Bot](https://github.com/AntonGlyzin/myshopbot) by [Anton Glyzin](https://github.com/AntonGlyzin) This is a simple telegram-store with an admin panel. Designed according to a template.
* [Media Rating Bot](https://t.me/mediaratingbot) ([source](https://github.com/CommanderCRM/MediaRatingBot))by [CommanderCRM](https://github.com/CommanderCRM). This bot aggregates media (movies, TV series, etc.) ratings from IMDb, Rotten Tomatoes, Metacritic, TheMovieDB, FilmAffinity and also provides number of votes of said media on IMDb.
**Want to have your bot listed here? Just make a pull request. Only bots with public source code are accepted.**

View File

@ -3261,7 +3261,7 @@ class InlineQuery(JsonDeserializable):
return cls(**obj)
def __init__(self, id, from_user, query, offset, chat_type=None, location=None, **kwargs):
self.id: int = id
self.id: str = id
self.from_user: User = from_user
self.query: str = query
self.offset: str = offset