Type Aliases

The following type aliases are available globally.

  • A typealias for a custom controller send closure (called when the custom controller is closed).

    • value: the message content to use for the message that will be sent.
    • contextObjects: the context objects to add/update in the chat conversation.
    • option: the message sending option.

    Declaration

    Swift

    public typealias EPMessageSendClosure = ((_ value: EPMessageContent, _ contextObjects: [EPContextObject], _ option: EPMessageSendingOption?) -> ())
  • Block type for block called on message sending.

    Declaration

    Swift

    public typealias EPSendOptionClosure = ((_ option: EPMessageSendingOption) -> ())