MadelineProtoDocs/old_docs/API_docs_v57/constructors/updateUserPhone.md

717 B

title description image
updateUserPhone Update user phone https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: updateUserPhone

Back to constructors index

Update user phone

Attributes:

Name Type Required Description
user_id int Yes User ID
phone string Yes Phone

Type: Update

Example:

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

Or, if you're into Lua:

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