Classes

The following classes are available globally.

  • Undocumented

    See more

    Declaration

    Swift

    @objc
    public final class CometChat : NSObject
  • Action messages are received for real-time group events. The action message class has the following variables.

    See more

    Declaration

    Swift

    public class ActionMessage : BaseMessage
  • Undocumented

    Declaration

    Swift

    public class AppEntity : NSObject
  • Provides information of the Attachments

    See more

    Declaration

    Swift

    public class Attachment : NSObject
  • Base message class is the parent class of different types of messages. When the list of messages is fetched the user gets messages in type BaseMessage class.

    See more

    Declaration

    Swift

    public class BaseMessage : AppEntity
  • Call messages are received for call events like call initiated, accepted, missed, rejected.

    See more

    Declaration

    Swift

    public class Call : BaseMessage
  • Conversation class contains information of the user last messages.

    See more

    Declaration

    Swift

    public class Conversation : AppEntity
  • contains information of user.

    Declaration

    Swift

    public class CurrentUser : User
  • Custom Messages are used when you want to send messages that do not fit in any default categories provided

    See more

    Declaration

    Swift

    public class CustomMessage : BaseMessage
  • The group member class is child class of user class.

    See more

    Declaration

    Swift

    public class GroupMember : User