Telegraf: callbackButton start link

Created on 12 Jun 2017  Â·  3Comments  Â·  Source: telegraf/telegraf

Is it currently possible to start a link directly from the callbackButton ?
(now i have to send the link first as a reply. -- the user has to tap two times)

question

Most helpful comment

@Bostrot you can use urlButton

All 3 comments

Point of entry telegram start command. But you can across
bot.command('start')

return ctx.reply(
"Some message",
Extra.HTML().markup(m =>
m.inlineKeyboard([m.callbackButton("â–¶ Start", "startt")])
)
);
}

@Shoyad thanks for the reply but that is not what I mean. I mean: if its is possible to start a website url directly over the callbackButton.

-> Example: You click on the Button and it opens the popup ('Open url https://google.com/'?)

@Bostrot you can use urlButton

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Stephirio picture Stephirio  Â·  3Comments

kmahsi picture kmahsi  Â·  3Comments

bostrot picture bostrot  Â·  3Comments

wilcorrea picture wilcorrea  Â·  3Comments

MohGanji picture MohGanji  Â·  3Comments