-
Notifications
You must be signed in to change notification settings - Fork 6k
Closed
Labels
ℹ️ good-first-issueinformation: good-first-issueinformation: good-first-issue📋 pending-mergework status: pending-mergework status: pending-merge
Description
Steps to reproduce
BOT.send_location(chat_id = TEST_CHAT_ID, latitude=0, longitude=0)Expected behaviour
Sending the location of the north pole
Actual behaviour
ValueError: Either location or latitude and longitude must be passed asargument.
Suggestion on how to solve
Do not use all function in
python-telegram-bot/telegram/bot.py
Line 1033 in 9d005d5
| if not (all([latitude, longitude]) or location): |
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
ℹ️ good-first-issueinformation: good-first-issueinformation: good-first-issue📋 pending-mergework status: pending-mergework status: pending-merge