package
7.1.0
Repository: https://github.com/messagebird/go-rest-api.git
Documentation: pkg.go.dev

# Functions

CreateMessage sends a new message to the specified conversation.
CreateWebhook registers a webhook that is invoked when something interesting happens.
CurrencyLocalizableHSMParameter gets a parameter that localizes a currency.
DateTimeLocalizableHSMParameter gets a parameter that localizes a DateTime.
DefaultLocalizableHSMParameter gets a simple parameter with a default value that will do a simple string replacement.
DeleteWebhook ensures an existing webhook is deleted and no longer triggered.
List gets a collection of Conversations.
ListMessages gets a collection of messages from a conversation.
ListWebhooks gets a collection of webhooks.
Read fetches a single Conversation based on its ID.
ReadMessage gets a single message based on its ID.
ReadWebhook gets a single webhook based on its ID.
Start creates a conversation by sending an initial message.
Update changes the conversation's status, so this can be used to (un)archive conversations.
UpdateWebhook updates a single webhook based on its ID with any values set in WebhookUpdateRequest.

# Constants

ConversationStatusActive is returned when the Conversation is active.
ConversationStatusArchived is returned when the Conversation is archived.
HSMLanguagePolicyDeterministic will deliver the message template exactly in the language and locale asked for.
HSMLanguagePolicyFallback will deliver the message template in the user's device language.
MessageDirectionReceived indicates an inbound message received from the customer.
MessageDirectionSent indicates an outbound message sent from the API.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
WebhookStatusDisabled indictates that the webhook is disabled.
WebhookStatusEnabled indictates that the webhook is enabled.

# Variables

DefaultListOptions provide a reasonable default for paginated endpoints.

# Structs

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
HSM is a pre-approved, reusable message template required when messaging over WhatsApp.
HSMLanguage is used to set the message's locale.
HSMLocalizableParameter are used to replace the placeholders in the message template.
No description provided by the author
ListOptions can be used to set pagination options in List().
No description provided by the author
No description provided by the author
No description provided by the author
MessageContent holds a message's actual content.
No description provided by the author
No description provided by the author
No description provided by the author
StartRequest contains the request data for the Start endpoint.
UpdateRequest contains the request data for the Update endpoint.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Type aliases

No description provided by the author
ConversationStatus indicates what state a Conversation is in.
No description provided by the author
HSMLanguagePolicy sets how the provided language is enforced.
No description provided by the author
No description provided by the author
MessageStatus is a field set by the API.
MessageType indicates what kind of content a Message has, e.g.
No description provided by the author
No description provided by the author
WebhookStatus indicates what state a Webhook is in.