Lukket

Using telegram KeyboardButton in dialogflow to get user's phone number sent as a contact when the button is pressed.

the function below is supposed to provides the fulfillment to the share_your_phone_number intent.

When the intent is invoked, the share your phone number keyboard is displayed for the user in telegram.

The same thing is applicable to the share_your_location intent.

function share_your_phone_number(agent) {

[login to view URL](`Welcome Here.`);

[login to view URL](new Payload("telegram", {

"text": "Please click on button below to share your number",

"reply_markup": {

"one_time_keyboard": true,

"resize_keyboard": true,

"keyboard": [

[

{

"text": "Share my phone number",

"callback_data": "phone",

"request_contact": true

}

],

[

{

"text": "Cancel",

"callback_data": "Cancel"

}

]

]

}

}

));

}

You are required to create a functional code that is able to return the keyboard button and

you are required to create a function that retrieves the return data and store in a function for use or sent to an API for processing.

Please note the environment is the Dialogflow inline editor

Evner: node.js

Se mere: how to get phone number from telegram group, how to see phone number in telegram group, telegram api, how to make a responsive telegram bot, telegram bot get phone number, telegram request location, telegram bot tutorial, telegram share phone number, oscommerce phone number field contact, condition checking phone number greater using validations, save phone number database form using javascript, extract country code phone number using, orkut api check user information email phone number, sign page customers create user account entering basic information address email phone number agree terms conditionsaccount emai, mobile website login using phone number, user location phone number, add someone's phone number to telemarketing list, php developers hr's phone number in kolkata, u.s phone number list , android get phone number from contact uri

Om arbejdsgiveren:
( 2 bedømmelser ) Lagos, Nigeria

Projekt ID: #18846192

1 freelancer byder i gennemsnit $25 på dette job

programdev0001

hi, sir . i have been completed project like this. I can do it in 2 hours. please check me. thanks. best regard.

$25 USD på 1 dag
(1 bedømmelse)
0.0