/nearby, subscriptions check, geocoding #2

Merged
profitroll merged 30 commits from dev into master 2023-01-02 12:16:38 +02:00
Showing only changes of commit 87d9afe74a - Show all commits

View File

@ -254,11 +254,11 @@ class HoloUser():
elif animation is not None:
if isinstance(animation, Animation):
animation = animation.file_id
new_message = await app.send_animation(animation, caption=caption, quote=True)
new_message = await app.send_animation(self.id, animation, caption=caption)
elif voice is not None:
if isinstance(voice, Voice):
voice = voice.file_id
new_message = await app.send_voice(voice, caption=caption, quote=True)
new_message = await app.send_voice(self.id, voice, caption=caption)
else:
new_message = await app.send_message(self.id, text)