ThreadInfoUpdateEvent

public final class ThreadInfoUpdateEvent: NSObject, Codable, SBCommand

An object that is returned through the event handler when a threaded reply is added or deleted.

This object should be applied to the parent message.

Since

3.0.181
  • An object that has the information about threaded messages.

    Declaration

    Swift

    public let threadInfo: ThreadInfo
  • The unique ID of the message that contains thread information.

    Declaration

    Swift

    public let targetMessageId: Int64
  • The unique URL of the channel where threaded messages belong.

    Declaration

    Swift

    public let channelURL: String
  • The type of the channel where threaded messages belong.

    Declaration

    Swift

    public let channelType: ChannelType
  • Declaration

    Swift

    public required init(from decoder: Decoder) throws
  • Declaration

    Swift

    public func encode(to encoder: Encoder) throws