AdminMessage

@objc(SBDAdminMessage)
open class AdminMessage : BaseMessage

The AdminMessage class represents a message which is sent by an admin via Platform API. The admin message doesn’t have a sender. This message is sutable for a notice to inform the members in a group channel or the participants in an open channel. If you would like to know about the Platform API for the message, see Send a message.

  • Encodes this object.

    Declaration

    Swift

    open override func encode(to encoder: Encoder) throws

    Parameters

    encoder

    Encoder instance