UserMessageUpdateParams
public final class UserMessageUpdateParams: BaseMessageUpdateParams
The UserMessageUpdateParams class is used to update a user message in BaseChannel. This is a child class of BaseMessageUpdateParams.
Since
4.0.0-
Message text.
Declaration
Swift
public var message: String? -
Links a poll with message, to unlink set it -1
Declaration
Swift
public var pollId: Int64 = 0 -
The template for the message that has the mentioned users.
Declaration
Swift
public var mentionedMessageTemplate: String? -
Initializes an user message params for update
Declaration
Swift
public override init() -
Initializes an instance of a user message params with message.
Declaration
Swift
public init(message: String? = nil)Parameters
messageThe message to text.
-
Copies this object
Declaration
Swift
public override func copy(with zone: NSZone? = nil) -> AnyParameters
zoneoptional
NSZoneReturn Value
UserMessageUpdateParamsinstance -
Encodes this object.
Declaration
Swift
public override func encode(to encoder: Encoder) throwsParameters
encoderEncoderinstance
View on GitHub
Install in Dash