UserMessageCreateParams
public final class UserMessageCreateParams: BaseMessageCreateParams
An object contains a set of options to create UserMessage.
Since
3.0.90-
Message text.
Declaration
Swift
public var message: String -
The target languages that the message will be translated into.
Declaration
Swift
public var translationTargetLanguages: [String]? -
Links a poll with message, to unlink set it -1
Since
4.1.0Declaration
Swift
public var pollId: Int64 -
The template for the message that has the mentioned users.
Declaration
Swift
public var mentionedMessageTemplate: String? -
Default construrctor
Declaration
Swift
public init(message: String)Parameters
messageThe message to text.
Return Value
An initialized user message params
-
Copies this object
Declaration
Swift
public override func copy(with zone: NSZone? = nil) -> AnyParameters
zoneoptional
NSZoneReturn Value
UserMessageCreateParamsinstance -
Encodes this object.
Declaration
Swift
public override func encode(to encoder: Encoder) throwsParameters
encoderEncoderinstance -
Default constructor.
Declaration
Swift
public required init(from decoder: Decoder) throwsParameters
decoderDecoderinstance
View on GitHub
Install in Dash