SBDUserMessageParams Class Reference

Inherits from SBDBaseMessageParams : NSObject
Declared in SBDUserMessageParams.h

Overview

The SBDUserMessageParams class is used to send a user message in SBDBaseChannel. This is a child class of SBDBaseMessageParams.

  message

Message text.

@property (copy, nonatomic, nonnull) NSString *message

Availability

3.0.90

Declared In

SBDUserMessageParams.h

  targetLanguages

The target languages that the message will be translated into.

@property (copy, nonatomic, nullable) NSArray<NSString*> *targetLanguages

Availability

3.0.90

Declared In

SBDUserMessageParams.h

  pollId

Links a poll with message, to unlink set it -1l

@property (atomic, assign) long long pollId

Availability

3.0.232

Declared In

SBDUserMessageParams.h

  mentionedMessageTemplate

The template for the message that has the mentioned users.

@property (strong, nullable) NSString *mentionedMessageTemplate

Availability

3.1.11

Declared In

SBDUserMessageParams.h

– init

Don’t use this initializer. Initializes an instance of a user message params.

- (nonnull instancetype)init

Return Value

nil as this method is unavailable.

Availability

3.0.90

Declared In

SBDUserMessageParams.h

– initWithMessage:

Initializes an instance of a user message params with message.

- (nullable instancetype)initWithMessage:(nonnull NSString *)message

Parameters

message

The message to text.

Return Value

An initialized user message params, used to send user message.

Availability

3.0.90

Declared In

SBDUserMessageParams.h