users.validateCode

Syntax

mixed users.validateCode ( int vhost, int uid = 0, string phone = false, string email = false, string username = false, int verificationCode = false )

Argument Info

NameTypeRequiredDefault valueDescription
vhostintRequirednoneID of the application that the media is in.
uidintOptional0ID of the user.
phonestringOptionalfalsenumber of the user.
emailstringOptionalfalseaddress of the user.
usernamestringOptionalfalseusername of the user.
verificationCodeintOptionalfalseThe previously generated code, sent to user via email or sms

Return Values

FieldDescriptionPossible Values