Protocols

The following protocols are available globally.

  • A standard protocol representing a message. Use this protocol to create your own message object to be used by MessageKit.

    See more

    Declaration

    Swift

    public protocol MessageType
  • A protocol used to represent the data for a media message.

    See more

    Declaration

    Swift

    public protocol MediaItem
  • A protocol used to handle tap events on detected text.

    See more

    Declaration

    Swift

    public protocol MessageLabelDelegate: AnyObject
  • A protocol used to represent the data for a location message.

    See more

    Declaration

    Swift

    public protocol LocationItem
  • A protocol that can receive different event notifications from the MessageInputBar.

    See more

    Declaration

    Swift

    public protocol MessageInputBarDelegate: AnyObject