Skip to content

Commit

Permalink
Fix send_voice serialization error
Browse files Browse the repository at this point in the history
  • Loading branch information
un1t authored and szastupov committed Sep 16, 2017
1 parent 5e00c61 commit 8d64f04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aiotg/chat.py
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ def send_voice(self, voice, **options):
"""
return self.bot.api_call(
"sendVoice",
chat_id=self.id,
chat_id=str(self.id),
voice=voice,
**options
)
Expand Down

0 comments on commit 8d64f04

Please sign in to comment.