Events
type AdInteractionEvent
AdInteractionEvent represents an ad interaction event.
func NewAdInteractionEvent
NewAdInteractionEvent creates a new instance of AdInteractionEvent.
type AdInteractionSourceMediaType
AdInteractionSourceMediaType represents the media type of an ad interaction source.
type AdInteractionSourceType
AdInteractionSourceType represents the source type of an ad interaction.
type AdSource
AdSource represents the source of an ad.
type AudioMessageEvent
AudioMessageEvent represents an event for an audio message.
func NewAudioMessageEvent
NewAudioMessageEvent creates a new AudioMessageEvent instance.
type BaseEvent
type BaseMediaMessageEvent
BaseMediaMessageEvent represents a base media message event which contains media information.
type BaseMessageEvent
func NewBaseMessageEvent
func (BaseMessageEvent) GetEventType
func (*BaseMessageEvent) React
React to the message
func (*BaseMessageEvent) Reply
Reply to the message
type BaseMessageEventInterface
type BaseSystemEvent
func (BaseSystemEvent) GetEventType
type BaseSystemEventInterface
type ContactsMessageEvent
ContactsMessageEvent represents an event that occurs when a message with contacts is received.
func NewContactsMessageEvent
NewContactsMessageEvent creates a new ContactsMessageEvent instance.
type CustomerIdentityChangedEvent
type CustomerNumberChangedEvent
type DocumentMessageEvent
DocumentMessageEvent represents an event that occurs when a document message is received.
func NewDocumentMessageEvent
NewDocumentMessageEvent creates a new DocumentMessageEvent instance.
type EventType
type ImageMessageEvent
ImageMessageEvent represents an event for an image message.
func NewImageMessageEvent
NewImageMessageEvent creates a new ImageMessageEvent instance.
type ListInteractionEvent
ListInteractionEvent represents an interaction event related to a list.
func NewListInteractionEvent
NewListInteractionEvent creates a new ListInteractionEvent instance.
type LocationMessageEvent
LocationMessageEvent represents an event that contains a location message.
func NewLocationMessageEvent
NewLocationMessageEvent creates a new LocationMessageEvent instance.
type MessageContext
type MessageDeliveredEvent
MessageDeliveredEvent represents an event related to an undelivered message.
func NewMessageDeliveredEvent
MessageDeliveredEvent creates a new instance of MessageUndeliveredEvent.
type MessageFailedEvent
func NewMessageFailedEvent
type MessageReadEvent
MessageReadEvent represents an event indicating that a message has been read.
func NewMessageReadEvent
NewMessageReadEvent creates a new instance of MessageReadEvent.
type MessageSentEvent
MessageSentEvent represents an event indicating that a message has been sent.
func NewMessageSentEvent
NewMessageSentEvent creates a new instance of MessageSentEvent.
type MessageUndeliveredEvent
MessageUndeliveredEvent represents an event related to an undelivered message.
func NewMessageUndeliveredEvent
NewMessageUndeliveredEvent creates a new instance of MessageUndeliveredEvent.
type OrderEvent
OrderEvent represents an event related to an order.
func NewOrderEvent
NewOrderEvent creates a new OrderEvent instance.
type ProductInquiryEvent
ProductInquiryEvent represents an event related to a product inquiry.
func NewProductInquiryEvent
NewProductInquiryEvent creates a new instance of ProductInquiryEvent.
type QuickReplyButtonInteractionEvent
QuickReplyButtonInteractionEvent represents an event triggered when a user interacts with a quick reply button.
func NewQuickReplyButtonInteractionEvent
NewQuickReplyButtonInteractionEvent creates a new instance of QuickReplyButtonInteractionEvent.
type ReactionMessageEvent
ReactionMessageEvent represents an event that occurs when a reaction is added to a message.
func NewReactionMessageEvent
NewReactionMessageEvent creates a new ReactionMessageEvent instance.
type ReadyEvent
ReadyEvent represents an event that is triggered when the system is ready.
func NewReadyEvent
NewReadyEvent creates a new instance of ReadyEvent.
type ReplyButtonInteractionEvent
ReplyButtonInteractionEvent represents an interaction event triggered by a reply button.
func NewReplyButtonInteractionEvent
NewReplyButtonInteractionEvent creates a new instance of ReplyButtonInteractionEvent.
type StickerMessageEvent
StickerMessageEvent represents an event for a sticker message.
func NewStickerMessageEvent
NewStickerMessageEvent creates a new StickerMessageEvent instance.
type TextMessageEvent
TextMessageEvent represents an event for a text message.
func NewTextMessageEvent
NewTextMessageEvent creates a new TextMessageEvent instance.
type VideoMessageEvent
VideoMessageEvent represents a WhatsApp video message event.
func NewVideoMessageEvent
NewVideoMessageEvent creates a new VideoMessageEvent instance.