diff options
author | Evgeny Zinoviev <me@ch1p.io> | 2022-05-17 10:38:27 +0300 |
---|---|---|
committer | Evgeny Zinoviev <me@ch1p.io> | 2022-05-17 23:50:21 +0300 |
commit | 6f965e85a633d3b7f7ab049076fb506c91275bea (patch) | |
tree | 5b3b7dff726483d86a74c7db4875f16c8ffb3fad /src/home/bot/wrapper.py | |
parent | f1b52a92201e7240519a5fe23cf9a52df013a910 (diff) |
initial camera support (only esp32-cam at the moment)
Diffstat (limited to 'src/home/bot/wrapper.py')
-rw-r--r-- | src/home/bot/wrapper.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/home/bot/wrapper.py b/src/home/bot/wrapper.py index 8651e90..8ebde4f 100644 --- a/src/home/bot/wrapper.py +++ b/src/home/bot/wrapper.py @@ -271,6 +271,9 @@ class Wrapper: text = exc2text(text) self.updater.bot.send_message(chat_id=user_id, text=text, parse_mode='HTML') + def send_photo(self, user_id, **kwargs): + self.updater.bot.send_photo(chat_id=user_id, **kwargs) + def send_audio(self, user_id, **kwargs): self.updater.bot.send_audio(chat_id=user_id, **kwargs) |