AVShortMessageRequestOptions Class Reference

Inherits from AVDynamicObject : NSObject
Declared in AVSMS.h

  TTL

Time to live of validation information, in minutes. Defaults to 10 minutes.

@property (nonatomic, assign) NSInteger TTL

Discussion

Time to live of validation information, in minutes. Defaults to 10 minutes.

Declared In

AVSMS.h

  type

The representation or form of short message.

@property (nonatomic, assign) AVShortMessageType type

Discussion

The representation or form of short message.

Declared In

AVSMS.h

  validationToken

Token used to validate short message request.

@property (nonatomic, copy, nullable) NSString *validationToken

Discussion

Token used to validate short message request.

Declared In

AVSMS.h

  templateName

Template name of text short message.

@property (nonatomic, copy, nullable) NSString *templateName

Discussion

Template name of text short message.

Note: If not specified, the default validation message will be requested.

Declared In

AVSMS.h

  templateVariables

A set of key value pairs that will fill in template placeholders.

@property (nonatomic, strong, nullable) NSDictionary *templateVariables

Discussion

A set of key value pairs that will fill in template placeholders.

Note: You should not use the placeholders listed here in your template: mobilePhoneNumber, ttl, smsType, template and sign.

Declared In

AVSMS.h

  signatureName

Signature name of text short message.

@property (nonatomic, copy, nullable) NSString *signatureName

Discussion

Signature name of text short message.

It will be placed ahead of text short message.

Declared In

AVSMS.h

  applicationName

Application name showed in validation message.

@property (nonatomic, copy, nullable) NSString *applicationName

Discussion

Application name showed in validation message.

It fills the placeholder {{name}} in default validation message template. If not given, the application name in LeanCloud console will be used.

Declared In

AVSMS.h

  operation

The operation description showed in validation message.

@property (nonatomic, copy, nullable) NSString *operation

Discussion

The operation description showed in validation message.

It fills the placeholder {{op}} in default validation message template.

Declared In

AVSMS.h