Commit Graph

7 Commits

Author SHA1 Message Date
Dan
626a1bd938 Update copyright year 2022-01-07 10:23:45 +01:00
Md. Hasibul Kabir
e68da74e89
Further improve the session-switching mechanism for inline bots (#739)
* Ability to run multiple bot.

Global session creates a problem for other bot. As that session was generated for another bot can't be used by this bot.

* Use the existing media session lock

Co-authored-by: Dan <14043624+delivrance@users.noreply.github.com>
2021-08-29 10:49:47 +02:00
Ripe
be83f8e25e
Actually fix inline message id invalid (for inline message queries) (#683)
* Fix Inline Message ID Invalid

* Update inline_session.py

* Update inline_session.py

Co-authored-by: Dan <14043624+delivrance@users.noreply.github.com>
2021-05-15 07:06:37 +02:00
Ripe
38d60f5e10
Fix DC sessions for inline message edits (#585) 2021-01-10 15:59:27 +01:00
Dan
7dda167c09 Update copyright notice
Year 2021
2021-01-01 22:58:48 +01:00
Dan
50c6207099 Actually fix inline callback queries coming from different DCs 2020-08-27 14:12:51 +02:00
Dan
bc62b3f6ae Implement a way to deal with failing inline requests
This is due to Telegram raising an error in case bots not
in DC4 try to communicate with chats that live in DC4.
2020-08-22 09:22:14 +02:00