MadelineProtoDocs/old_docs/API_docs_v23/constructors/updateUserPhone.md
Daniil Gentili f73c175203 Update docs
2018-12-26 01:56:50 +00:00

848 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'];

PWRTelegram json-encoded version:

{"_": "updateUserPhone", "user_id": int, "phone": "string"}

Or, if you're into Lua:

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