--- title: auth.codeTypeSms description: Auth code type: SMS image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Constructor: auth.codeTypeSms [Back to constructors index](index.md) Auth code type: SMS ### Type: [auth\_CodeType](../types/auth_CodeType.md) ### Example: ```php $auth_codeTypeSms = ['_' => 'auth.codeTypeSms']; ``` [PWRTelegram](https://pwrtelegram.xyz) json-encoded version: ``` {"_": "auth.codeTypeSms"} ``` Or, if you're into Lua: ```lua auth_codeTypeSms={_='auth.codeTypeSms'} ```