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

'hasOwnProperty' in javascript -

python - ValueError: No axis named 1 for object type <class 'pandas.core.series.Series'> -

java - How to provide dependency injections in Eclipse RCP 3.x? -