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
Post a Comment