Skip to content

Latest commit

 

History

History
71 lines (47 loc) · 2.8 KB

WhatsAppDetailRecord.md

File metadata and controls

71 lines (47 loc) · 2.8 KB

WhatsAppDetailRecord

Properties

Name Type Description Notes
id String WhatsApp Message Id [optional]
version String WhatsApp API Version [optional]
senderId String WhatsApp Sender Id [optional]
recipientId String WhatsApp Recipient Id [optional]
messageType MessageTypeEnum WhatsApp Message Type. Consult WhatsApp API documentation to see all available types [optional]
messageStatus MessageStatusEnum WhatsApp Message Status. Consult WhatsApp API documentation to see all available status [optional]
direction DirectionEnum Logical direction of the message from the Telnyx customer's perspective. It's inbound when the Telnyx customer receives the message, or outbound otherwise [optional]
recipientRegionCode String CLDR two-letter region-code of recipient [optional]
currency String Telnyx account currency used to describe monetary values, including billing cost [optional]
whatsappErrorCode String A string representing Whatsapp error code. Consult WhatsApp API documentation to see all available error codes [optional]
createdAt OffsetDateTime UTC time when the message was created [optional]
webhookReceivedAt OffsetDateTime UTC time when the webhook was received [optional]
webhookId String UUID representation of the webhook unique identifier [optional]
telnyxFee String Currency amount for Telnyx billing cost [optional]
whatsappFee String Currency amount for WhatsApp cost [optional]
conversationId String Whatsapp Conversation ID [optional]
conversationOrigin ConversationOriginEnum Whatsapp Conversation Origin [optional]
whatsappBusinessAccountId String Whatsapp Business Account ID [optional]
recordType String

Enum: MessageTypeEnum

Name Value
SESSION "session"
TEMPLATE "template"

Enum: MessageStatusEnum

Name Value
SENT "sent"
DELIVERED "delivered"
READ "read"
FAILED "failed"
DELETED "deleted"

Enum: DirectionEnum

Name Value
INBOUND "inbound"
OUTBOUND "outbound"

Enum: ConversationOriginEnum

Name Value
BUSINESS_INITIATED "business_initiated"
USER_INITIATED "user_initiated"
REFERRAL_CONVERSION "referral_conversion"