Are there ways for an aiogram bot to request a user action which would send user’s location to the bot? User action could be for instance:
InlineKeyboardButton
, orReplyKeyboardButton
.
Thanks!
Are there ways for an aiogram bot to request a user action which would send user’s location to the bot? User action could be for instance:
InlineKeyboardButton
, orReplyKeyboardButton
.Thanks!
2
Answers
Here is a way to do this with a
ReplyKeyboardButton
.To be able to send geolocation through the buttons you have to write for example like this: