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

    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