We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is any way to use telegram.me/your_bot?start=XXXX with AnswerCallbackQuery ? Can you show me a sample code ?
telegram.me/your_bot?start=XXXX
AnswerCallbackQuery
The text was updated successfully, but these errors were encountered:
My code is :
package main import ( "log" "time" "os" "strings" "github.com/tucnak/telebot" ) func main() { bot, err := telebot.NewBot(os.Getenv("BOT_TOKEN")) if err != nil { log.Fatalln(err) } messages := make(chan telebot.Message) bot.Listen(messages, 1*time.Second) for message := range messages { if strings.HasPrefix(message.Text, "/start") { query := strings.Replace(message.Text, "/start", "", -1) query = strings.TrimSpace(query) log.Println(query) } } }
But I want to know is there any way to look it as a query with AnswerCallbackQuery or not
Sorry, something went wrong.
telegram.me/your_bot?start=XXXX is just deep-linking and it has nothing to do with AnswerCallbackQuery really.
No branches or pull requests
Is any way to use
telegram.me/your_bot?start=XXXX
withAnswerCallbackQuery
?Can you show me a sample code ?
The text was updated successfully, but these errors were encountered: