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 -

How to put a lock and transaction on table using spring 4 or above using jdbcTemplate and annotations like @Transactional? -

How to understand 2 main() functions after using uftrace to profile the C++ program? -