MadelineProtoDocs/old_docs/API_docs_v34/constructors/updateUserPhone.md
2020-06-16 17:50:25 +02:00

760 B

title description image
updateUserPhone A user's phone number was changed https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: updateUserPhone

Back to constructors index

A user's phone number was changed

Attributes:

Name Type Required Description
user_id int Yes User ID
phone string Yes New phone number

Type: Update

Example:

$updateUserPhone = ['_' => 'updateUserPhone', 'user_id' => int, 'phone' => 'string'];

Or, if you're into Lua:

updateUserPhone={_='updateUserPhone', user_id=int, phone='string'}