Skip to content

Commit

Permalink
Update notifly.py
Browse files Browse the repository at this point in the history
  • Loading branch information
rexdivakar authored Oct 17, 2020
1 parent d441ea8 commit 7f27d90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion telegram/notifly.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def send_message(self, msg):
update_id = fetch_updates[0]['update_id']
return self.push_notification_msg(chat_id=chat_id, text=msg)

def send_file(self,img_path):
def send_image(self,img_path):
fetch_updates = self.get_updates()
chat_id = fetch_updates[0]['message']['chat']['id']
method = 'sendPhoto?'+'chat_id='+str(chat_id)
Expand Down

0 comments on commit 7f27d90

Please sign in to comment.