MessageChannel

public class MessageChannel : Item

A chat is a collection of messages.

  • The name of the item.

    Declaration

    Swift

    @objc
    dynamic var name: String?
  • The topic of an item, for instance a Chat.

    Declaration

    Swift

    @objc
    dynamic var topic: String?
  • Whether the item is encrypted.

    Declaration

    Swift

    @objc
    dynamic var encrypted: Bool
  • A photo object.

    Declaration

    Swift

    var photo: Results<Photo>? { get }
  • The account that received, or is to receive, this Item.

    Declaration

    Swift

    var receiver: Results<Account>? { get }
  • Undocumented

    Declaration

    Swift

    public required convenience init(from decoder: Decoder) throws