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

android - ConstraintLayout: Realign baseline constraint in case if dependent view visibility was set to GONE -

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

c# - Update a combobox from a presenter (MVP) -