MadelineProtoDocs/old_docs/API_docs_v14/constructors/updateUserPhone.md

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'}