I am using github.com/go-telegram-bot-api to create my bot. I want to ask location of the client. How do I do it? So far I did this:
updates, err := bot.GetUpdatesChan(u)
for update := range updates {
if update.Message == nil {
continue
}
switch update.Message.Text {
case "/shop":
msg := tgbotapi.NewMessage(update.Message.Chat.ID,"Send me your location")
//I need to make this message ask for the location
msg.Text = tgbotapi.ChatFindLocation
bot.Send(msg)
continue
}
}