Send Text Consulting
Last updated
Last updated
Request:
Response:
Request body structure
text
string
Message content
id
int64
OA ID
user_id
string
Zalo User ID
Return data attribute structure
direction
string (nzMessageDirection)
in
out
msg_id
string
Notification ID
oa_id
string
OA ID
expired_date
string
Expiration date of Free Consulting news according to OA vervice package
remain
string
Number of messages sent Free consultation within the remaining 8 messages 48 hours limit (Messages sent are messages within the 8 messages 48 hour frame - "reply")
Number of messages sent for Free Consulting according to the remaining OA service package (Messages sent are messages within the free limit of the package - โsub_quotaโ)
total
string
Total number of messages sent Free consultation according to OA service package
owner_id
Entity ID owning Quota Package Value: OA ID or App ID
owner_type
string
Quota Package Owning Entity Value: OA: Owning entity is OA App: Owning entity is App
quota_type
string
Quota source used Carrying value: โreplyโ : Message sent out is message within 8 messages 48h frame โsub_quotaโ : Message sent out is message within free limit of package โpurchase_quotaโ : Message sent out is message within limit of odd feature package โreward_quotaโ : Message sent out is message within limit of Redeem code
recipient_id
string
Recipient ID
sender_id
string
Sender ID
shop_id
string
Shop ID on eTelecom
type
string (vqUIDType)
"unknown" "text" "audio" "video" "photo" "GIF" "link" "file" "sticker" "location" "business_card"
user_id
string
User ID on eTelecom