API Reference

Users.validateCode



Syntax

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

Arguments

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

Sample Response

Code examples

0 comments

Be the first to comment on validateCode.

Add a Comment

  • captcha