UserMessageUpdateParams

@objc(SBDUserMessageUpdateParams)
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

    @objc
    public var message: String?
  • Links a poll with message, to unlink set it -1

    Declaration

    Swift

    @objc
    public var pollId: Int64
  • The template for the message that has the mentioned users.

    Declaration

    Swift

    @objc
    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

    @objc
    public init(message: String? = nil)

    Parameters

    message

    The message to text.

  • Copies this object

    Declaration

    Swift

    public override func copy(with zone: NSZone? = nil) -> Any

    Parameters

    zone

    optional NSZone

    Return Value

    UserMessageUpdateParams instance

  • Encodes this object.

    Declaration

    Swift

    public override func encode(to encoder: Encoder) throws

    Parameters

    encoder

    Encoder instance