tock / ai.tock.bot.connector.messenger.model.send

Package ai.tock.bot.connector.messenger.model.send

Messenger connector "send" model

Types

ActionRequest

data class ActionRequest

Attachment

data class Attachment

AttachmentMessage

class AttachmentMessage : Message

AttachmentType

enum class AttachmentType

Button

abstract class Button : UserAction

ButtonPayload

See https://developers.facebook.com/docs/messenger-platform/send-messages/template/button

data class ButtonPayload : ModelPayload

ButtonType

enum class ButtonType

CallButton

data class CallButton : Button

CustomEvent

data class CustomEvent

CustomEventRequest

data class CustomEventRequest

Element

List or generic template subElements.

data class Element

EmailQuickReply

class EmailQuickReply : QuickReply

GenericPayload

data class GenericPayload : ModelPayload

ListElementStyle

enum class ListElementStyle

ListPayload

See https://developers.facebook.com/docs/messenger-platform/send-api-reference/list-template

data class ListPayload : ModelPayload

LocationQuickReply

class LocationQuickReply : QuickReply

LoginButton

data class LoginButton : Button

LogoutButton

class LogoutButton : Button

MediaElement

See https://developers.facebook.com/docs/messenger-platform/reference/template/media.

data class MediaElement

MediaPayload

A Media payload see https://developers.facebook.com/docs/messenger-platform/send-messages/template/media.

data class MediaPayload : ModelPayload

MediaType

enum class MediaType

Message

abstract class Message : MessengerConnectorMessage

MessageRequest

data class MessageRequest

MessageTag

enum class MessageTag

MessagingType

Messaging type. See https://developers.facebook.com/docs/messenger-platform/send-messages#messaging_types.

enum class MessagingType

ModelPayload

abstract class ModelPayload : Payload

NotificationType

cf https://developers.facebook.com/docs/messenger-platform/send-api-reference#request

enum class NotificationType

Payload

abstract class Payload

PayloadType

enum class PayloadType

PostbackButton

data class PostbackButton : Button

QuickReply

abstract class QuickReply : UserAction

QuickReplyContentType

enum class QuickReplyContentType

ReferralIdentifierType

enum class ReferralIdentifierType

SenderAction

enum class SenderAction

SendResponse

data class SendResponse

SendResponseError

data class SendResponseError

SendResponseErrorContainer

data class SendResponseErrorContainer

SourceType

enum class SourceType

TextMessage

class TextMessage : Message

TextQuickReply

data class TextQuickReply : QuickReply

UrlButton

data class UrlButton : Button

UrlPayload

data class UrlPayload : Payload

UserAction

Generic interface for messenger user action ( Button or QuickReply ).

interface UserAction