MadelineProtoDocs/old_docs/API_docs_v71/constructors/updateUserPhone.md
2019-12-27 17:48:04 +01: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'}