Add getParameter() to IncomingMessage class to enable deep linking
Opened this issue · 2 comments
johntiror commented
Some drivers have a deep linking mechanism, that allows for passing additional parameters to the bot on startup. It could be a command that launches the bot — or an auth token to connect the user's Telegram account to their account on some external service.
class IncomingMessage
{
/**
* @return string
*/
public function getParameter() {
}
}
This function MUST return the parameter passed in the link.
Note:
BerezhniyDmitro commented
+1
Deleted user commented
+1