Php Telegram Bot Get userid -


how can usernames of members of telegram robot?
robot written in php.

$user_lastname=$mybot->message->from->?????; 

here simple code, should lookup official document details.

$user_firstname=$mybot->message->from->first_name; $user_lastname=$mybot->message->from->last_name; $user_username=$mybot->message->from->username; $user_uid=$mybot->message->from->id; 

you can try @rawdatabot debug.


Comments

Popular posts from this blog

javascript - Confirm a form & display message if form is valid with JQuery -

Retrieving ETA (estimated time of arrival) with Google Distance Matrix API and public transit as transport mode -

ionic framework - Meteor - Error: Failed to execute 'insertBefore' on 'Node' -