Hi all,
Based on Telegram Bot API documentation Telegram Bot API I created an action where I want to request a user location. But unfortunately I don’t get anything on a user side after this action call.
from rasa_core_sdk import Action
class ActionGetLocation(Action):
def name(self):
return "action_get_location"
def run(self, dispatcher, tracker, domain):
dispatcher.utter_custom_message({"text": "Can i get your location please?",
"reply_markup": { "keyboard": [[{ "text": "Send Location", "request_location": "true"}]]}})
return []
Does anyone know or had any experience how to request a user location in Telegram? Or any other messenger platforms?
Thanks a lot for any ideas!