Send message Consulting with attached photo

Note:

  • For APIs used for Shop, the API key is: <api_key>. The base_url information of the Shop.

  • For APIs used for Partner, the API key is: <shop_key>. The base_url information of the Partner.

OASendImage

post
Body
oa_idstring · int64Optional
Responses
200

A successful response

application/json
post
/v1/shop.Zalo/OASendImage
200

A successful response

Request:

Response:

Request body structure

Parameters
Data type
Describe

attachment_id

string

Image ID, obtained using the upload API

image_url

string

Image URL

id

string

OA ID

user_id

string

Zalo User ID

Return data attribute structure

Parameters
Data type
Describe

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

Last updated