validops-east-1's picture
restructure repo into production layout; add whatsapp-service, tests, ddl, docs, scripts; scrub hardcoded secrets
83d6851
Raw
History Blame Contribute Delete
496 kB
// Package docs Code generated by swaggo/swag. DO NOT EDIT
package docs
import "github.com/swaggo/swag"
const docTemplate = `{
"schemes": {{ marshal .Schemes }},
"swagger": "2.0",
"info": {
"description": "{{escape .Description}}",
"title": "{{.Title}}",
"contact": {},
"version": "{{.Version}}"
},
"host": "{{.Host}}",
"basePath": "{{.BasePath}}",
"paths": {
"/call/reject": {
"post": {
"description": "Reject call",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"Call"
],
"summary": "Reject call",
"parameters": [
{
"description": "Call data",
"name": "message",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/agentdeck-whatsapp-service_pkg_call_service.RejectCallStruct"
}
}
],
"responses": {
"200": {
"description": "success",
"schema": {
"$ref": "#/definitions/gin.H"
}
},
"500": {
"description": "Internal server error",
"schema": {
"$ref": "#/definitions/gin.H"
}
}
}
}
},
"/chat/archive": {
"post": {
"description": "Archive a chat",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"Chat"
],
"summary": "Archive a chat",
"parameters": [
{
"description": "Chat",
"name": "message",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/agentdeck-whatsapp-service_pkg_chat_service.BodyStruct"
}
}
],
"responses": {
"200": {
"description": "success",
"schema": {
"$ref": "#/definitions/gin.H"
}
},
"400": {
"description": "Error on validation",
"schema": {
"$ref": "#/definitions/gin.H"
}
},
"500": {
"description": "Internal server error",
"schema": {
"$ref": "#/definitions/gin.H"
}
}
}
}
},
"/chat/history-sync": {
"post": {
"description": "HistorySyncRequest a chat",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"Chat"
],
"summary": "HistorySyncRequest a chat",
"parameters": [
{
"description": "Chat",
"name": "message",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/agentdeck-whatsapp-service_pkg_chat_service.HistorySyncRequestStruct"
}
}
],
"responses": {
"200": {
"description": "success",
"schema": {
"$ref": "#/definitions/gin.H"
}
},
"400": {
"description": "Error on validation",
"schema": {
"$ref": "#/definitions/gin.H"
}
},
"500": {
"description": "Internal server error",
"schema": {
"$ref": "#/definitions/gin.H"
}
}
}
}
},
"/chat/mute": {
"post": {
"description": "Mute a chat",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"Chat"
],
"summary": "Mute a chat",
"parameters": [
{
"description": "Chat",
"name": "message",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/agentdeck-whatsapp-service_pkg_chat_service.BodyStruct"
}
}
],
"responses": {
"200": {
"description": "success",
"schema": {
"$ref": "#/definitions/gin.H"
}
},
"400": {
"description": "Error on validation",
"schema": {
"$ref": "#/definitions/gin.H"
}
},
"500": {
"description": "Internal server error",
"schema": {
"$ref": "#/definitions/gin.H"
}
}
}
}
},
"/chat/pin": {
"post": {
"description": "Pin a chat",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"Chat"
],
"summary": "Pin a chat",
"parameters": [
{
"description": "Chat",
"name": "message",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/agentdeck-whatsapp-service_pkg_chat_service.BodyStruct"
}
}
],
"responses": {
"200": {
"description": "success",
"schema": {
"$ref": "#/definitions/gin.H"
}
},
"400": {
"description": "Error on validation",
"schema": {
"$ref": "#/definitions/gin.H"
}
},
"500": {
"description": "Internal server error",
"schema": {
"$ref": "#/definitions/gin.H"
}
}
}
}
},
"/chat/unarchive": {
"post": {
"description": "Unarchive a chat",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"Chat"
],
"summary": "Unarchive a chat",
"parameters": [
{
"description": "Chat",
"name": "message",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/agentdeck-whatsapp-service_pkg_chat_service.BodyStruct"
}
}
],
"responses": {
"200": {
"description": "success",
"schema": {
"$ref": "#/definitions/gin.H"
}
},
"400": {
"description": "Error on validation",
"schema": {
"$ref": "#/definitions/gin.H"
}
},
"500": {
"description": "Internal server error",
"schema": {
"$ref": "#/definitions/gin.H"
}
}
}
}
},
"/chat/unmute": {
"post": {
"description": "Unmute a chat",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"Chat"
],
"summary": "Unmute a chat",
"parameters": [
{
"description": "Chat",
"name": "message",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/agentdeck-whatsapp-service_pkg_chat_service.BodyStruct"
}
}
],
"responses": {
"200": {
"description": "success",
"schema": {
"$ref": "#/definitions/gin.H"
}
},
"400": {
"description": "Error on validation",
"schema": {
"$ref": "#/definitions/gin.H"
}
},
"500": {
"description": "Internal server error",
"schema": {
"$ref": "#/definitions/gin.H"
}
}
}
}
},
"/chat/unpin": {
"post": {
"description": "Unpin a chat",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"Chat"
],
"summary": "Unpin a chat",
"parameters": [
{
"description": "Chat",
"name": "message",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/agentdeck-whatsapp-service_pkg_chat_service.BodyStruct"
}
}
],
"responses": {
"200": {
"description": "success",
"schema": {
"$ref": "#/definitions/gin.H"
}
},
"400": {
"description": "Error on validation",
"schema": {
"$ref": "#/definitions/gin.H"
}
},
"500": {
"description": "Internal server error",
"schema": {
"$ref": "#/definitions/gin.H"
}
}
}
}
},
"/community/add": {
"post": {
"description": "Add participant to community",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"Community"
],
"summary": "Add participant to community",
"parameters": [
{
"description": "Participant data",
"name": "message",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/agentdeck-whatsapp-service_pkg_community_service.AddParticipantStruct"
}
}
],
"responses": {
"200": {
"description": "success",
"schema": {
"$ref": "#/definitions/gin.H"
}
},
"400": {
"description": "Error on validation",
"schema": {
"$ref": "#/definitions/gin.H"
}
},
"500": {
"description": "Internal server error",
"schema": {
"$ref": "#/definitions/gin.H"
}
}
}
}
},
"/community/create": {
"post": {
"description": "Create community",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"Community"
],
"summary": "Create community",
"parameters": [
{
"description": "Community data",
"name": "message",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/agentdeck-whatsapp-service_pkg_community_service.CreateCommunityStruct"
}
}
],
"responses": {
"200": {
"description": "success",
"schema": {
"$ref": "#/definitions/gin.H"
}
},
"400": {
"description": "Error on validation",
"schema": {
"$ref": "#/definitions/gin.H"
}
},
"500": {
"description": "Internal server error",
"schema": {
"$ref": "#/definitions/gin.H"
}
}
}
}
},
"/community/remove": {
"post": {
"description": "Remove participant from community",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"Community"
],
"summary": "Remove participant from community",
"parameters": [
{
"description": "Participant data",
"name": "message",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/agentdeck-whatsapp-service_pkg_community_service.AddParticipantStruct"
}
}
],
"responses": {
"200": {
"description": "success",
"schema": {
"$ref": "#/definitions/gin.H"
}
},
"400": {
"description": "Error on validation",
"schema": {
"$ref": "#/definitions/gin.H"
}
},
"500": {
"description": "Internal server error",
"schema": {
"$ref": "#/definitions/gin.H"
}
}
}
}
},
"/group/create": {
"post": {
"description": "Create group",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"Group"
],
"summary": "Create group",
"parameters": [
{
"description": "Group data",
"name": "message",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/agentdeck-whatsapp-service_pkg_group_service.CreateGroupStruct"
}
}
],
"responses": {
"200": {
"description": "success",
"schema": {
"$ref": "#/definitions/gin.H"
}
},
"400": {
"description": "Error on validation",
"schema": {
"$ref": "#/definitions/gin.H"
}
},
"500": {
"description": "Internal server error",
"schema": {
"$ref": "#/definitions/gin.H"
}
}
}
}
},
"/group/description": {
"post": {
"description": "Set group description",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"Group"
],
"summary": "Set group description",
"parameters": [
{
"description": "Group data",
"name": "message",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/agentdeck-whatsapp-service_pkg_group_service.SetGroupDescriptionStruct"
}
}
],
"responses": {
"200": {
"description": "success",
"schema": {
"$ref": "#/definitions/gin.H"
}
},
"400": {
"description": "Error on validation",
"schema": {
"$ref": "#/definitions/gin.H"
}
},
"500": {
"description": "Internal server error",
"schema": {
"$ref": "#/definitions/gin.H"
}
}
}
}
},
"/group/info": {
"post": {
"description": "Get group info",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"Group"
],
"summary": "Get group info",
"parameters": [
{
"description": "Group data",
"name": "message",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/agentdeck-whatsapp-service_pkg_group_service.GetGroupInfoStruct"
}
}
],
"responses": {
"200": {
"description": "success",
"schema": {
"$ref": "#/definitions/gin.H"
}
},
"400": {
"description": "Error on validation",
"schema": {
"$ref": "#/definitions/gin.H"
}
},
"500": {
"description": "Internal server error",
"schema": {
"$ref": "#/definitions/gin.H"
}
}
}
}
},
"/group/invitelink": {
"post": {
"description": "Get group invite link",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"Group"
],
"summary": "Get group invite link",
"parameters": [
{
"description": "Group data",
"name": "message",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/agentdeck-whatsapp-service_pkg_group_service.GetGroupInviteLinkStruct"
}
}
],
"responses": {
"200": {
"description": "success",
"schema": {
"$ref": "#/definitions/gin.H"
}
},
"400": {
"description": "Error on validation",
"schema": {
"$ref": "#/definitions/gin.H"
}
},
"500": {
"description": "Internal server error",
"schema": {
"$ref": "#/definitions/gin.H"
}
}
}
}
},
"/group/join": {
"post": {
"description": "Join group link",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"Group"
],
"summary": "Join group link",
"parameters": [
{
"description": "Group data",
"name": "message",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/agentdeck-whatsapp-service_pkg_group_service.JoinGroupStruct"
}
}
],
"responses": {
"200": {
"description": "success",
"schema": {
"$ref": "#/definitions/gin.H"
}
},
"400": {
"description": "Error on validation",
"schema": {
"$ref": "#/definitions/gin.H"
}
},
"500": {
"description": "Internal server error",
"schema": {
"$ref": "#/definitions/gin.H"
}
}
}
}
},
"/group/leave": {
"post": {
"description": "Leave group",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"Group"
],
"summary": "Leave group",
"parameters": [
{
"description": "Group data",
"name": "message",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/agentdeck-whatsapp-service_pkg_group_service.LeaveGroupStruct"
}
}
],
"responses": {
"200": {
"description": "success",
"schema": {
"$ref": "#/definitions/gin.H"
}
},
"400": {
"description": "Error on validation",
"schema": {
"$ref": "#/definitions/gin.H"
}
},
"500": {
"description": "Internal server error",
"schema": {
"$ref": "#/definitions/gin.H"
}
}
}
}
},
"/group/list": {
"get": {
"description": "List groups",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"Group"
],
"summary": "List groups",
"responses": {
"200": {
"description": "success",
"schema": {
"$ref": "#/definitions/gin.H"
}
},
"500": {
"description": "Internal server error",
"schema": {
"$ref": "#/definitions/gin.H"
}
}
}
}
},
"/group/myall": {
"get": {
"description": "Get my groups",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"Group"
],
"summary": "Get my groups",
"responses": {
"200": {
"description": "success",
"schema": {
"$ref": "#/definitions/gin.H"
}
},
"500": {
"description": "Internal server error",
"schema": {
"$ref": "#/definitions/gin.H"
}
}
}
}
},
"/group/name": {
"post": {
"description": "Set group name",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"Group"
],
"summary": "Set group name",
"parameters": [
{
"description": "Group data",
"name": "message",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/agentdeck-whatsapp-service_pkg_group_service.SetGroupNameStruct"
}
}
],
"responses": {
"200": {
"description": "success",
"schema": {
"$ref": "#/definitions/gin.H"
}
},
"400": {
"description": "Error on validation",
"schema": {
"$ref": "#/definitions/gin.H"
}
},
"500": {
"description": "Internal server error",
"schema": {
"$ref": "#/definitions/gin.H"
}
}
}
}
},
"/group/participant": {
"post": {
"description": "Update participant",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"Group"
],
"summary": "Update participant",
"parameters": [
{
"description": "Group data",
"name": "message",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/agentdeck-whatsapp-service_pkg_group_service.AddParticipantStruct"
}
}
],
"responses": {
"200": {
"description": "success",
"schema": {
"$ref": "#/definitions/gin.H"
}
},
"400": {
"description": "Error on validation",
"schema": {
"$ref": "#/definitions/gin.H"
}
},
"500": {
"description": "Internal server error",
"schema": {
"$ref": "#/definitions/gin.H"
}
}
}
}
},
"/group/photo": {
"post": {
"description": "Set group photo",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"Group"
],
"summary": "Set group photo",
"parameters": [
{
"description": "Group data",
"name": "message",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/agentdeck-whatsapp-service_pkg_group_service.SetGroupPhotoStruct"
}
}
],
"responses": {
"200": {
"description": "success",
"schema": {
"$ref": "#/definitions/gin.H"
}
},
"400": {
"description": "Error on validation",
"schema": {
"$ref": "#/definitions/gin.H"
}
},
"500": {
"description": "Internal server error",
"schema": {
"$ref": "#/definitions/gin.H"
}
}
}
}
},
"/group/settings": {
"post": {
"description": "Update group settings (announcement, not_announcement, locked, unlocked, approval_on, approval_off, admin_add, all_member_add)",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"Group"
],
"summary": "Update group settings",
"parameters": [
{
"description": "Group data",
"name": "message",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/agentdeck-whatsapp-service_pkg_group_service.UpdateGroupSettingsStruct"
}
}
],
"responses": {
"200": {
"description": "success",
"schema": {
"$ref": "#/definitions/gin.H"
}
},
"400": {
"description": "Error on validation",
"schema": {
"$ref": "#/definitions/gin.H"
}
},
"500": {
"description": "Internal server error",
"schema": {
"$ref": "#/definitions/gin.H"
}
}
}
}
},
"/instance/all": {
"get": {
"description": "Get all instances",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"Instance"
],
"summary": "Get all instances",
"responses": {
"200": {
"description": "All instances",
"schema": {
"$ref": "#/definitions/gin.H"
}
},
"500": {
"description": "Internal server error",
"schema": {
"$ref": "#/definitions/gin.H"
}
}
}
}
},
"/instance/connect": {
"post": {
"description": "Connect to instance with the provided data",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"Instance"
],
"summary": "Connect to instance",
"parameters": [
{
"description": "Instance data",
"name": "instance",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/agentdeck-whatsapp-service_pkg_instance_service.ConnectStruct"
}
}
],
"responses": {
"200": {
"description": "Instance connected successfully",
"schema": {
"$ref": "#/definitions/gin.H"
}
},
"400": {
"description": "Error on validation",
"schema": {
"$ref": "#/definitions/gin.H"
}
},
"500": {
"description": "Internal server error",
"schema": {
"$ref": "#/definitions/gin.H"
}
}
}
}
},
"/instance/create": {
"post": {
"description": "Creates a new instance with the provided data including optional advanced settings",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"Instance"
],
"summary": "Create a new instance",
"parameters": [
{
"description": "Instance data with optional advanced settings",
"name": "instance",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/agentdeck-whatsapp-service_pkg_instance_service.CreateStruct"
}
}
],
"responses": {
"200": {
"description": "Instance created successfully",
"schema": {
"$ref": "#/definitions/gin.H"
}
},
"400": {
"description": "Error on validation",
"schema": {
"$ref": "#/definitions/gin.H"
}
},
"500": {
"description": "Internal server error",
"schema": {
"$ref": "#/definitions/gin.H"
}
}
}
}
},
"/instance/delete/{instanceId}": {
"delete": {
"description": "Delete instance",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"Instance"
],
"summary": "Delete instance",
"parameters": [
{
"type": "string",
"description": "Instance Id",
"name": "instanceId",
"in": "path",
"required": true
}
],
"responses": {
"200": {
"description": "Instance deleted successfully",
"schema": {
"$ref": "#/definitions/gin.H"
}
},
"400": {
"description": "Error on validation",
"schema": {
"$ref": "#/definitions/gin.H"
}
},
"500": {
"description": "Internal server error",
"schema": {
"$ref": "#/definitions/gin.H"
}
}
}
}
},
"/instance/disconnect": {
"post": {
"description": "Disconnect from instance",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"Instance"
],
"summary": "Disconnect from instance",
"responses": {
"200": {
"description": "Instance disconnected successfully",
"schema": {
"$ref": "#/definitions/gin.H"
}
},
"500": {
"description": "Internal server error",
"schema": {
"$ref": "#/definitions/gin.H"
}
}
}
}
},
"/instance/forcereconnect/{instanceId}": {
"post": {
"description": "Force reconnect",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"Instance"
],
"summary": "Force reconnect",
"parameters": [
{
"type": "string",
"description": "Instance Id",
"name": "instanceId",
"in": "path",
"required": true
},
{
"description": "Instance data",
"name": "instance",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/agentdeck-whatsapp-service_pkg_instance_service.ForceReconnectStruct"
}
}
],
"responses": {
"200": {
"description": "Instance force reconnected successfully",
"schema": {
"$ref": "#/definitions/gin.H"
}
},
"400": {
"description": "Error on validation",
"schema": {
"$ref": "#/definitions/gin.H"
}
},
"500": {
"description": "Internal server error",
"schema": {
"$ref": "#/definitions/gin.H"
}
}
}
}
},
"/instance/info/{instanceId}": {
"get": {
"description": "Get instance",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"Instance"
],
"summary": "Get instance",
"parameters": [
{
"type": "string",
"description": "Instance Id",
"name": "instanceId",
"in": "path",
"required": true
}
],
"responses": {
"200": {
"description": "Instance",
"schema": {
"$ref": "#/definitions/gin.H"
}
},
"400": {
"description": "Error on validation",
"schema": {
"$ref": "#/definitions/gin.H"
}
},
"500": {
"description": "Internal server error",
"schema": {
"$ref": "#/definitions/gin.H"
}
}
}
}
},
"/instance/logout": {
"delete": {
"description": "Logout from instance",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"Instance"
],
"summary": "Logout from instance",
"responses": {
"200": {
"description": "Instance logged out successfully",
"schema": {
"$ref": "#/definitions/gin.H"
}
},
"500": {
"description": "Internal server error",
"schema": {
"$ref": "#/definitions/gin.H"
}
}
}
}
},
"/instance/logs/{instanceId}": {
"get": {
"description": "Returns log entries for an instance, filterable by date range, level and limit",
"produces": [
"application/json"
],
"tags": [
"Instance"
],
"summary": "Get instance logs",
"parameters": [
{
"type": "string",
"description": "Instance Id",
"name": "instanceId",
"in": "path",
"required": true
},
{
"type": "string",
"description": "Start date (YYYY-MM-DD, defaults to 7 days ago)",
"name": "start_date",
"in": "query"
},
{
"type": "string",
"description": "End date (YYYY-MM-DD, defaults to now)",
"name": "end_date",
"in": "query"
},
{
"type": "string",
"description": "Log level filter",
"name": "level",
"in": "query"
},
{
"type": "integer",
"description": "Max number of entries",
"name": "limit",
"in": "query"
}
],
"responses": {
"200": {
"description": "Logs",
"schema": {
"$ref": "#/definitions/gin.H"
}
},
"400": {
"description": "Error on validation",
"schema": {
"$ref": "#/definitions/gin.H"
}
},
"500": {
"description": "Internal server error",
"schema": {
"$ref": "#/definitions/gin.H"
}
}
}
}
},
"/instance/pair": {
"post": {
"description": "Request pairing code",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"Instance"
],
"summary": "Request pairing code",
"parameters": [
{
"description": "Instance data",
"name": "instance",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/agentdeck-whatsapp-service_pkg_instance_service.PairStruct"
}
}
],
"responses": {
"200": {
"description": "Pairing code",
"schema": {
"$ref": "#/definitions/gin.H"
}
},
"400": {
"description": "Error on validation",
"schema": {
"$ref": "#/definitions/gin.H"
}
},
"500": {
"description": "Internal server error",
"schema": {
"$ref": "#/definitions/gin.H"
}
}
}
}
},
"/instance/proxy/{instanceId}": {
"post": {
"description": "Set proxy configuration for an instance",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"Instance"
],
"summary": "Set proxy configuration",
"parameters": [
{
"type": "string",
"description": "Instance id",
"name": "instanceId",
"in": "path",
"required": true
},
{
"description": "Proxy configuration",
"name": "proxy",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/agentdeck-whatsapp-service_pkg_instance_service.SetProxyStruct"
}
}
],
"responses": {
"200": {
"description": "Proxy set successfully",
"schema": {
"$ref": "#/definitions/gin.H"
}
},
"400": {
"description": "Error on validation",
"schema": {
"$ref": "#/definitions/gin.H"
}
},
"500": {
"description": "Internal server error",
"schema": {
"$ref": "#/definitions/gin.H"
}
}
}
},
"delete": {
"description": "Delete proxy",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"Instance"
],
"summary": "Delete proxy",
"parameters": [
{
"type": "string",
"description": "Instance id",
"name": "instanceId",
"in": "path",
"required": true
}
],
"responses": {
"200": {
"description": "Proxy deleted successfully",
"schema": {
"$ref": "#/definitions/gin.H"
}
},
"400": {
"description": "Error on validation",
"schema": {
"$ref": "#/definitions/gin.H"
}
},
"500": {
"description": "Internal server error",
"schema": {
"$ref": "#/definitions/gin.H"
}
}
}
}
},
"/instance/qr": {
"get": {
"description": "Get instance QR code",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"Instance"
],
"summary": "Get instance QR code",
"responses": {
"200": {
"description": "Instance QR code",
"schema": {
"$ref": "#/definitions/gin.H"
}
},
"500": {
"description": "Internal server error",
"schema": {
"$ref": "#/definitions/gin.H"
}
}
}
}
},
"/instance/reconnect": {
"post": {
"description": "Reconnect to instance",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"Instance"
],
"summary": "Reconnect to instance",
"responses": {
"200": {
"description": "Instance reconnected successfully",
"schema": {
"$ref": "#/definitions/gin.H"
}
},
"500": {
"description": "Internal server error",
"schema": {
"$ref": "#/definitions/gin.H"
}
}
}
}
},
"/instance/status": {
"get": {
"description": "Get instance status",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"Instance"
],
"summary": "Get instance status",
"responses": {
"200": {
"description": "Instance status",
"schema": {
"$ref": "#/definitions/gin.H"
}
},
"500": {
"description": "Internal server error",
"schema": {
"$ref": "#/definitions/gin.H"
}
}
}
}
},
"/instance/{instanceId}/advanced-settings": {
"get": {
"description": "Get advanced settings for a specific instance",
"produces": [
"application/json"
],
"tags": [
"Instance"
],
"summary": "Get advanced settings",
"parameters": [
{
"type": "string",
"description": "Instance ID",
"name": "instanceId",
"in": "path",
"required": true
}
],
"responses": {
"200": {
"description": "Advanced settings retrieved successfully",
"schema": {
"$ref": "#/definitions/agentdeck-whatsapp-service_pkg_instance_model.AdvancedSettings"
}
},
"400": {
"description": "Invalid instance ID",
"schema": {
"$ref": "#/definitions/gin.H"
}
},
"404": {
"description": "Instance not found",
"schema": {
"$ref": "#/definitions/gin.H"
}
},
"500": {
"description": "Internal server error",
"schema": {
"$ref": "#/definitions/gin.H"
}
}
}
},
"put": {
"description": "Update advanced settings for a specific instance",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"Instance"
],
"summary": "Update advanced settings",
"parameters": [
{
"type": "string",
"description": "Instance ID",
"name": "instanceId",
"in": "path",
"required": true
},
{
"description": "Advanced settings data",
"name": "settings",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/agentdeck-whatsapp-service_pkg_instance_model.AdvancedSettings"
}
}
],
"responses": {
"200": {
"description": "Advanced settings updated successfully",
"schema": {
"$ref": "#/definitions/gin.H"
}
},
"400": {
"description": "Invalid request data",
"schema": {
"$ref": "#/definitions/gin.H"
}
},
"404": {
"description": "Instance not found",
"schema": {
"$ref": "#/definitions/gin.H"
}
},
"500": {
"description": "Internal server error",
"schema": {
"$ref": "#/definitions/gin.H"
}
}
}
}
},
"/label/chat": {
"post": {
"description": "Add label to chat",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"Label"
],
"summary": "Add label to chat",
"parameters": [
{
"description": "Label data",
"name": "message",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/agentdeck-whatsapp-service_pkg_label_service.ChatLabelStruct"
}
}
],
"responses": {
"200": {
"description": "success",
"schema": {
"$ref": "#/definitions/gin.H"
}
},
"400": {
"description": "Error on validation",
"schema": {
"$ref": "#/definitions/gin.H"
}
},
"500": {
"description": "Internal server error",
"schema": {
"$ref": "#/definitions/gin.H"
}
}
}
}
},
"/label/edit": {
"post": {
"description": "Edit label",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"Label"
],
"summary": "Edit label",
"parameters": [
{
"description": "Label data",
"name": "message",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/agentdeck-whatsapp-service_pkg_label_service.EditLabelStruct"
}
}
],
"responses": {
"200": {
"description": "success",
"schema": {
"$ref": "#/definitions/gin.H"
}
},
"400": {
"description": "Error on validation",
"schema": {
"$ref": "#/definitions/gin.H"
}
},
"500": {
"description": "Internal server error",
"schema": {
"$ref": "#/definitions/gin.H"
}
}
}
}
},
"/label/list": {
"get": {
"description": "Get all labels",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"Label"
],
"summary": "Get all labels",
"responses": {
"200": {
"description": "success",
"schema": {
"$ref": "#/definitions/gin.H"
}
},
"500": {
"description": "Internal server error",
"schema": {
"$ref": "#/definitions/gin.H"
}
}
}
}
},
"/label/message": {
"post": {
"description": "Add label to message",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"Label"
],
"summary": "Add label to message",
"parameters": [
{
"description": "Label data",
"name": "message",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/agentdeck-whatsapp-service_pkg_label_service.MessageLabelStruct"
}
}
],
"responses": {
"200": {
"description": "success",
"schema": {
"$ref": "#/definitions/gin.H"
}
},
"400": {
"description": "Error on validation",
"schema": {
"$ref": "#/definitions/gin.H"
}
},
"500": {
"description": "Internal server error",
"schema": {
"$ref": "#/definitions/gin.H"
}
}
}
}
},
"/license/activate": {
"get": {
"description": "Exchanges an authorization code (from the registration callback) for an api_key and persists it. Provide the code via the query string.",
"produces": [
"application/json"
],
"tags": [
"License"
],
"summary": "Activate license",
"parameters": [
{
"type": "string",
"description": "Authorization code from the registration callback",
"name": "code",
"in": "query",
"required": true
}
],
"responses": {
"200": {
"description": "Activation result",
"schema": {
"$ref": "#/definitions/gin.H"
}
},
"400": {
"description": "Missing code parameter",
"schema": {
"$ref": "#/definitions/gin.H"
}
}
}
}
},
"/license/register": {
"get": {
"description": "Checks the GLOBAL_API_KEY with the licensing server. If not yet registered, initiates registration and returns a register_url. Accepts an optional redirect_uri for the post-registration redirect.",
"produces": [
"application/json"
],
"tags": [
"License"
],
"summary": "Register / get registration URL",
"parameters": [
{
"type": "string",
"description": "Post-registration redirect URI",
"name": "redirect_uri",
"in": "query"
}
],
"responses": {
"200": {
"description": "Registration state (status/message or register_url)",
"schema": {
"$ref": "#/definitions/gin.H"
}
}
}
}
},
"/license/status": {
"get": {
"description": "Returns whether the instance license is active, along with the instance id and a masked api key.",
"produces": [
"application/json"
],
"tags": [
"License"
],
"summary": "Get license status",
"responses": {
"200": {
"description": "License status ({status, instance_id, api_key?})",
"schema": {
"$ref": "#/definitions/gin.H"
}
}
}
}
},
"/message/delete": {
"post": {
"description": "Delete a message for everyone",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"Message"
],
"summary": "Delete a message for everyone",
"parameters": [
{
"description": "Delete a message for everyone",
"name": "message",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/agentdeck-whatsapp-service_pkg_message_service.MessageStruct"
}
}
],
"responses": {
"200": {
"description": "success",
"schema": {
"$ref": "#/definitions/gin.H"
}
},
"400": {
"description": "Error on validation",
"schema": {
"$ref": "#/definitions/gin.H"
}
},
"500": {
"description": "Internal server error",
"schema": {
"$ref": "#/definitions/gin.H"
}
}
}
}
},
"/message/downloadmedia": {
"post": {
"description": "Download the media content of a message (image, video, audio or document)",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"Message"
],
"summary": "Download media",
"parameters": [
{
"description": "Download media",
"name": "message",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/agentdeck-whatsapp-service_pkg_message_service.DownloadMediaStruct"
}
}
],
"responses": {
"200": {
"description": "success",
"schema": {
"$ref": "#/definitions/gin.H"
}
},
"400": {
"description": "Error on validation",
"schema": {
"$ref": "#/definitions/gin.H"
}
},
"500": {
"description": "Internal server error",
"schema": {
"$ref": "#/definitions/gin.H"
}
}
}
}
},
"/message/edit": {
"post": {
"description": "Edit a message",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"Message"
],
"summary": "Edit a message",
"parameters": [
{
"description": "Edit a message",
"name": "message",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/agentdeck-whatsapp-service_pkg_message_service.EditMessageStruct"
}
}
],
"responses": {
"200": {
"description": "success",
"schema": {
"$ref": "#/definitions/gin.H"
}
},
"400": {
"description": "Error on validation",
"schema": {
"$ref": "#/definitions/gin.H"
}
},
"500": {
"description": "Internal server error",
"schema": {
"$ref": "#/definitions/gin.H"
}
}
}
}
},
"/message/markplayed": {
"post": {
"description": "Mark an audio message as played",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"Message"
],
"summary": "Mark an audio message as played",
"parameters": [
{
"description": "Mark an audio message as played",
"name": "message",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/agentdeck-whatsapp-service_pkg_message_service.MarkPlayedStruct"
}
}
],
"responses": {
"200": {
"description": "success",
"schema": {
"$ref": "#/definitions/gin.H"
}
},
"400": {
"description": "Error on validation",
"schema": {
"$ref": "#/definitions/gin.H"
}
},
"500": {
"description": "Internal server error",
"schema": {
"$ref": "#/definitions/gin.H"
}
}
}
}
},
"/message/markread": {
"post": {
"description": "Mark a message as read",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"Message"
],
"summary": "Mark a message as read",
"parameters": [
{
"description": "Mark a message as read",
"name": "message",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/agentdeck-whatsapp-service_pkg_message_service.MarkReadStruct"
}
}
],
"responses": {
"200": {
"description": "success",
"schema": {
"$ref": "#/definitions/gin.H"
}
},
"400": {
"description": "Error on validation",
"schema": {
"$ref": "#/definitions/gin.H"
}
},
"500": {
"description": "Internal server error",
"schema": {
"$ref": "#/definitions/gin.H"
}
}
}
}
},
"/message/presence": {
"post": {
"description": "Set chat presence",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"Message"
],
"summary": "Set chat presence",
"parameters": [
{
"description": "Set chat presence",
"name": "message",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/agentdeck-whatsapp-service_pkg_message_service.ChatPresenceStruct"
}
}
],
"responses": {
"200": {
"description": "success",
"schema": {
"$ref": "#/definitions/gin.H"
}
},
"400": {
"description": "Error on validation",
"schema": {
"$ref": "#/definitions/gin.H"
}
},
"500": {
"description": "Internal server error",
"schema": {
"$ref": "#/definitions/gin.H"
}
}
}
}
},
"/message/react": {
"post": {
"description": "React to a message with support for fromMe field and participant field for group messages",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"Message"
],
"summary": "React a message",
"parameters": [
{
"description": "React to a message with fromMe and participant fields",
"name": "message",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/agentdeck-whatsapp-service_pkg_message_service.ReactStruct"
}
}
],
"responses": {
"200": {
"description": "success",
"schema": {
"$ref": "#/definitions/gin.H"
}
},
"400": {
"description": "Error on validation",
"schema": {
"$ref": "#/definitions/gin.H"
}
},
"500": {
"description": "Internal server error",
"schema": {
"$ref": "#/definitions/gin.H"
}
}
}
}
},
"/message/status": {
"post": {
"description": "Get message status",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"Message"
],
"summary": "Get message status",
"parameters": [
{
"description": "Get message status",
"name": "message",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/agentdeck-whatsapp-service_pkg_message_service.MessageStatusStruct"
}
}
],
"responses": {
"200": {
"description": "success",
"schema": {
"$ref": "#/definitions/gin.H"
}
},
"400": {
"description": "Error on validation",
"schema": {
"$ref": "#/definitions/gin.H"
}
},
"500": {
"description": "Internal server error",
"schema": {
"$ref": "#/definitions/gin.H"
}
}
}
}
},
"/newsletter/create": {
"post": {
"description": "Create newsletter",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"Newsletter"
],
"summary": "Create newsletter",
"parameters": [
{
"description": "Newsletter data",
"name": "message",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/agentdeck-whatsapp-service_pkg_newsletter_service.CreateNewsletterStruct"
}
}
],
"responses": {
"200": {
"description": "success",
"schema": {
"$ref": "#/definitions/gin.H"
}
},
"400": {
"description": "Error on validation",
"schema": {
"$ref": "#/definitions/gin.H"
}
},
"500": {
"description": "Internal server error",
"schema": {
"$ref": "#/definitions/gin.H"
}
}
}
}
},
"/newsletter/info": {
"post": {
"description": "Get newsletter",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"Newsletter"
],
"summary": "Get newsletter",
"parameters": [
{
"description": "Newsletter data",
"name": "message",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/agentdeck-whatsapp-service_pkg_newsletter_service.GetNewsletterStruct"
}
}
],
"responses": {
"200": {
"description": "success",
"schema": {
"$ref": "#/definitions/gin.H"
}
},
"400": {
"description": "Error on validation",
"schema": {
"$ref": "#/definitions/gin.H"
}
},
"500": {
"description": "Internal server error",
"schema": {
"$ref": "#/definitions/gin.H"
}
}
}
}
},
"/newsletter/link": {
"post": {
"description": "Get newsletter invite",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"Newsletter"
],
"summary": "Get newsletter invite",
"parameters": [
{
"description": "Newsletter data",
"name": "message",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/agentdeck-whatsapp-service_pkg_newsletter_service.GetNewsletterInviteStruct"
}
}
],
"responses": {
"200": {
"description": "success",
"schema": {
"$ref": "#/definitions/gin.H"
}
},
"400": {
"description": "Error on validation",
"schema": {
"$ref": "#/definitions/gin.H"
}
},
"500": {
"description": "Internal server error",
"schema": {
"$ref": "#/definitions/gin.H"
}
}
}
}
},
"/newsletter/list": {
"get": {
"description": "List newsletters",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"Newsletter"
],
"summary": "List newsletters",
"responses": {
"200": {
"description": "success",
"schema": {
"$ref": "#/definitions/gin.H"
}
},
"500": {
"description": "Internal server error",
"schema": {
"$ref": "#/definitions/gin.H"
}
}
}
}
},
"/newsletter/messages": {
"post": {
"description": "Get newsletter messages",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"Newsletter"
],
"summary": "Get newsletter messages",
"parameters": [
{
"description": "Newsletter data",
"name": "message",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/agentdeck-whatsapp-service_pkg_newsletter_service.GetNewsletterMessagesStruct"
}
}
],
"responses": {
"200": {
"description": "success",
"schema": {
"$ref": "#/definitions/gin.H"
}
},
"400": {
"description": "Error on validation",
"schema": {
"$ref": "#/definitions/gin.H"
}
},
"500": {
"description": "Internal server error",
"schema": {
"$ref": "#/definitions/gin.H"
}
}
}
}
},
"/newsletter/subscribe": {
"post": {
"description": "Subscribe newsletter",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"Newsletter"
],
"summary": "Subscribe newsletter",
"parameters": [
{
"description": "Newsletter data",
"name": "message",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/agentdeck-whatsapp-service_pkg_newsletter_service.GetNewsletterStruct"
}
}
],
"responses": {
"200": {
"description": "success",
"schema": {
"$ref": "#/definitions/gin.H"
}
},
"400": {
"description": "Error on validation",
"schema": {
"$ref": "#/definitions/gin.H"
}
},
"500": {
"description": "Internal server error",
"schema": {
"$ref": "#/definitions/gin.H"
}
}
}
}
},
"/passkey-ceremony/{token}": {
"get": {
"description": "Returns the current WebAuthn passkey-pairing ceremony state for a token. PUBLIC endpoint (no apikey) — access is gated by the opaque short-lived ceremony token. Polled by the AgentDeck Passkey Helper browser extension.",
"produces": [
"application/json"
],
"tags": [
"Passkey"
],
"summary": "Get passkey ceremony state",
"parameters": [
{
"type": "string",
"description": "Ceremony token",
"name": "token",
"in": "path",
"required": true
}
],
"responses": {
"200": {
"description": "Ceremony state ({stage, skipHandoffUX, publicKey?, code?, error?})",
"schema": {
"$ref": "#/definitions/gin.H"
}
},
"400": {
"description": "token is required",
"schema": {
"$ref": "#/definitions/gin.H"
}
},
"404": {
"description": "ceremony not found or expired",
"schema": {
"$ref": "#/definitions/gin.H"
}
},
"503": {
"description": "passkey ceremony unavailable",
"schema": {
"$ref": "#/definitions/gin.H"
}
}
}
}
},
"/passkey-ceremony/{token}/confirm": {
"post": {
"description": "Finishes the passkey pairing after the user verified the confirmation code. PUBLIC endpoint (no apikey) — gated by the ceremony token.",
"produces": [
"application/json"
],
"tags": [
"Passkey"
],
"summary": "Confirm passkey pairing",
"parameters": [
{
"type": "string",
"description": "Ceremony token",
"name": "token",
"in": "path",
"required": true
}
],
"responses": {
"200": {
"description": "ok",
"schema": {
"$ref": "#/definitions/gin.H"
}
},
"400": {
"description": "token is required",
"schema": {
"$ref": "#/definitions/gin.H"
}
},
"404": {
"description": "ceremony not found or expired",
"schema": {
"$ref": "#/definitions/gin.H"
}
},
"500": {
"description": "Internal server error",
"schema": {
"$ref": "#/definitions/gin.H"
}
},
"503": {
"description": "passkey ceremony unavailable",
"schema": {
"$ref": "#/definitions/gin.H"
}
}
}
}
},
"/passkey-ceremony/{token}/response": {
"post": {
"description": "Receives the WebAuthn assertion produced by the browser extension and forwards it to WhatsApp. PUBLIC endpoint (no apikey) — gated by the ceremony token. Body is the WebAuthnResponse shape (id, rawId, type, response{clientDataJSON, authenticatorData, signature, userHandle?}), base64url-unpadded.",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"Passkey"
],
"summary": "Submit passkey WebAuthn response",
"parameters": [
{
"type": "string",
"description": "Ceremony token",
"name": "token",
"in": "path",
"required": true
},
{
"description": "WebAuthn assertion",
"name": "response",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/types.WebAuthnResponse"
}
}
],
"responses": {
"200": {
"description": "ok",
"schema": {
"$ref": "#/definitions/gin.H"
}
},
"400": {
"description": "token is required / invalid body",
"schema": {
"$ref": "#/definitions/gin.H"
}
},
"404": {
"description": "ceremony not found or expired",
"schema": {
"$ref": "#/definitions/gin.H"
}
},
"500": {
"description": "Internal server error",
"schema": {
"$ref": "#/definitions/gin.H"
}
},
"503": {
"description": "passkey ceremony unavailable",
"schema": {
"$ref": "#/definitions/gin.H"
}
}
}
}
},
"/polls/{pollMessageId}/results": {
"get": {
"description": "Retorna todos os votos de uma enquete específica",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"Polls"
],
"summary": "Get poll results",
"parameters": [
{
"type": "string",
"description": "ID da mensagem da enquete",
"name": "pollMessageId",
"in": "path",
"required": true
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/agentdeck-whatsapp-service_pkg_poll_model.PollResults"
}
},
"400": {
"description": "Bad Request",
"schema": {
"$ref": "#/definitions/gin.H"
}
},
"404": {
"description": "Not Found",
"schema": {
"$ref": "#/definitions/gin.H"
}
},
"500": {
"description": "Internal Server Error",
"schema": {
"$ref": "#/definitions/gin.H"
}
}
}
}
},
"/send/button": {
"post": {
"description": "Send an interactive message with buttons. Each button has a ` + "`" + `type` + "`" + `: ` + "`" + `reply` + "`" + `, ` + "`" + `copy` + "`" + `, ` + "`" + `url` + "`" + `, ` + "`" + `call` + "`" + ` or ` + "`" + `pix` + "`" + `.\n\nCombination rules enforced by the server:\n- Up to 3 ` + "`" + `reply` + "`" + ` buttons per message.\n- ` + "`" + `reply` + "`" + ` buttons cannot be mixed with any other type.\n- ` + "`" + `pix` + "`" + ` button must be sent ALONE (no other button in the same message).\n\nWhatsApp client rendering quirks (NOT enforced by the server, but verified in the field):\n- WhatsApp Web: only ` + "`" + `reply` + "`" + `-only messages (up to 3) OR CTAs grouped together (` + "`" + `copy` + "`" + ` + ` + "`" + `url` + "`" + ` + ` + "`" + `call` + "`" + `) render correctly.\n- Do NOT mix ` + "`" + `reply` + "`" + ` with CTA buttons (` + "`" + `copy` + "`" + `/` + "`" + `url` + "`" + `/` + "`" + `call` + "`" + `) — the message will not appear on WhatsApp Web.\n\nRequired body fields: ` + "`" + `number` + "`" + `, ` + "`" + `title` + "`" + `, ` + "`" + `description` + "`" + `, ` + "`" + `footer` + "`" + `, ` + "`" + `buttons` + "`" + `.",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"Send Message"
],
"summary": "Send a button message",
"parameters": [
{
"description": "Message data",
"name": "message",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/agentdeck-whatsapp-service_pkg_sendMessage_service.ButtonStruct"
}
}
],
"responses": {
"200": {
"description": "success",
"schema": {
"$ref": "#/definitions/gin.H"
}
},
"400": {
"description": "Error on validation",
"schema": {
"$ref": "#/definitions/gin.H"
}
},
"500": {
"description": "Internal server error",
"schema": {
"$ref": "#/definitions/gin.H"
}
}
}
}
},
"/send/carousel": {
"post": {
"description": "Send an interactive carousel (multiple swipeable cards). Each card carries its own image or video, body and optional buttons.\n\nCard button ` + "`" + `type` + "`" + ` accepted values (case-insensitive, uppercased internally): ` + "`" + `REPLY` + "`" + ` (default), ` + "`" + `URL` + "`" + `, ` + "`" + `CALL` + "`" + `, ` + "`" + `COPY` + "`" + `.\nThe ` + "`" + `PIX` + "`" + ` button type is NOT supported in carousel cards — use ` + "`" + `/send/button` + "`" + ` for PIX.\n\nIMPORTANT — ` + "`" + `CarouselButtonStruct` + "`" + ` is different from the flat button used in ` + "`" + `/send/button` + "`" + `:\n- URL button: put the link in the ` + "`" + `id` + "`" + ` field (NOT in a ` + "`" + `url` + "`" + ` field).\n- CALL button: put the phone number in the ` + "`" + `id` + "`" + ` field (NOT in a ` + "`" + `phoneNumber` + "`" + ` field).\n- COPY button: put the code to be copied in ` + "`" + `copyCode` + "`" + `.\n- REPLY button: put the payload/callback ID in ` + "`" + `id` + "`" + `.\n\nPer-card combination rules (NOT enforced by the server, but verified in the field):\n- Same WhatsApp Web quirk as ` + "`" + `/send/button` + "`" + `: avoid mixing REPLY with CTA buttons (URL/CALL/COPY) in the same card — mixed sets do not render on Web.\n- Stick to either \"only REPLY\" or \"only CTAs grouped together\" per card.\n\nRequired body fields: ` + "`" + `number` + "`" + `, ` + "`" + `cards` + "`" + ` (at least one). Each card requires ` + "`" + `header` + "`" + ` + ` + "`" + `body` + "`" + `.",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"Send Message"
],
"summary": "Send a carousel message",
"parameters": [
{
"description": "Message data",
"name": "message",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/agentdeck-whatsapp-service_pkg_sendMessage_service.CarouselStruct"
}
}
],
"responses": {
"200": {
"description": "success",
"schema": {
"$ref": "#/definitions/gin.H"
}
},
"400": {
"description": "Error on validation",
"schema": {
"$ref": "#/definitions/gin.H"
}
},
"500": {
"description": "Internal server error",
"schema": {
"$ref": "#/definitions/gin.H"
}
}
}
}
},
"/send/contact": {
"post": {
"description": "Send a contact message",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"Send Message"
],
"summary": "Send a contact message",
"parameters": [
{
"description": "Message data",
"name": "message",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/agentdeck-whatsapp-service_pkg_sendMessage_service.ContactStruct"
}
}
],
"responses": {
"200": {
"description": "success",
"schema": {
"$ref": "#/definitions/gin.H"
}
},
"400": {
"description": "Error on validation",
"schema": {
"$ref": "#/definitions/gin.H"
}
},
"500": {
"description": "Internal server error",
"schema": {
"$ref": "#/definitions/gin.H"
}
}
}
}
},
"/send/link": {
"post": {
"description": "Send a link message",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"Send Message"
],
"summary": "Send a link message",
"parameters": [
{
"description": "Message data",
"name": "message",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/agentdeck-whatsapp-service_pkg_sendMessage_service.LinkStruct"
}
}
],
"responses": {
"200": {
"description": "success",
"schema": {
"$ref": "#/definitions/gin.H"
}
},
"400": {
"description": "Error on validation",
"schema": {
"$ref": "#/definitions/gin.H"
}
},
"500": {
"description": "Internal server error",
"schema": {
"$ref": "#/definitions/gin.H"
}
}
}
}
},
"/send/list": {
"post": {
"description": "Send an interactive list message (single-select) rendered as a tappable menu.\n\nRequired body fields: ` + "`" + `number` + "`" + `, ` + "`" + `title` + "`" + `, ` + "`" + `description` + "`" + `, ` + "`" + `footerText` + "`" + `, ` + "`" + `buttonText` + "`" + `, ` + "`" + `sections` + "`" + `.\nEach section must contain one or more ` + "`" + `rows` + "`" + `. When ` + "`" + `rowId` + "`" + ` is omitted, the server generates a fallback ID.\nWhen ` + "`" + `buttonText` + "`" + ` is empty, the server falls back to \"Ver Menu\".\n\nUses legacy ` + "`" + `ListMessage` + "`" + ` format (no ViewOnceMessage wrapper) so it renders on iOS, Android and WhatsApp Web.",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"Send Message"
],
"summary": "Send a list message",
"parameters": [
{
"description": "Message data",
"name": "message",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/agentdeck-whatsapp-service_pkg_sendMessage_service.ListStruct"
}
}
],
"responses": {
"200": {
"description": "success",
"schema": {
"$ref": "#/definitions/gin.H"
}
},
"400": {
"description": "Error on validation",
"schema": {
"$ref": "#/definitions/gin.H"
}
},
"500": {
"description": "Internal server error",
"schema": {
"$ref": "#/definitions/gin.H"
}
}
}
}
},
"/send/location": {
"post": {
"description": "Send a location message",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"Send Message"
],
"summary": "Send a location message",
"parameters": [
{
"description": "Message data",
"name": "message",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/agentdeck-whatsapp-service_pkg_sendMessage_service.LocationStruct"
}
}
],
"responses": {
"200": {
"description": "success",
"schema": {
"$ref": "#/definitions/gin.H"
}
},
"400": {
"description": "Error on validation",
"schema": {
"$ref": "#/definitions/gin.H"
}
},
"500": {
"description": "Internal server error",
"schema": {
"$ref": "#/definitions/gin.H"
}
}
}
}
},
"/send/media": {
"post": {
"description": "Send a media message",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"Send Message"
],
"summary": "Send a media message",
"parameters": [
{
"description": "Message data",
"name": "message",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/agentdeck-whatsapp-service_pkg_sendMessage_service.MediaStruct"
}
}
],
"responses": {
"200": {
"description": "success",
"schema": {
"$ref": "#/definitions/gin.H"
}
},
"400": {
"description": "Error on validation",
"schema": {
"$ref": "#/definitions/gin.H"
}
},
"500": {
"description": "Internal server error",
"schema": {
"$ref": "#/definitions/gin.H"
}
}
}
}
},
"/send/poll": {
"post": {
"description": "Send a poll message",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"Send Message"
],
"summary": "Send a poll message",
"parameters": [
{
"description": "Message data",
"name": "message",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/agentdeck-whatsapp-service_pkg_sendMessage_service.PollStruct"
}
}
],
"responses": {
"200": {
"description": "success",
"schema": {
"$ref": "#/definitions/gin.H"
}
},
"400": {
"description": "Error on validation",
"schema": {
"$ref": "#/definitions/gin.H"
}
},
"500": {
"description": "Internal server error",
"schema": {
"$ref": "#/definitions/gin.H"
}
}
}
}
},
"/send/status/media": {
"post": {
"description": "Send an image or video status to status@broadcast. Supports JSON (URL) or multipart/form-data (file upload)",
"consumes": [
"application/json",
" multipart/form-data"
],
"produces": [
"application/json"
],
"tags": [
"Send Message"
],
"summary": "Send a WhatsApp media status (image/video)",
"parameters": [
{
"type": "string",
"description": "Media type: image or video",
"name": "type",
"in": "formData",
"required": true
},
{
"type": "file",
"description": "Media file (for multipart upload)",
"name": "file",
"in": "formData"
},
{
"type": "string",
"description": "Media URL (for JSON upload)",
"name": "url",
"in": "formData"
},
{
"type": "string",
"description": "Caption for the media",
"name": "caption",
"in": "formData"
},
{
"type": "string",
"description": "Custom message ID",
"name": "id",
"in": "formData"
}
],
"responses": {
"200": {
"description": "success",
"schema": {
"$ref": "#/definitions/gin.H"
}
},
"400": {
"description": "Error on validation",
"schema": {
"$ref": "#/definitions/gin.H"
}
},
"500": {
"description": "Internal server error",
"schema": {
"$ref": "#/definitions/gin.H"
}
}
}
}
},
"/send/status/text": {
"post": {
"description": "Send a WhatsApp text status to status@broadcast",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"Send Message"
],
"summary": "Send a WhatsApp text status",
"parameters": [
{
"description": "Status text data",
"name": "message",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/agentdeck-whatsapp-service_pkg_sendMessage_service.StatusTextStruct"
}
}
],
"responses": {
"200": {
"description": "success",
"schema": {
"$ref": "#/definitions/gin.H"
}
},
"400": {
"description": "Error on validation",
"schema": {
"$ref": "#/definitions/gin.H"
}
},
"500": {
"description": "Internal server error",
"schema": {
"$ref": "#/definitions/gin.H"
}
}
}
}
},
"/send/sticker": {
"post": {
"description": "Send a sticker message",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"Send Message"
],
"summary": "Send a sticker message",
"parameters": [
{
"description": "Message data",
"name": "message",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/agentdeck-whatsapp-service_pkg_sendMessage_service.StickerStruct"
}
}
],
"responses": {
"200": {
"description": "success",
"schema": {
"$ref": "#/definitions/gin.H"
}
},
"400": {
"description": "Error on validation",
"schema": {
"$ref": "#/definitions/gin.H"
}
},
"500": {
"description": "Internal server error",
"schema": {
"$ref": "#/definitions/gin.H"
}
}
}
}
},
"/send/text": {
"post": {
"description": "Send a text message",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"Send Message"
],
"summary": "Send a text message",
"parameters": [
{
"description": "Message data",
"name": "message",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/agentdeck-whatsapp-service_pkg_sendMessage_service.TextStruct"
}
}
],
"responses": {
"200": {
"description": "success",
"schema": {
"$ref": "#/definitions/gin.H"
}
},
"400": {
"description": "Error on validation",
"schema": {
"$ref": "#/definitions/gin.H"
}
},
"500": {
"description": "Internal server error",
"schema": {
"$ref": "#/definitions/gin.H"
}
}
}
}
},
"/unlabel/chat": {
"post": {
"description": "Remove label from chat",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"Label"
],
"summary": "Remove label from chat",
"parameters": [
{
"description": "Label data",
"name": "message",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/agentdeck-whatsapp-service_pkg_label_service.ChatLabelStruct"
}
}
],
"responses": {
"200": {
"description": "success",
"schema": {
"$ref": "#/definitions/gin.H"
}
},
"400": {
"description": "Error on validation",
"schema": {
"$ref": "#/definitions/gin.H"
}
},
"500": {
"description": "Internal server error",
"schema": {
"$ref": "#/definitions/gin.H"
}
}
}
}
},
"/unlabel/message": {
"post": {
"description": "Remove label from message",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"Label"
],
"summary": "Remove label from message",
"parameters": [
{
"description": "Label data",
"name": "message",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/agentdeck-whatsapp-service_pkg_label_service.MessageLabelStruct"
}
}
],
"responses": {
"200": {
"description": "success",
"schema": {
"$ref": "#/definitions/gin.H"
}
},
"400": {
"description": "Error on validation",
"schema": {
"$ref": "#/definitions/gin.H"
}
},
"500": {
"description": "Internal server error",
"schema": {
"$ref": "#/definitions/gin.H"
}
}
}
}
},
"/user/avatar": {
"post": {
"description": "Get a user's avatar",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"User"
],
"summary": "Get a user's avatar",
"parameters": [
{
"description": "Avatar data",
"name": "message",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/agentdeck-whatsapp-service_pkg_user_service.GetAvatarStruct"
}
}
],
"responses": {
"200": {
"description": "success",
"schema": {
"$ref": "#/definitions/gin.H"
}
},
"400": {
"description": "Error on validation",
"schema": {
"$ref": "#/definitions/gin.H"
}
},
"500": {
"description": "Internal server error",
"schema": {
"$ref": "#/definitions/gin.H"
}
}
}
}
},
"/user/block": {
"post": {
"description": "Block a contact",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"User"
],
"summary": "Block a contact",
"parameters": [
{
"description": "Block data",
"name": "message",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/agentdeck-whatsapp-service_pkg_user_service.BlockStruct"
}
}
],
"responses": {
"200": {
"description": "success",
"schema": {
"$ref": "#/definitions/gin.H"
}
},
"400": {
"description": "Error on validation",
"schema": {
"$ref": "#/definitions/gin.H"
}
},
"500": {
"description": "Internal server error",
"schema": {
"$ref": "#/definitions/gin.H"
}
}
}
}
},
"/user/blocklist": {
"get": {
"description": "Get a user's block list",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"User"
],
"summary": "Get a user's block list",
"responses": {
"200": {
"description": "success",
"schema": {
"$ref": "#/definitions/gin.H"
}
},
"500": {
"description": "Internal server error",
"schema": {
"$ref": "#/definitions/gin.H"
}
}
}
}
},
"/user/check": {
"post": {
"description": "Check a user",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"User"
],
"summary": "Check a user",
"parameters": [
{
"description": "User data",
"name": "message",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/agentdeck-whatsapp-service_pkg_user_service.CheckUserStruct"
}
}
],
"responses": {
"200": {
"description": "success",
"schema": {
"$ref": "#/definitions/gin.H"
}
},
"400": {
"description": "Error on validation",
"schema": {
"$ref": "#/definitions/gin.H"
}
},
"500": {
"description": "Internal server error",
"schema": {
"$ref": "#/definitions/gin.H"
}
}
}
}
},
"/user/contacts": {
"get": {
"description": "Get a user's contacts",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"User"
],
"summary": "Get a user's contacts",
"responses": {
"200": {
"description": "success",
"schema": {
"$ref": "#/definitions/gin.H"
}
},
"500": {
"description": "Internal server error",
"schema": {
"$ref": "#/definitions/gin.H"
}
}
}
}
},
"/user/info": {
"post": {
"description": "Get a user",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"User"
],
"summary": "Get a user",
"parameters": [
{
"description": "User data",
"name": "message",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/agentdeck-whatsapp-service_pkg_user_service.CheckUserStruct"
}
}
],
"responses": {
"200": {
"description": "success",
"schema": {
"$ref": "#/definitions/gin.H"
}
},
"400": {
"description": "Error on validation",
"schema": {
"$ref": "#/definitions/gin.H"
}
},
"500": {
"description": "Internal server error",
"schema": {
"$ref": "#/definitions/gin.H"
}
}
}
}
},
"/user/privacy": {
"get": {
"description": "Get a user's privacy settings",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"User"
],
"summary": "Get a user's privacy settings",
"responses": {
"200": {
"description": "success",
"schema": {
"$ref": "#/definitions/gin.H"
}
},
"500": {
"description": "Internal server error",
"schema": {
"$ref": "#/definitions/gin.H"
}
}
}
},
"post": {
"description": "Set a user's privacy settings",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"User"
],
"summary": "Set a user's privacy settings",
"parameters": [
{
"description": "Privacy data",
"name": "message",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/agentdeck-whatsapp-service_pkg_user_service.PrivacyStruct"
}
}
],
"responses": {
"200": {
"description": "success",
"schema": {
"$ref": "#/definitions/gin.H"
}
},
"500": {
"description": "Internal server error",
"schema": {
"$ref": "#/definitions/gin.H"
}
}
}
}
},
"/user/profileName": {
"post": {
"description": "Set a user's profile name",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"User"
],
"summary": "Set a user's profile name",
"parameters": [
{
"description": "Profile name data",
"name": "message",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/agentdeck-whatsapp-service_pkg_user_service.SetProfilePictureStruct"
}
}
],
"responses": {
"200": {
"description": "success",
"schema": {
"$ref": "#/definitions/gin.H"
}
},
"400": {
"description": "Error on validation",
"schema": {
"$ref": "#/definitions/gin.H"
}
},
"500": {
"description": "Internal server error",
"schema": {
"$ref": "#/definitions/gin.H"
}
}
}
}
},
"/user/profilePicture": {
"post": {
"description": "Set a user's profile picture",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"User"
],
"summary": "Set a user's profile picture",
"parameters": [
{
"description": "Profile picture data",
"name": "message",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/agentdeck-whatsapp-service_pkg_user_service.SetProfilePictureStruct"
}
}
],
"responses": {
"200": {
"description": "success",
"schema": {
"$ref": "#/definitions/gin.H"
}
},
"400": {
"description": "Error on validation",
"schema": {
"$ref": "#/definitions/gin.H"
}
},
"500": {
"description": "Internal server error",
"schema": {
"$ref": "#/definitions/gin.H"
}
}
}
}
},
"/user/profileStatus": {
"post": {
"description": "Set a user's profile status",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"User"
],
"summary": "Set a user's profile status",
"parameters": [
{
"description": "Profile status data",
"name": "message",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/agentdeck-whatsapp-service_pkg_user_service.SetProfilePictureStruct"
}
}
],
"responses": {
"200": {
"description": "success",
"schema": {
"$ref": "#/definitions/gin.H"
}
},
"400": {
"description": "Error on validation",
"schema": {
"$ref": "#/definitions/gin.H"
}
},
"500": {
"description": "Internal server error",
"schema": {
"$ref": "#/definitions/gin.H"
}
}
}
}
},
"/user/unblock": {
"post": {
"description": "Unblock a contact",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"User"
],
"summary": "Unblock a contact",
"parameters": [
{
"description": "Block data",
"name": "message",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/agentdeck-whatsapp-service_pkg_user_service.BlockStruct"
}
}
],
"responses": {
"200": {
"description": "success",
"schema": {
"$ref": "#/definitions/gin.H"
}
},
"400": {
"description": "Error on validation",
"schema": {
"$ref": "#/definitions/gin.H"
}
},
"500": {
"description": "Internal server error",
"schema": {
"$ref": "#/definitions/gin.H"
}
}
}
}
}
},
"definitions": {
"gin.H": {
"type": "object",
"additionalProperties": {}
},
"agentdeck-whatsapp-service_pkg_call_service.RejectCallStruct": {
"type": "object",
"properties": {
"callCreator": {
"$ref": "#/definitions/types.JID"
},
"callId": {
"type": "string"
}
}
},
"agentdeck-whatsapp-service_pkg_chat_service.BodyStruct": {
"type": "object",
"properties": {
"chat": {
"type": "string"
}
}
},
"agentdeck-whatsapp-service_pkg_chat_service.HistorySyncRequestStruct": {
"type": "object",
"properties": {
"count": {
"type": "integer"
},
"messageInfo": {
"$ref": "#/definitions/types.MessageInfo"
}
}
},
"agentdeck-whatsapp-service_pkg_community_service.AddParticipantStruct": {
"type": "object",
"properties": {
"communityJid": {
"type": "string"
},
"groupJid": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"agentdeck-whatsapp-service_pkg_community_service.CreateCommunityStruct": {
"type": "object",
"properties": {
"communityName": {
"type": "string"
}
}
},
"agentdeck-whatsapp-service_pkg_group_service.AddParticipantStruct": {
"type": "object",
"properties": {
"action": {
"$ref": "#/definitions/whatsmeow.ParticipantChange"
},
"groupJid": {
"$ref": "#/definitions/types.JID"
},
"participants": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"agentdeck-whatsapp-service_pkg_group_service.CreateGroupStruct": {
"type": "object",
"properties": {
"groupName": {
"type": "string"
},
"participants": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"agentdeck-whatsapp-service_pkg_group_service.GetGroupInfoStruct": {
"type": "object",
"properties": {
"groupJid": {
"type": "string"
}
}
},
"agentdeck-whatsapp-service_pkg_group_service.GetGroupInviteLinkStruct": {
"type": "object",
"properties": {
"groupJid": {
"type": "string"
},
"reset": {
"type": "boolean"
}
}
},
"agentdeck-whatsapp-service_pkg_group_service.JoinGroupStruct": {
"type": "object",
"properties": {
"code": {
"type": "string"
}
}
},
"agentdeck-whatsapp-service_pkg_group_service.LeaveGroupStruct": {
"type": "object",
"properties": {
"groupJid": {
"$ref": "#/definitions/types.JID"
}
}
},
"agentdeck-whatsapp-service_pkg_group_service.SetGroupDescriptionStruct": {
"type": "object",
"properties": {
"description": {
"type": "string"
},
"groupJid": {
"type": "string"
}
}
},
"agentdeck-whatsapp-service_pkg_group_service.SetGroupNameStruct": {
"type": "object",
"properties": {
"groupJid": {
"type": "string"
},
"name": {
"type": "string"
}
}
},
"agentdeck-whatsapp-service_pkg_group_service.SetGroupPhotoStruct": {
"type": "object",
"properties": {
"groupJid": {
"type": "string"
},
"image": {
"type": "string"
}
}
},
"agentdeck-whatsapp-service_pkg_group_service.UpdateGroupSettingsStruct": {
"type": "object",
"properties": {
"action": {
"description": "announcement, not_announcement, locked, unlocked",
"type": "string"
},
"groupJid": {
"type": "string"
}
}
},
"agentdeck-whatsapp-service_pkg_instance_model.AdvancedSettings": {
"type": "object",
"properties": {
"alwaysOnline": {
"type": "boolean"
},
"ignoreGroups": {
"type": "boolean"
},
"ignoreStatus": {
"type": "boolean"
},
"msgRejectCall": {
"type": "string"
},
"readMessages": {
"type": "boolean"
},
"rejectCall": {
"type": "boolean"
}
}
},
"agentdeck-whatsapp-service_pkg_instance_service.ConnectStruct": {
"type": "object",
"properties": {
"immediate": {
"type": "boolean"
},
"natsEnable": {
"type": "string"
},
"phone": {
"type": "string"
},
"rabbitmqEnable": {
"type": "string"
},
"subscribe": {
"type": "array",
"items": {
"type": "string"
}
},
"webhookUrl": {
"type": "string"
},
"websocketEnable": {
"type": "string"
}
}
},
"agentdeck-whatsapp-service_pkg_instance_service.CreateStruct": {
"type": "object",
"properties": {
"advancedSettings": {
"$ref": "#/definitions/agentdeck-whatsapp-service_pkg_instance_model.AdvancedSettings"
},
"instanceId": {
"type": "string"
},
"name": {
"type": "string"
},
"proxy": {
"$ref": "#/definitions/agentdeck-whatsapp-service_pkg_instance_service.ProxyConfig"
},
"token": {
"type": "string"
}
}
},
"agentdeck-whatsapp-service_pkg_instance_service.ForceReconnectStruct": {
"type": "object",
"properties": {
"number": {
"type": "string"
}
}
},
"agentdeck-whatsapp-service_pkg_instance_service.PairStruct": {
"type": "object",
"properties": {
"phone": {
"type": "string"
},
"subscribe": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"agentdeck-whatsapp-service_pkg_instance_service.ProxyConfig": {
"type": "object",
"properties": {
"host": {
"type": "string"
},
"password": {
"type": "string"
},
"port": {
"type": "string"
},
"protocol": {
"type": "string"
},
"username": {
"type": "string"
}
}
},
"agentdeck-whatsapp-service_pkg_instance_service.SetProxyStruct": {
"type": "object",
"required": [
"host",
"port"
],
"properties": {
"host": {
"type": "string"
},
"password": {
"type": "string"
},
"port": {
"type": "string"
},
"protocol": {
"type": "string"
},
"username": {
"type": "string"
}
}
},
"agentdeck-whatsapp-service_pkg_label_service.ChatLabelStruct": {
"type": "object",
"properties": {
"jid": {
"type": "string"
},
"labelId": {
"type": "string"
}
}
},
"agentdeck-whatsapp-service_pkg_label_service.EditLabelStruct": {
"type": "object",
"properties": {
"color": {
"type": "integer"
},
"deleted": {
"type": "boolean"
},
"labelId": {
"type": "string"
},
"name": {
"type": "string"
}
}
},
"agentdeck-whatsapp-service_pkg_label_service.MessageLabelStruct": {
"type": "object",
"properties": {
"jid": {
"type": "string"
},
"labelId": {
"type": "string"
},
"messageId": {
"type": "string"
}
}
},
"agentdeck-whatsapp-service_pkg_message_service.ChatPresenceStruct": {
"type": "object",
"properties": {
"delay": {
"description": "Delay, in milliseconds, keeps the \"composing\"/\"recording\" indicator alive\nfor the given duration (re-sending it periodically) and then sends \"paused\".\nOnly applies when State is \"composing\". 0 = single fire (legacy behaviour).",
"type": "integer"
},
"isAudio": {
"type": "boolean"
},
"number": {
"type": "string"
},
"state": {
"type": "string"
}
}
},
"agentdeck-whatsapp-service_pkg_message_service.DownloadMediaStruct": {
"type": "object",
"properties": {
"message": {
"$ref": "#/definitions/waE2E.Message"
}
}
},
"agentdeck-whatsapp-service_pkg_message_service.EditMessageStruct": {
"type": "object",
"properties": {
"chat": {
"type": "string"
},
"message": {
"type": "string"
},
"messageId": {
"type": "string"
}
}
},
"agentdeck-whatsapp-service_pkg_message_service.MarkPlayedStruct": {
"type": "object",
"properties": {
"id": {
"type": "array",
"items": {
"type": "string"
}
},
"number": {
"type": "string"
}
}
},
"agentdeck-whatsapp-service_pkg_message_service.MarkReadStruct": {
"type": "object",
"properties": {
"id": {
"type": "array",
"items": {
"type": "string"
}
},
"number": {
"type": "string"
}
}
},
"agentdeck-whatsapp-service_pkg_message_service.MessageStatusStruct": {
"type": "object",
"properties": {
"id": {
"type": "string"
}
}
},
"agentdeck-whatsapp-service_pkg_message_service.MessageStruct": {
"type": "object",
"properties": {
"chat": {
"type": "string"
},
"messageId": {
"type": "string"
}
}
},
"agentdeck-whatsapp-service_pkg_message_service.ReactStruct": {
"type": "object",
"properties": {
"fromMe": {
"type": "boolean"
},
"id": {
"type": "string"
},
"number": {
"type": "string"
},
"participant": {
"type": "string"
},
"reaction": {
"type": "string"
}
}
},
"agentdeck-whatsapp-service_pkg_newsletter_service.CreateNewsletterStruct": {
"type": "object",
"properties": {
"description": {
"type": "string"
},
"name": {
"type": "string"
}
}
},
"agentdeck-whatsapp-service_pkg_newsletter_service.GetNewsletterInviteStruct": {
"type": "object",
"properties": {
"key": {
"type": "string"
}
}
},
"agentdeck-whatsapp-service_pkg_newsletter_service.GetNewsletterMessagesStruct": {
"type": "object",
"properties": {
"before_id": {
"type": "integer"
},
"count": {
"type": "integer"
},
"jid": {
"$ref": "#/definitions/types.JID"
}
}
},
"agentdeck-whatsapp-service_pkg_newsletter_service.GetNewsletterStruct": {
"type": "object",
"properties": {
"jid": {
"$ref": "#/definitions/types.JID"
}
}
},
"agentdeck-whatsapp-service_pkg_poll_model.PollResults": {
"type": "object",
"properties": {
"optionCounts": {
"description": "hash -\u003e count",
"type": "object",
"additionalProperties": {
"type": "integer"
}
},
"pollChatJid": {
"type": "string"
},
"pollMessageId": {
"type": "string"
},
"totalVotes": {
"type": "integer"
},
"voters": {
"type": "array",
"items": {
"$ref": "#/definitions/agentdeck-whatsapp-service_pkg_poll_model.VoterInfo"
}
},
"votes": {
"type": "array",
"items": {
"$ref": "#/definitions/agentdeck-whatsapp-service_pkg_poll_model.PollVote"
}
}
}
},
"agentdeck-whatsapp-service_pkg_poll_model.PollVote": {
"type": "object",
"properties": {
"companyId": {
"type": "string"
},
"id": {
"type": "string"
},
"instanceId": {
"type": "string"
},
"pollChatJid": {
"type": "string"
},
"pollMessageId": {
"type": "string"
},
"receivedAt": {
"type": "string"
},
"selectedOptions": {
"description": "SHA-256 hashes",
"type": "array",
"items": {
"type": "string"
}
},
"voteMessageId": {
"type": "string"
},
"votedAt": {
"type": "string"
},
"voterJid": {
"type": "string"
},
"voterName": {
"type": "string"
},
"voterPhone": {
"type": "string"
}
}
},
"agentdeck-whatsapp-service_pkg_poll_model.VoterInfo": {
"type": "object",
"properties": {
"jid": {
"type": "string"
},
"name": {
"type": "string"
},
"phone": {
"type": "string"
},
"selectedOptions": {
"type": "array",
"items": {
"type": "string"
}
},
"votedAt": {
"type": "string"
}
}
},
"agentdeck-whatsapp-service_pkg_sendMessage_service.Button": {
"type": "object",
"properties": {
"copyCode": {
"description": "Code placed in the clipboard when type=copy.",
"type": "string",
"example": "PROMO2026"
},
"currency": {
"description": "ISO currency code for type=pix (e.g. BRL).",
"type": "string",
"example": "BRL"
},
"displayText": {
"description": "Label rendered inside the button (reply / copy / url / call). Ignored for pix.",
"type": "string",
"example": "Quero saber mais"
},
"id": {
"description": "Callback payload for ` + "`" + `reply` + "`" + ` or code-to-copy internal id for ` + "`" + `copy` + "`" + `.",
"type": "string",
"example": "btn_info"
},
"key": {
"description": "Pix key value matching the keyType.",
"type": "string",
"example": "12345678900"
},
"keyType": {
"description": "Pix key type. One of: phone, email, cpf, cnpj, random.",
"type": "string",
"enum": [
"phone",
"email",
"cpf",
"cnpj",
"random"
],
"example": "cpf"
},
"name": {
"description": "Merchant display name shown on the Pix sheet.",
"type": "string",
"example": "Minha Loja"
},
"phoneNumber": {
"description": "Destination phone number (E.164) when type=call.",
"type": "string",
"example": "+5582988898565"
},
"type": {
"description": "Button kind. One of: reply, copy, url, call, pix.",
"type": "string",
"enum": [
"reply",
"copy",
"url",
"call",
"pix"
],
"example": "reply"
},
"url": {
"description": "Target URL when type=url.",
"type": "string",
"example": "https://agentdeck.ai"
}
}
},
"agentdeck-whatsapp-service_pkg_sendMessage_service.ButtonStruct": {
"type": "object",
"properties": {
"buttons": {
"description": "Buttons array. See combination rules on the parent type description.",
"type": "array",
"items": {
"$ref": "#/definitions/agentdeck-whatsapp-service_pkg_sendMessage_service.Button"
}
},
"delay": {
"description": "Typing delay (milliseconds) applied before sending the message.",
"type": "integer",
"example": 1200
},
"description": {
"description": "Body description text (required).",
"type": "string",
"example": "Confira as condicoes abaixo"
},
"footer": {
"description": "Footer text (required).",
"type": "string",
"example": "AgentDeck Whatsapp Service"
},
"formatJid": {
"description": "If false, skips automatic formatting/validation of ` + "`" + `number` + "`" + ` into a JID.",
"type": "boolean"
},
"imageUrl": {
"description": "Optional image URL used as header for reply-only buttons.",
"type": "string"
},
"mentionAll": {
"description": "Mention every participant (groups only).",
"type": "boolean"
},
"mentionedJid": {
"description": "JIDs to mention inside the body text.",
"type": "array",
"items": {
"type": "string"
}
},
"number": {
"description": "Destination phone number.",
"type": "string",
"example": "5582988898565"
},
"quoted": {
"description": "Quoted (reply-to) context.",
"allOf": [
{
"$ref": "#/definitions/agentdeck-whatsapp-service_pkg_sendMessage_service.QuotedStruct"
}
]
},
"title": {
"description": "Header title (required).",
"type": "string",
"example": "Oferta especial"
},
"videoUrl": {
"description": "Optional video URL used as header for reply-only buttons.",
"type": "string"
}
}
},
"agentdeck-whatsapp-service_pkg_sendMessage_service.CarouselButtonStruct": {
"type": "object",
"properties": {
"copyCode": {
"description": "Code placed in the clipboard when type=COPY.",
"type": "string",
"example": "PROMO2026"
},
"displayText": {
"description": "Label rendered inside the button.",
"type": "string",
"example": "Quero saber mais"
},
"id": {
"description": "Context-dependent: REPLY payload, URL target (type=URL) or phone number (type=CALL).",
"type": "string",
"example": "card1_info"
},
"type": {
"description": "Button kind (case-insensitive). One of: REPLY (default), URL, CALL, COPY.",
"type": "string",
"enum": [
"REPLY",
"URL",
"CALL",
"COPY",
"reply",
"url",
"call",
"copy"
],
"example": "REPLY"
}
}
},
"agentdeck-whatsapp-service_pkg_sendMessage_service.CarouselCardBodyStruct": {
"type": "object",
"properties": {
"text": {
"description": "Main text of the card.",
"type": "string",
"example": "Card 1 - Oferta especial"
}
}
},
"agentdeck-whatsapp-service_pkg_sendMessage_service.CarouselCardHeaderStruct": {
"type": "object",
"properties": {
"imageUrl": {
"description": "Public URL to an image. Downloaded, uploaded to WhatsApp servers and used as card media.",
"type": "string",
"example": "https://picsum.photos/seed/card1/600/400"
},
"subtitle": {
"description": "Optional subtitle rendered below the title.",
"type": "string",
"example": "Somente hoje"
},
"title": {
"description": "Optional visible title above the media.",
"type": "string",
"example": "Oferta do dia"
},
"videoUrl": {
"description": "Public URL to a video. Used only when ` + "`" + `imageUrl` + "`" + ` is empty.",
"type": "string"
}
}
},
"agentdeck-whatsapp-service_pkg_sendMessage_service.CarouselCardStruct": {
"type": "object",
"properties": {
"body": {
"description": "Card body text (required).",
"allOf": [
{
"$ref": "#/definitions/agentdeck-whatsapp-service_pkg_sendMessage_service.CarouselCardBodyStruct"
}
]
},
"buttons": {
"description": "Buttons shown on the card. See CarouselButtonStruct for combination rules.",
"type": "array",
"items": {
"$ref": "#/definitions/agentdeck-whatsapp-service_pkg_sendMessage_service.CarouselButtonStruct"
}
},
"footer": {
"description": "Optional footer rendered under the body.",
"type": "string",
"example": "Por tempo limitado"
},
"header": {
"description": "Card header (media + title/subtitle).",
"allOf": [
{
"$ref": "#/definitions/agentdeck-whatsapp-service_pkg_sendMessage_service.CarouselCardHeaderStruct"
}
]
}
}
},
"agentdeck-whatsapp-service_pkg_sendMessage_service.CarouselStruct": {
"type": "object",
"properties": {
"body": {
"description": "Optional message body shown above the cards.",
"type": "string",
"example": "Confira nossas novidades!"
},
"cards": {
"description": "Cards displayed in order. At least one card is required.",
"type": "array",
"items": {
"$ref": "#/definitions/agentdeck-whatsapp-service_pkg_sendMessage_service.CarouselCardStruct"
}
},
"delay": {
"description": "Typing delay (milliseconds) applied before sending the message.",
"type": "integer",
"example": 1200
},
"footer": {
"description": "Optional message footer shown below the cards.",
"type": "string",
"example": "AgentDeck Whatsapp Service"
},
"formatJid": {
"description": "If false, skips automatic formatting/validation of ` + "`" + `number` + "`" + ` into a JID.",
"type": "boolean"
},
"number": {
"description": "Destination phone number.",
"type": "string",
"example": "5582988898565"
},
"quoted": {
"description": "Quoted (reply-to) context.",
"allOf": [
{
"$ref": "#/definitions/agentdeck-whatsapp-service_pkg_sendMessage_service.QuotedStruct"
}
]
}
}
},
"agentdeck-whatsapp-service_pkg_sendMessage_service.ContactStruct": {
"type": "object",
"properties": {
"delay": {
"type": "integer"
},
"formatJid": {
"type": "boolean"
},
"id": {
"type": "string"
},
"mentionAll": {
"type": "boolean"
},
"mentionedJid": {
"type": "array",
"items": {
"type": "string"
}
},
"number": {
"type": "string"
},
"quoted": {
"$ref": "#/definitions/agentdeck-whatsapp-service_pkg_sendMessage_service.QuotedStruct"
},
"vcard": {
"$ref": "#/definitions/agentdeck-whatsapp-service_pkg_utils.VCardStruct"
}
}
},
"agentdeck-whatsapp-service_pkg_sendMessage_service.LinkStruct": {
"type": "object",
"properties": {
"delay": {
"type": "integer"
},
"description": {
"type": "string"
},
"formatJid": {
"type": "boolean"
},
"id": {
"type": "string"
},
"imgUrl": {
"type": "string"
},
"mentionAll": {
"type": "boolean"
},
"mentionedJid": {
"type": "array",
"items": {
"type": "string"
}
},
"number": {
"type": "string"
},
"quoted": {
"$ref": "#/definitions/agentdeck-whatsapp-service_pkg_sendMessage_service.QuotedStruct"
},
"text": {
"type": "string"
},
"title": {
"type": "string"
},
"url": {
"type": "string"
}
}
},
"agentdeck-whatsapp-service_pkg_sendMessage_service.ListStruct": {
"type": "object",
"properties": {
"buttonText": {
"description": "Label of the button that opens the list. Defaults to \"Ver Menu\" when empty.",
"type": "string",
"example": "Abrir cardapio"
},
"delay": {
"description": "Typing delay (milliseconds) applied before sending the message.",
"type": "integer",
"example": 1200
},
"description": {
"description": "Body description text (required).",
"type": "string",
"example": "Escolha o plano ideal para voce"
},
"footerText": {
"description": "Footer text (required).",
"type": "string",
"example": "AgentDeck Whatsapp Service"
},
"formatJid": {
"description": "If false, skips automatic formatting/validation of ` + "`" + `number` + "`" + ` into a JID.",
"type": "boolean"
},
"mentionAll": {
"description": "Mention every participant (groups only).",
"type": "boolean"
},
"mentionedJid": {
"description": "JIDs to mention inside the body text.",
"type": "array",
"items": {
"type": "string"
}
},
"number": {
"description": "Destination phone number.",
"type": "string",
"example": "5582988898565"
},
"quoted": {
"description": "Quoted (reply-to) context.",
"allOf": [
{
"$ref": "#/definitions/agentdeck-whatsapp-service_pkg_sendMessage_service.QuotedStruct"
}
]
},
"sections": {
"description": "Sections with rows. At least one section with one row is required.",
"type": "array",
"items": {
"$ref": "#/definitions/agentdeck-whatsapp-service_pkg_sendMessage_service.Section"
}
},
"title": {
"description": "Header title (required).",
"type": "string",
"example": "Nossos planos"
}
}
},
"agentdeck-whatsapp-service_pkg_sendMessage_service.LocationStruct": {
"type": "object",
"properties": {
"address": {
"type": "string"
},
"delay": {
"type": "integer"
},
"formatJid": {
"type": "boolean"
},
"id": {
"type": "string"
},
"latitude": {
"type": "number"
},
"longitude": {
"type": "number"
},
"mentionAll": {
"type": "boolean"
},
"mentionedJid": {
"type": "array",
"items": {
"type": "string"
}
},
"name": {
"type": "string"
},
"number": {
"type": "string"
},
"quoted": {
"$ref": "#/definitions/agentdeck-whatsapp-service_pkg_sendMessage_service.QuotedStruct"
}
}
},
"agentdeck-whatsapp-service_pkg_sendMessage_service.MediaStruct": {
"type": "object",
"properties": {
"caption": {
"type": "string"
},
"delay": {
"type": "integer"
},
"filename": {
"type": "string"
},
"formatJid": {
"type": "boolean"
},
"forwardingScore": {
"type": "integer"
},
"id": {
"type": "string"
},
"mentionAll": {
"type": "boolean"
},
"mentionedJid": {
"type": "array",
"items": {
"type": "string"
}
},
"number": {
"type": "string"
},
"quoted": {
"$ref": "#/definitions/agentdeck-whatsapp-service_pkg_sendMessage_service.QuotedStruct"
},
"type": {
"type": "string"
},
"url": {
"type": "string"
}
}
},
"agentdeck-whatsapp-service_pkg_sendMessage_service.PollStruct": {
"type": "object",
"properties": {
"delay": {
"type": "integer"
},
"formatJid": {
"type": "boolean"
},
"id": {
"type": "string"
},
"maxAnswer": {
"type": "integer"
},
"mentionAll": {
"type": "boolean"
},
"mentionedJid": {
"type": "array",
"items": {
"type": "string"
}
},
"number": {
"type": "string"
},
"options": {
"type": "array",
"items": {
"type": "string"
}
},
"question": {
"type": "string"
},
"quoted": {
"$ref": "#/definitions/agentdeck-whatsapp-service_pkg_sendMessage_service.QuotedStruct"
}
}
},
"agentdeck-whatsapp-service_pkg_sendMessage_service.QuotedStruct": {
"type": "object",
"properties": {
"messageId": {
"type": "string"
},
"participant": {
"type": "string"
}
}
},
"agentdeck-whatsapp-service_pkg_sendMessage_service.Row": {
"type": "object",
"properties": {
"description": {
"description": "Optional secondary line below the title.",
"type": "string",
"example": "R$ 29,90/mes"
},
"rowId": {
"description": "Callback payload returned when the user taps the row. Auto-generated if empty.",
"type": "string",
"example": "plan_basic"
},
"title": {
"description": "Row main label.",
"type": "string",
"example": "Plano Basico"
}
}
},
"agentdeck-whatsapp-service_pkg_sendMessage_service.Section": {
"type": "object",
"properties": {
"rows": {
"description": "Rows inside this section.",
"type": "array",
"items": {
"$ref": "#/definitions/agentdeck-whatsapp-service_pkg_sendMessage_service.Row"
}
},
"title": {
"description": "Section heading (optional; rendered as a group separator).",
"type": "string",
"example": "Planos"
}
}
},
"agentdeck-whatsapp-service_pkg_sendMessage_service.StatusTextStruct": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"text": {
"type": "string"
}
}
},
"agentdeck-whatsapp-service_pkg_sendMessage_service.StickerStruct": {
"type": "object",
"properties": {
"delay": {
"type": "integer"
},
"formatJid": {
"type": "boolean"
},
"id": {
"type": "string"
},
"mentionAll": {
"type": "boolean"
},
"mentionedJid": {
"type": "array",
"items": {
"type": "string"
}
},
"number": {
"type": "string"
},
"quoted": {
"$ref": "#/definitions/agentdeck-whatsapp-service_pkg_sendMessage_service.QuotedStruct"
},
"sticker": {
"type": "string"
}
}
},
"agentdeck-whatsapp-service_pkg_sendMessage_service.TextStruct": {
"type": "object",
"properties": {
"delay": {
"type": "integer"
},
"formatJid": {
"type": "boolean"
},
"forwardingScore": {
"type": "integer"
},
"id": {
"type": "string"
},
"mentionAll": {
"type": "boolean"
},
"mentionedJid": {
"type": "array",
"items": {
"type": "string"
}
},
"number": {
"type": "string"
},
"quoted": {
"$ref": "#/definitions/agentdeck-whatsapp-service_pkg_sendMessage_service.QuotedStruct"
},
"text": {
"type": "string"
}
}
},
"agentdeck-whatsapp-service_pkg_user_service.BlockStruct": {
"type": "object",
"properties": {
"number": {
"type": "string"
}
}
},
"agentdeck-whatsapp-service_pkg_user_service.CheckUserStruct": {
"type": "object",
"properties": {
"formatJid": {
"type": "boolean"
},
"number": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"agentdeck-whatsapp-service_pkg_user_service.GetAvatarStruct": {
"type": "object",
"properties": {
"number": {
"type": "string"
},
"preview": {
"type": "boolean"
}
}
},
"agentdeck-whatsapp-service_pkg_user_service.PrivacyStruct": {
"type": "object",
"properties": {
"callAdd": {
"$ref": "#/definitions/types.PrivacySetting"
},
"groupAdd": {
"$ref": "#/definitions/types.PrivacySetting"
},
"lastSeen": {
"$ref": "#/definitions/types.PrivacySetting"
},
"online": {
"$ref": "#/definitions/types.PrivacySetting"
},
"profile": {
"$ref": "#/definitions/types.PrivacySetting"
},
"readReceipts": {
"$ref": "#/definitions/types.PrivacySetting"
},
"status": {
"$ref": "#/definitions/types.PrivacySetting"
}
}
},
"agentdeck-whatsapp-service_pkg_user_service.SetProfilePictureStruct": {
"type": "object",
"properties": {
"image": {
"type": "string"
}
}
},
"agentdeck-whatsapp-service_pkg_utils.VCardStruct": {
"type": "object",
"properties": {
"fullName": {
"type": "string"
},
"organization": {
"type": "string"
},
"phone": {
"type": "string"
}
}
},
"types.AddressingMode": {
"type": "string",
"enum": [
"pn",
"lid"
],
"x-enum-varnames": [
"AddressingModePN",
"AddressingModeLID"
]
},
"types.BotEditType": {
"type": "string",
"enum": [
"first",
"inner",
"last"
],
"x-enum-varnames": [
"EditTypeFirst",
"EditTypeInner",
"EditTypeLast"
]
},
"types.BroadcastRecipient": {
"type": "object",
"properties": {
"lid": {
"$ref": "#/definitions/types.JID"
},
"pn": {
"$ref": "#/definitions/types.JID"
}
}
},
"types.DeviceSentMeta": {
"type": "object",
"properties": {
"destinationJID": {
"description": "The destination user. This should match the MessageInfo.Recipient field.",
"type": "string"
},
"phash": {
"type": "string"
}
}
},
"types.EditAttribute": {
"type": "string",
"enum": [
"",
"1",
"2",
"3",
"7",
"8"
],
"x-enum-comments": {
"EditAttributeAdminEdit": "only used in newsletters"
},
"x-enum-descriptions": [
"",
"",
"",
"only used in newsletters",
"",
""
],
"x-enum-varnames": [
"EditAttributeEmpty",
"EditAttributeMessageEdit",
"EditAttributePinInChat",
"EditAttributeAdminEdit",
"EditAttributeSenderRevoke",
"EditAttributeAdminRevoke"
]
},
"types.JID": {
"type": "object",
"properties": {
"device": {
"type": "integer",
"format": "int32"
},
"integrator": {
"type": "integer",
"format": "int32"
},
"rawAgent": {
"type": "integer",
"format": "int32"
},
"server": {
"type": "string"
},
"user": {
"type": "string"
}
}
},
"types.MessageInfo": {
"type": "object",
"properties": {
"addressingMode": {
"description": "The addressing mode of the message (phone number or LID)",
"allOf": [
{
"$ref": "#/definitions/types.AddressingMode"
}
]
},
"broadcastListOwner": {
"description": "When sending a read receipt to a broadcast list message, the Chat is the broadcast list\nand Sender is you, so this field contains the recipient of the read receipt.",
"allOf": [
{
"$ref": "#/definitions/types.JID"
}
]
},
"broadcastRecipients": {
"type": "array",
"items": {
"$ref": "#/definitions/types.BroadcastRecipient"
}
},
"category": {
"type": "string"
},
"chat": {
"description": "The chat where the message was sent.",
"allOf": [
{
"$ref": "#/definitions/types.JID"
}
]
},
"deviceSentMeta": {
"description": "Metadata for direct messages sent from another one of the user's own devices.",
"allOf": [
{
"$ref": "#/definitions/types.DeviceSentMeta"
}
]
},
"edit": {
"$ref": "#/definitions/types.EditAttribute"
},
"id": {
"type": "string"
},
"isFromMe": {
"description": "Whether the message was sent by the current user instead of someone else.",
"type": "boolean"
},
"isGroup": {
"description": "Whether the chat is a group chat or broadcast list.",
"type": "boolean"
},
"mediaType": {
"type": "string"
},
"msgBotInfo": {
"$ref": "#/definitions/types.MsgBotInfo"
},
"msgMetaInfo": {
"$ref": "#/definitions/types.MsgMetaInfo"
},
"multicast": {
"type": "boolean"
},
"pushName": {
"type": "string"
},
"recipientAlt": {
"description": "The alternative address of the recipient of the message for DMs.",
"allOf": [
{
"$ref": "#/definitions/types.JID"
}
]
},
"sender": {
"description": "The user who sent the message.",
"allOf": [
{
"$ref": "#/definitions/types.JID"
}
]
},
"senderAlt": {
"description": "The alternative address of the user who sent the message",
"allOf": [
{
"$ref": "#/definitions/types.JID"
}
]
},
"serverID": {
"type": "integer"
},
"timestamp": {
"type": "string"
},
"type": {
"type": "string"
},
"verifiedName": {
"$ref": "#/definitions/types.VerifiedName"
}
}
},
"types.MsgBotInfo": {
"type": "object",
"properties": {
"editSenderTimestampMS": {
"type": "string"
},
"editTargetID": {
"type": "string"
},
"editType": {
"$ref": "#/definitions/types.BotEditType"
}
}
},
"types.MsgMetaInfo": {
"type": "object",
"properties": {
"deprecatedLIDSession": {
"type": "boolean"
},
"targetChat": {
"$ref": "#/definitions/types.JID"
},
"targetID": {
"description": "Bot things",
"type": "string"
},
"targetSender": {
"$ref": "#/definitions/types.JID"
},
"threadMessageID": {
"type": "string"
},
"threadMessageSenderJID": {
"$ref": "#/definitions/types.JID"
}
}
},
"types.PrivacySetting": {
"type": "string",
"enum": [
"",
"all",
"contacts",
"contact_allowlist",
"contact_blacklist",
"match_last_seen",
"known",
"none",
"on_standard",
"off"
],
"x-enum-varnames": [
"PrivacySettingUndefined",
"PrivacySettingAll",
"PrivacySettingContacts",
"PrivacySettingContactAllowlist",
"PrivacySettingContactBlacklist",
"PrivacySettingMatchLastSeen",
"PrivacySettingKnown",
"PrivacySettingNone",
"PrivacySettingOnStandard",
"PrivacySettingOff"
]
},
"types.VerifiedName": {
"type": "object",
"properties": {
"certificate": {
"$ref": "#/definitions/waVnameCert.VerifiedNameCertificate"
},
"details": {
"$ref": "#/definitions/waVnameCert.VerifiedNameCertificate_Details"
}
}
},
"types.WebAuthnResponse": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"rawId": {
"type": "array",
"items": {
"type": "integer"
}
},
"response": {
"$ref": "#/definitions/types.WebAuthnResponseData"
},
"type": {
"type": "string"
}
}
},
"types.WebAuthnResponseData": {
"type": "object",
"properties": {
"authenticatorData": {
"type": "array",
"items": {
"type": "integer"
}
},
"clientDataJSON": {
"type": "array",
"items": {
"type": "integer"
}
},
"signature": {
"type": "array",
"items": {
"type": "integer"
}
},
"userHandle": {
"type": "array",
"items": {
"type": "integer"
}
}
}
},
"waAICommon.AIMediaCollectionMessage": {
"type": "object",
"properties": {
"collectionID": {
"type": "string"
},
"expectedMediaCount": {
"type": "integer"
},
"hasGlobalCaption": {
"type": "boolean"
}
}
},
"waAICommon.AIMediaCollectionMetadata": {
"type": "object",
"properties": {
"collectionID": {
"type": "string"
},
"uploadOrderIndex": {
"type": "integer"
}
}
},
"waAICommon.AIMetadataOperation": {
"type": "object",
"properties": {
"hatchMetadataSync": {
"$ref": "#/definitions/waAICommon.HatchMetadataSync"
}
}
},
"waAICommon.AIRegenerateMetadata": {
"type": "object",
"properties": {
"messageKey": {
"$ref": "#/definitions/waCommon.MessageKey"
},
"responseTimestampMS": {
"type": "integer"
}
}
},
"waAICommon.AIRichResponseUnifiedResponse": {
"type": "object",
"properties": {
"data": {
"type": "array",
"items": {
"type": "integer"
}
}
}
},
"waAICommon.AISubscriptionRequestType": {
"type": "integer",
"format": "int32",
"enum": [
0,
1,
2,
3
],
"x-enum-varnames": [
"AISubscriptionRequestType_UNSPECIFIED",
"AISubscriptionRequestType_THINK_HARD",
"AISubscriptionRequestType_IMAGE_GEN",
"AISubscriptionRequestType_VIDEO_GEN"
]
},
"waAICommon.AISubscriptionUpsellMetadata": {
"type": "object",
"properties": {
"requestType": {
"$ref": "#/definitions/waAICommon.AISubscriptionRequestType"
}
}
},
"waAICommon.AIThreadInfo": {
"type": "object",
"properties": {
"clientInfo": {
"$ref": "#/definitions/waAICommon.AIThreadInfo_AIThreadClientInfo"
},
"serverInfo": {
"$ref": "#/definitions/waAICommon.AIThreadInfo_AIThreadServerInfo"
}
}
},
"waAICommon.AIThreadInfo_AIThreadClientInfo": {
"type": "object",
"properties": {
"sourceChatJID": {
"type": "string"
},
"type": {
"$ref": "#/definitions/waAICommon.AIThreadInfo_AIThreadClientInfo_AIThreadType"
}
}
},
"waAICommon.AIThreadInfo_AIThreadClientInfo_AIThreadType": {
"type": "integer",
"format": "int32",
"enum": [
0,
1,
2,
3
],
"x-enum-varnames": [
"AIThreadInfo_AIThreadClientInfo_UNKNOWN",
"AIThreadInfo_AIThreadClientInfo_DEFAULT",
"AIThreadInfo_AIThreadClientInfo_INCOGNITO",
"AIThreadInfo_AIThreadClientInfo_SIDE_CHAT"
]
},
"waAICommon.AIThreadInfo_AIThreadServerInfo": {
"type": "object",
"properties": {
"title": {
"type": "string"
}
}
},
"waAICommon.BotAgeCollectionMetadata": {
"type": "object",
"properties": {
"ageCollectionEligible": {
"type": "boolean"
},
"ageCollectionType": {
"$ref": "#/definitions/waAICommon.BotAgeCollectionMetadata_AgeCollectionType"
},
"shouldTriggerAgeCollectionOnClient": {
"type": "boolean"
}
}
},
"waAICommon.BotAgeCollectionMetadata_AgeCollectionType": {
"type": "integer",
"format": "int32",
"enum": [
0,
1
],
"x-enum-varnames": [
"BotAgeCollectionMetadata_O18_BINARY",
"BotAgeCollectionMetadata_WAFFLE"
]
},
"waAICommon.BotAgentDeepLinkMetadata": {
"type": "object",
"properties": {
"token": {
"type": "string"
}
}
},
"waAICommon.BotAgentMetadata": {
"type": "object",
"properties": {
"deepLinkMetadata": {
"$ref": "#/definitions/waAICommon.BotAgentDeepLinkMetadata"
}
}
},
"waAICommon.BotCapabilityMetadata": {
"type": "object",
"properties": {
"capabilities": {
"type": "array",
"items": {
"$ref": "#/definitions/waAICommon.BotCapabilityMetadata_BotCapabilityType"
}
}
}
},
"waAICommon.BotCapabilityMetadata_BotCapabilityType": {
"type": "integer",
"format": "int32",
"enum": [
0,
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
13,
14,
15,
16,
17,
18,
19,
20,
21,
22,
23,
24,
25,
26,
27,
28,
29,
30,
31,
32,
33,
34,
35,
36,
37,
38,
39,
40,
41,
42,
43,
44,
45,
46,
47,
48,
49,
50,
51,
52,
53,
54,
55,
56,
57,
58,
59,
60,
61,
62,
63,
64,
65
],
"x-enum-varnames": [
"BotCapabilityMetadata_UNKNOWN",
"BotCapabilityMetadata_PROGRESS_INDICATOR",
"BotCapabilityMetadata_RICH_RESPONSE_HEADING",
"BotCapabilityMetadata_RICH_RESPONSE_NESTED_LIST",
"BotCapabilityMetadata_AI_MEMORY",
"BotCapabilityMetadata_RICH_RESPONSE_THREAD_SURFING",
"BotCapabilityMetadata_RICH_RESPONSE_TABLE",
"BotCapabilityMetadata_RICH_RESPONSE_CODE",
"BotCapabilityMetadata_RICH_RESPONSE_STRUCTURED_RESPONSE",
"BotCapabilityMetadata_RICH_RESPONSE_INLINE_IMAGE",
"BotCapabilityMetadata_WA_IG_1P_PLUGIN_RANKING_CONTROL",
"BotCapabilityMetadata_WA_IG_1P_PLUGIN_RANKING_UPDATE_1",
"BotCapabilityMetadata_WA_IG_1P_PLUGIN_RANKING_UPDATE_2",
"BotCapabilityMetadata_WA_IG_1P_PLUGIN_RANKING_UPDATE_3",
"BotCapabilityMetadata_WA_IG_1P_PLUGIN_RANKING_UPDATE_4",
"BotCapabilityMetadata_WA_IG_1P_PLUGIN_RANKING_UPDATE_5",
"BotCapabilityMetadata_WA_IG_1P_PLUGIN_RANKING_UPDATE_6",
"BotCapabilityMetadata_WA_IG_1P_PLUGIN_RANKING_UPDATE_7",
"BotCapabilityMetadata_WA_IG_1P_PLUGIN_RANKING_UPDATE_8",
"BotCapabilityMetadata_WA_IG_1P_PLUGIN_RANKING_UPDATE_9",
"BotCapabilityMetadata_WA_IG_1P_PLUGIN_RANKING_UPDATE_10",
"BotCapabilityMetadata_RICH_RESPONSE_SUB_HEADING",
"BotCapabilityMetadata_RICH_RESPONSE_GRID_IMAGE",
"BotCapabilityMetadata_AI_STUDIO_UGC_MEMORY",
"BotCapabilityMetadata_RICH_RESPONSE_LATEX",
"BotCapabilityMetadata_RICH_RESPONSE_MAPS",
"BotCapabilityMetadata_RICH_RESPONSE_INLINE_REELS",
"BotCapabilityMetadata_AGENTIC_PLANNING",
"BotCapabilityMetadata_ACCOUNT_LINKING",
"BotCapabilityMetadata_STREAMING_DISAGGREGATION",
"BotCapabilityMetadata_RICH_RESPONSE_GRID_IMAGE_3P",
"BotCapabilityMetadata_RICH_RESPONSE_LATEX_INLINE",
"BotCapabilityMetadata_QUERY_PLAN",
"BotCapabilityMetadata_PROACTIVE_MESSAGE",
"BotCapabilityMetadata_RICH_RESPONSE_UNIFIED_RESPONSE",
"BotCapabilityMetadata_PROMOTION_MESSAGE",
"BotCapabilityMetadata_SIMPLIFIED_PROFILE_PAGE",
"BotCapabilityMetadata_RICH_RESPONSE_SOURCES_IN_MESSAGE",
"BotCapabilityMetadata_RICH_RESPONSE_SIDE_BY_SIDE_SURVEY",
"BotCapabilityMetadata_RICH_RESPONSE_UNIFIED_TEXT_COMPONENT",
"BotCapabilityMetadata_AI_SHARED_MEMORY",
"BotCapabilityMetadata_RICH_RESPONSE_UNIFIED_SOURCES",
"BotCapabilityMetadata_RICH_RESPONSE_UNIFIED_DOMAIN_CITATIONS",
"BotCapabilityMetadata_RICH_RESPONSE_UR_INLINE_REELS_ENABLED",
"BotCapabilityMetadata_RICH_RESPONSE_UR_MEDIA_GRID_ENABLED",
"BotCapabilityMetadata_RICH_RESPONSE_UR_TIMESTAMP_PLACEHOLDER",
"BotCapabilityMetadata_RICH_RESPONSE_IN_APP_SURVEY",
"BotCapabilityMetadata_AI_RESPONSE_MODEL_BRANDING",
"BotCapabilityMetadata_SESSION_TRANSPARENCY_SYSTEM_MESSAGE",
"BotCapabilityMetadata_RICH_RESPONSE_UR_REASONING",
"BotCapabilityMetadata_RICH_RESPONSE_UR_ZEITGEIST_CITATIONS",
"BotCapabilityMetadata_RICH_RESPONSE_UR_ZEITGEIST_CAROUSEL",
"BotCapabilityMetadata_AI_IMAGINE_LOADING_INDICATOR",
"BotCapabilityMetadata_RICH_RESPONSE_UR_IMAGINE",
"BotCapabilityMetadata_AI_IMAGINE_UR_TO_NATIVE_LOADING_INDICATOR",
"BotCapabilityMetadata_RICH_RESPONSE_UR_BLOKS_ENABLED",
"BotCapabilityMetadata_RICH_RESPONSE_INLINE_LINKS_ENABLED",
"BotCapabilityMetadata_RICH_RESPONSE_UR_IMAGINE_VIDEO",
"BotCapabilityMetadata_JSON_PATCH_STREAMING",
"BotCapabilityMetadata_AI_TAB_FORCE_CLIPPY",
"BotCapabilityMetadata_UNIFIED_RESPONSE_EMBEDDED_SCREENS",
"BotCapabilityMetadata_AI_SUBSCRIPTION_ENABLED",
"BotCapabilityMetadata_UNIFIED_RESPONSE_AI_CONTENT_SEARCH_ENABLED",
"BotCapabilityMetadata_UNIFIED_RESPONSE_MARKDOWN_LINKS_ENABLED",
"BotCapabilityMetadata_AI_RICH_RESPONSE_MAPS_V2_ENABLED",
"BotCapabilityMetadata_AI_SUBSCRIPTION_METERING_ENABLED"
]
},
"waAICommon.BotCommandMetadata": {
"type": "object",
"properties": {
"commandDescription": {
"type": "string"
},
"commandName": {
"type": "string"
},
"commandPrompt": {
"type": "string"
}
}
},
"waAICommon.BotDocumentMessageMetadata": {
"type": "object",
"properties": {
"pluginType": {
"$ref": "#/definitions/waAICommon.BotDocumentMessageMetadata_DocumentPluginType"
}
}
},
"waAICommon.BotDocumentMessageMetadata_DocumentPluginType": {
"type": "integer",
"format": "int32",
"enum": [
0,
1
],
"x-enum-varnames": [
"BotDocumentMessageMetadata_TEXT_EXTRACTION",
"BotDocumentMessageMetadata_OCR_AND_IMAGES"
]
},
"waAICommon.BotFeedbackMessage": {
"type": "object",
"properties": {
"kind": {
"$ref": "#/definitions/waAICommon.BotFeedbackMessage_BotFeedbackKind"
},
"kindNegative": {
"type": "integer"
},
"kindPositive": {
"type": "integer"
},
"kindReport": {
"$ref": "#/definitions/waAICommon.BotFeedbackMessage_ReportKind"
},
"messageKey": {
"$ref": "#/definitions/waCommon.MessageKey"
},
"sideBySideSurveyMetadata": {
"$ref": "#/definitions/waAICommon.BotFeedbackMessage_SideBySideSurveyMetadata"
},
"text": {
"type": "string"
}
}
},
"waAICommon.BotFeedbackMessage_BotFeedbackKind": {
"type": "integer",
"format": "int32",
"enum": [
0,
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
13,
14
],
"x-enum-varnames": [
"BotFeedbackMessage_BOT_FEEDBACK_POSITIVE",
"BotFeedbackMessage_BOT_FEEDBACK_NEGATIVE_GENERIC",
"BotFeedbackMessage_BOT_FEEDBACK_NEGATIVE_HELPFUL",
"BotFeedbackMessage_BOT_FEEDBACK_NEGATIVE_INTERESTING",
"BotFeedbackMessage_BOT_FEEDBACK_NEGATIVE_ACCURATE",
"BotFeedbackMessage_BOT_FEEDBACK_NEGATIVE_SAFE",
"BotFeedbackMessage_BOT_FEEDBACK_NEGATIVE_OTHER",
"BotFeedbackMessage_BOT_FEEDBACK_NEGATIVE_REFUSED",
"BotFeedbackMessage_BOT_FEEDBACK_NEGATIVE_NOT_VISUALLY_APPEALING",
"BotFeedbackMessage_BOT_FEEDBACK_NEGATIVE_NOT_RELEVANT_TO_TEXT",
"BotFeedbackMessage_BOT_FEEDBACK_NEGATIVE_PERSONALIZED",
"BotFeedbackMessage_BOT_FEEDBACK_NEGATIVE_CLARITY",
"BotFeedbackMessage_BOT_FEEDBACK_NEGATIVE_DOESNT_LOOK_LIKE_THE_PERSON",
"BotFeedbackMessage_BOT_FEEDBACK_NEGATIVE_HALLUCINATION_INTERNAL_ONLY",
"BotFeedbackMessage_BOT_FEEDBACK_NEGATIVE"
]
},
"waAICommon.BotFeedbackMessage_ReportKind": {
"type": "integer",
"format": "int32",
"enum": [
0,
1
],
"x-enum-varnames": [
"BotFeedbackMessage_NONE",
"BotFeedbackMessage_GENERIC"
]
},
"waAICommon.BotFeedbackMessage_SideBySideSurveyMetadata": {
"type": "object",
"properties": {
"analyticsData": {
"$ref": "#/definitions/waAICommon.BotFeedbackMessage_SideBySideSurveyMetadata_SideBySideSurveyAnalyticsData"
},
"isSelectedResponsePrimary": {
"type": "boolean"
},
"messageIDToEdit": {
"type": "string"
},
"metaAiAnalyticsData": {
"$ref": "#/definitions/waAICommon.BotFeedbackMessage_SideBySideSurveyMetadata_SidebySideSurveyMetaAiAnalyticsData"
},
"responseOtid": {
"type": "string"
},
"responseTimestampMSString": {
"type": "string"
},
"selectedRequestID": {
"type": "string"
},
"simonSessionFbid": {
"type": "string"
},
"surveyID": {
"type": "integer"
}
}
},
"waAICommon.BotFeedbackMessage_SideBySideSurveyMetadata_SideBySideSurveyAnalyticsData": {
"type": "object",
"properties": {
"simonSessionFbid": {
"type": "string"
},
"tessaEvent": {
"type": "string"
},
"tessaSessionFbid": {
"type": "string"
}
}
},
"waAICommon.BotFeedbackMessage_SideBySideSurveyMetadata_SidebySideSurveyMetaAiAnalyticsData": {
"type": "object",
"properties": {
"abandonEvent": {
"$ref": "#/definitions/waAICommon.BotFeedbackMessage_SideBySideSurveyMetadata_SidebySideSurveyMetaAiAnalyticsData_SideBySideSurveyAbandonEventData"
},
"cardImpressionEvent": {
"$ref": "#/definitions/waAICommon.BotFeedbackMessage_SideBySideSurveyMetadata_SidebySideSurveyMetaAiAnalyticsData_SideBySideSurveyCardImpressionEventData"
},
"ctaClickEvent": {
"$ref": "#/definitions/waAICommon.BotFeedbackMessage_SideBySideSurveyMetadata_SidebySideSurveyMetaAiAnalyticsData_SideBySideSurveyCTAClickEventData"
},
"ctaImpressionEvent": {
"$ref": "#/definitions/waAICommon.BotFeedbackMessage_SideBySideSurveyMetadata_SidebySideSurveyMetaAiAnalyticsData_SideBySideSurveyCTAImpressionEventData"
},
"primaryResponseID": {
"type": "string"
},
"responseEvent": {
"$ref": "#/definitions/waAICommon.BotFeedbackMessage_SideBySideSurveyMetadata_SidebySideSurveyMetaAiAnalyticsData_SideBySideSurveyResponseEventData"
},
"surveyID": {
"type": "integer"
},
"testArmName": {
"type": "string"
},
"timestampMSString": {
"type": "string"
}
}
},
"waAICommon.BotFeedbackMessage_SideBySideSurveyMetadata_SidebySideSurveyMetaAiAnalyticsData_SideBySideSurveyAbandonEventData": {
"type": "object",
"properties": {
"abandonDwellTimeMSString": {
"type": "string"
}
}
},
"waAICommon.BotFeedbackMessage_SideBySideSurveyMetadata_SidebySideSurveyMetaAiAnalyticsData_SideBySideSurveyCTAClickEventData": {
"type": "object",
"properties": {
"clickDwellTimeMSString": {
"type": "string"
},
"isSurveyExpired": {
"type": "boolean"
}
}
},
"waAICommon.BotFeedbackMessage_SideBySideSurveyMetadata_SidebySideSurveyMetaAiAnalyticsData_SideBySideSurveyCTAImpressionEventData": {
"type": "object",
"properties": {
"isSurveyExpired": {
"type": "boolean"
}
}
},
"waAICommon.BotFeedbackMessage_SideBySideSurveyMetadata_SidebySideSurveyMetaAiAnalyticsData_SideBySideSurveyCardImpressionEventData": {
"type": "object"
},
"waAICommon.BotFeedbackMessage_SideBySideSurveyMetadata_SidebySideSurveyMetaAiAnalyticsData_SideBySideSurveyResponseEventData": {
"type": "object",
"properties": {
"responseDwellTimeMSString": {
"type": "string"
},
"selectedResponseID": {
"type": "string"
}
}
},
"waAICommon.BotGroupMetadata": {
"type": "object",
"properties": {
"participantsMetadata": {
"type": "array",
"items": {
"$ref": "#/definitions/waAICommon.BotGroupParticipantMetadata"
}
}
}
},
"waAICommon.BotGroupParticipantMetadata": {
"type": "object",
"properties": {
"botFbid": {
"type": "string"
}
}
},
"waAICommon.BotImagineMetadata": {
"type": "object",
"properties": {
"imagineType": {
"$ref": "#/definitions/waAICommon.BotImagineMetadata_ImagineType"
},
"shortPrompt": {
"type": "string"
}
}
},
"waAICommon.BotImagineMetadata_ImagineType": {
"type": "integer",
"format": "int32",
"enum": [
0,
1,
2,
3,
4
],
"x-enum-varnames": [
"BotImagineMetadata_UNKNOWN",
"BotImagineMetadata_IMAGINE",
"BotImagineMetadata_MEMU",
"BotImagineMetadata_FLASH",
"BotImagineMetadata_EDIT"
]
},
"waAICommon.BotInfrastructureDiagnostics": {
"type": "object",
"properties": {
"botBackend": {
"$ref": "#/definitions/waAICommon.BotInfrastructureDiagnostics_BotBackend"
},
"isThinking": {
"type": "boolean"
},
"toolsUsed": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"waAICommon.BotInfrastructureDiagnostics_BotBackend": {
"type": "integer",
"format": "int32",
"enum": [
0,
1
],
"x-enum-varnames": [
"BotInfrastructureDiagnostics_AAPI",
"BotInfrastructureDiagnostics_CLIPPY"
]
},
"waAICommon.BotLinkedAccount": {
"type": "object",
"properties": {
"type": {
"$ref": "#/definitions/waAICommon.BotLinkedAccount_BotLinkedAccountType"
}
}
},
"waAICommon.BotLinkedAccount_BotLinkedAccountType": {
"type": "integer",
"format": "int32",
"enum": [
0
],
"x-enum-varnames": [
"BotLinkedAccount_BOT_LINKED_ACCOUNT_TYPE_1P"
]
},
"waAICommon.BotLinkedAccountsMetadata": {
"type": "object",
"properties": {
"acAuthTokens": {
"type": "array",
"items": {
"type": "integer"
}
},
"acErrorCode": {
"type": "integer"
},
"accounts": {
"type": "array",
"items": {
"$ref": "#/definitions/waAICommon.BotLinkedAccount"
}
}
}
},
"waAICommon.BotMediaMetadata": {
"type": "object",
"properties": {
"directPath": {
"type": "string"
},
"fileEncSHA256": {
"type": "string"
},
"fileSHA256": {
"type": "string"
},
"mediaKey": {
"type": "string"
},
"mediaKeyTimestamp": {
"type": "integer"
},
"mimetype": {
"type": "string"
},
"orientationType": {
"$ref": "#/definitions/waAICommon.BotMediaMetadata_OrientationType"
}
}
},
"waAICommon.BotMediaMetadata_OrientationType": {
"type": "integer",
"format": "int32",
"enum": [
1,
2,
3
],
"x-enum-varnames": [
"BotMediaMetadata_CENTER",
"BotMediaMetadata_LEFT",
"BotMediaMetadata_RIGHT"
]
},
"waAICommon.BotMemoryFact": {
"type": "object",
"properties": {
"fact": {
"type": "string"
},
"factID": {
"type": "string"
}
}
},
"waAICommon.BotMemoryMetadata": {
"type": "object",
"properties": {
"addedFacts": {
"type": "array",
"items": {
"$ref": "#/definitions/waAICommon.BotMemoryFact"
}
},
"disclaimer": {
"type": "string"
},
"removedFacts": {
"type": "array",
"items": {
"$ref": "#/definitions/waAICommon.BotMemoryFact"
}
}
}
},
"waAICommon.BotMemuMetadata": {
"type": "object",
"properties": {
"faceImages": {
"type": "array",
"items": {
"$ref": "#/definitions/waAICommon.BotMediaMetadata"
}
}
}
},
"waAICommon.BotMessageOrigin": {
"type": "object",
"properties": {
"type": {
"$ref": "#/definitions/waAICommon.BotMessageOrigin_BotMessageOriginType"
}
}
},
"waAICommon.BotMessageOriginMetadata": {
"type": "object",
"properties": {
"origins": {
"type": "array",
"items": {
"$ref": "#/definitions/waAICommon.BotMessageOrigin"
}
}
}
},
"waAICommon.BotMessageOrigin_BotMessageOriginType": {
"type": "integer",
"format": "int32",
"enum": [
0
],
"x-enum-varnames": [
"BotMessageOrigin_BOT_MESSAGE_ORIGIN_TYPE_AI_INITIATED"
]
},
"waAICommon.BotMessageSharingInfo": {
"type": "object",
"properties": {
"botEntryPointOrigin": {
"$ref": "#/definitions/waAICommon.BotMetricsEntryPoint"
},
"forwardScore": {
"type": "integer"
}
}
},
"waAICommon.BotMetadata": {
"type": "object",
"properties": {
"aiConversationContext": {
"type": "array",
"items": {
"type": "integer"
}
},
"aiMediaCollectionMetadata": {
"$ref": "#/definitions/waAICommon.AIMediaCollectionMetadata"
},
"botAgeCollectionMetadata": {
"$ref": "#/definitions/waAICommon.BotAgeCollectionMetadata"
},
"botDocumentMessageMetadata": {
"$ref": "#/definitions/waAICommon.BotDocumentMessageMetadata"
},
"botGroupMetadata": {
"$ref": "#/definitions/waAICommon.BotGroupMetadata"
},
"botInfrastructureDiagnostics": {
"$ref": "#/definitions/waAICommon.BotInfrastructureDiagnostics"
},
"botLinkedAccountsMetadata": {
"$ref": "#/definitions/waAICommon.BotLinkedAccountsMetadata"
},
"botMessageOriginMetadata": {
"$ref": "#/definitions/waAICommon.BotMessageOriginMetadata"
},
"botMetricsMetadata": {
"$ref": "#/definitions/waAICommon.BotMetricsMetadata"
},
"botModeSelectionMetadata": {
"$ref": "#/definitions/waAICommon.BotModeSelectionMetadata"
},
"botPromotionMessageMetadata": {
"$ref": "#/definitions/waAICommon.BotPromotionMessageMetadata"
},
"botQuotaMetadata": {
"$ref": "#/definitions/waAICommon.BotQuotaMetadata"
},
"botRenderingConfigMetadata": {
"$ref": "#/definitions/waAICommon.BotRenderingConfigMetadata"
},
"botResponseID": {
"type": "string"
},
"botThreadInfo": {
"$ref": "#/definitions/waAICommon.AIThreadInfo"
},
"capabilityMetadata": {
"$ref": "#/definitions/waAICommon.BotCapabilityMetadata"
},
"commandMetadata": {
"$ref": "#/definitions/waAICommon.BotCommandMetadata"
},
"conversationStarterPromptID": {
"type": "string"
},
"imagineMetadata": {
"$ref": "#/definitions/waAICommon.BotImagineMetadata"
},
"inThreadSurveyMetadata": {
"$ref": "#/definitions/waAICommon.InThreadSurveyMetadata"
},
"internalMetadata": {
"type": "array",
"items": {
"type": "integer"
}
},
"invokerJID": {
"type": "string"
},
"memoryMetadata": {
"$ref": "#/definitions/waAICommon.BotMemoryMetadata"
},
"memuMetadata": {
"$ref": "#/definitions/waAICommon.BotMemuMetadata"
},
"messageDisclaimerText": {
"type": "string"
},
"modelMetadata": {
"$ref": "#/definitions/waAICommon.BotModelMetadata"
},
"personaID": {
"type": "string"
},
"pluginMetadata": {
"$ref": "#/definitions/waAICommon.BotPluginMetadata"
},
"progressIndicatorMetadata": {
"$ref": "#/definitions/waAICommon.BotProgressIndicatorMetadata"
},
"pttPromptMetadata": {
"$ref": "#/definitions/waAICommon.BotPttPromptMetadata"
},
"regenerateMetadata": {
"$ref": "#/definitions/waAICommon.AIRegenerateMetadata"
},
"reminderMetadata": {
"$ref": "#/definitions/waAICommon.BotReminderMetadata"
},
"renderingMetadata": {
"$ref": "#/definitions/waAICommon.BotRenderingMetadata"
},
"resolvedToolCallMetadata": {
"$ref": "#/definitions/waAICommon.BotResolvedToolCallMetadata"
},
"richResponseSourcesMetadata": {
"$ref": "#/definitions/waAICommon.BotSourcesMetadata"
},
"sessionMetadata": {
"$ref": "#/definitions/waAICommon.BotSessionMetadata"
},
"sessionTransparencyMetadata": {
"$ref": "#/definitions/waAICommon.SessionTransparencyMetadata"
},
"subscriptionUpsellMetadata": {
"$ref": "#/definitions/waAICommon.AISubscriptionUpsellMetadata"
},
"suggestedPromptMetadata": {
"$ref": "#/definitions/waAICommon.BotSuggestedPromptMetadata"
},
"timezone": {
"type": "string"
},
"unifiedResponseMutation": {
"$ref": "#/definitions/waAICommon.BotUnifiedResponseMutation"
},
"verificationMetadata": {
"$ref": "#/definitions/waAICommon.BotSignatureVerificationMetadata"
}
}
},
"waAICommon.BotMetricsEntryPoint": {
"type": "integer",
"format": "int32",
"enum": [
0,
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
13,
14,
15,
16,
17,
18,
19,
20,
21,
22,
23,
24,
25,
26,
27,
28,
29,
30,
31,
32,
33,
34,
35,
36,
37,
38,
39,
40,
41,
45,
46,
47,
54,
55,
56
],
"x-enum-varnames": [
"BotMetricsEntryPoint_UNDEFINED_ENTRY_POINT",
"BotMetricsEntryPoint_FAVICON",
"BotMetricsEntryPoint_CHATLIST",
"BotMetricsEntryPoint_AISEARCH_NULL_STATE_PAPER_PLANE",
"BotMetricsEntryPoint_AISEARCH_NULL_STATE_SUGGESTION",
"BotMetricsEntryPoint_AISEARCH_TYPE_AHEAD_SUGGESTION",
"BotMetricsEntryPoint_AISEARCH_TYPE_AHEAD_PAPER_PLANE",
"BotMetricsEntryPoint_AISEARCH_TYPE_AHEAD_RESULT_CHATLIST",
"BotMetricsEntryPoint_AISEARCH_TYPE_AHEAD_RESULT_MESSAGES",
"BotMetricsEntryPoint_AIVOICE_SEARCH_BAR",
"BotMetricsEntryPoint_AIVOICE_FAVICON",
"BotMetricsEntryPoint_AISTUDIO",
"BotMetricsEntryPoint_DEEPLINK",
"BotMetricsEntryPoint_NOTIFICATION",
"BotMetricsEntryPoint_PROFILE_MESSAGE_BUTTON",
"BotMetricsEntryPoint_FORWARD",
"BotMetricsEntryPoint_APP_SHORTCUT",
"BotMetricsEntryPoint_FF_FAMILY",
"BotMetricsEntryPoint_AI_TAB",
"BotMetricsEntryPoint_AI_HOME",
"BotMetricsEntryPoint_AI_DEEPLINK_IMMERSIVE",
"BotMetricsEntryPoint_AI_DEEPLINK",
"BotMetricsEntryPoint_META_AI_CHAT_SHORTCUT_AI_STUDIO",
"BotMetricsEntryPoint_UGC_CHAT_SHORTCUT_AI_STUDIO",
"BotMetricsEntryPoint_NEW_CHAT_AI_STUDIO",
"BotMetricsEntryPoint_AIVOICE_FAVICON_CALL_HISTORY",
"BotMetricsEntryPoint_ASK_META_AI_CONTEXT_MENU",
"BotMetricsEntryPoint_ASK_META_AI_CONTEXT_MENU_1ON1",
"BotMetricsEntryPoint_ASK_META_AI_CONTEXT_MENU_GROUP",
"BotMetricsEntryPoint_INVOKE_META_AI_1ON1",
"BotMetricsEntryPoint_INVOKE_META_AI_GROUP",
"BotMetricsEntryPoint_META_AI_FORWARD",
"BotMetricsEntryPoint_NEW_CHAT_AI_CONTACT",
"BotMetricsEntryPoint_MESSAGE_QUICK_ACTION_1_ON_1_CHAT",
"BotMetricsEntryPoint_MESSAGE_QUICK_ACTION_GROUP_CHAT",
"BotMetricsEntryPoint_ATTACHMENT_TRAY_1_ON_1_CHAT",
"BotMetricsEntryPoint_ATTACHMENT_TRAY_GROUP_CHAT",
"BotMetricsEntryPoint_ASK_META_AI_MEDIA_VIEWER_1ON1",
"BotMetricsEntryPoint_ASK_META_AI_MEDIA_VIEWER_GROUP",
"BotMetricsEntryPoint_MEDIA_PICKER_1_ON_1_CHAT",
"BotMetricsEntryPoint_MEDIA_PICKER_GROUP_CHAT",
"BotMetricsEntryPoint_ASK_META_AI_NO_SEARCH_RESULTS",
"BotMetricsEntryPoint_META_AI_SETTINGS",
"BotMetricsEntryPoint_WEB_INTRO_PANEL",
"BotMetricsEntryPoint_WEB_NAVIGATION_BAR",
"BotMetricsEntryPoint_GROUP_MEMBER",
"BotMetricsEntryPoint_CHATLIST_SEARCH",
"BotMetricsEntryPoint_NEW_CHAT_LIST"
]
},
"waAICommon.BotMetricsMetadata": {
"type": "object",
"properties": {
"destinationEntryPoint": {
"$ref": "#/definitions/waAICommon.BotMetricsEntryPoint"
},
"destinationID": {
"type": "string"
},
"threadOrigin": {
"$ref": "#/definitions/waAICommon.BotMetricsThreadEntryPoint"
}
}
},
"waAICommon.BotMetricsThreadEntryPoint": {
"type": "integer",
"format": "int32",
"enum": [
1,
2,
3,
4,
5
],
"x-enum-varnames": [
"BotMetricsThreadEntryPoint_AI_TAB_THREAD",
"BotMetricsThreadEntryPoint_AI_HOME_THREAD",
"BotMetricsThreadEntryPoint_AI_DEEPLINK_IMMERSIVE_THREAD",
"BotMetricsThreadEntryPoint_AI_DEEPLINK_THREAD",
"BotMetricsThreadEntryPoint_ASK_META_AI_CONTEXT_MENU_THREAD"
]
},
"waAICommon.BotModeSelectionMetadata": {
"type": "object",
"properties": {
"mode": {
"type": "array",
"items": {
"$ref": "#/definitions/waAICommon.BotModeSelectionMetadata_BotUserSelectionMode"
}
},
"overrideMode": {
"type": "array",
"items": {
"type": "integer"
}
}
}
},
"waAICommon.BotModeSelectionMetadata_BotUserSelectionMode": {
"type": "integer",
"format": "int32",
"enum": [
0,
1
],
"x-enum-varnames": [
"BotModeSelectionMetadata_DEFAULT_MODE",
"BotModeSelectionMetadata_THINK_HARD_MODE"
]
},
"waAICommon.BotModelMetadata": {
"type": "object",
"properties": {
"modelNameOverride": {
"type": "string"
},
"modelType": {
"$ref": "#/definitions/waAICommon.BotModelMetadata_ModelType"
},
"premiumModelStatus": {
"$ref": "#/definitions/waAICommon.BotModelMetadata_PremiumModelStatus"
}
}
},
"waAICommon.BotModelMetadata_ModelType": {
"type": "integer",
"format": "int32",
"enum": [
0,
1,
2
],
"x-enum-varnames": [
"BotModelMetadata_UNKNOWN_TYPE",
"BotModelMetadata_LLAMA_PROD",
"BotModelMetadata_LLAMA_PROD_PREMIUM"
]
},
"waAICommon.BotModelMetadata_PremiumModelStatus": {
"type": "integer",
"format": "int32",
"enum": [
0,
1,
2
],
"x-enum-varnames": [
"BotModelMetadata_UNKNOWN_STATUS",
"BotModelMetadata_AVAILABLE",
"BotModelMetadata_QUOTA_EXCEED_LIMIT"
]
},
"waAICommon.BotPluginMetadata": {
"type": "object",
"properties": {
"deprecatedField": {
"$ref": "#/definitions/waAICommon.BotPluginMetadata_PluginType"
},
"expectedLinksCount": {
"type": "integer"
},
"faviconCDNURL": {
"type": "string"
},
"parentPluginMessageKey": {
"$ref": "#/definitions/waCommon.MessageKey"
},
"parentPluginType": {
"$ref": "#/definitions/waAICommon.BotPluginMetadata_PluginType"
},
"pluginType": {
"$ref": "#/definitions/waAICommon.BotPluginMetadata_PluginType"
},
"profilePhotoCDNURL": {
"type": "string"
},
"provider": {
"$ref": "#/definitions/waAICommon.BotPluginMetadata_SearchProvider"
},
"referenceIndex": {
"type": "integer"
},
"searchProviderURL": {
"type": "string"
},
"searchQuery": {
"type": "string"
},
"thumbnailCDNURL": {
"type": "string"
}
}
},
"waAICommon.BotPluginMetadata_PluginType": {
"type": "integer",
"format": "int32",
"enum": [
0,
1,
2
],
"x-enum-varnames": [
"BotPluginMetadata_UNKNOWN_PLUGIN",
"BotPluginMetadata_REELS",
"BotPluginMetadata_SEARCH"
]
},
"waAICommon.BotPluginMetadata_SearchProvider": {
"type": "integer",
"format": "int32",
"enum": [
0,
1,
2,
3
],
"x-enum-varnames": [
"BotPluginMetadata_UNKNOWN",
"BotPluginMetadata_BING",
"BotPluginMetadata_GOOGLE",
"BotPluginMetadata_SUPPORT"
]
},
"waAICommon.BotProgressIndicatorMetadata": {
"type": "object",
"properties": {
"estimatedCompletionTime": {
"type": "integer"
},
"progressDescription": {
"type": "string"
},
"stepsMetadata": {
"type": "array",
"items": {
"$ref": "#/definitions/waAICommon.BotProgressIndicatorMetadata_BotPlanningStepMetadata"
}
}
}
},
"waAICommon.BotProgressIndicatorMetadata_BotPlanningStepMetadata": {
"type": "object",
"properties": {
"isEnhancedSearch": {
"type": "boolean"
},
"isReasoning": {
"type": "boolean"
},
"sections": {
"type": "array",
"items": {
"$ref": "#/definitions/waAICommon.BotProgressIndicatorMetadata_BotPlanningStepMetadata_BotPlanningStepSectionMetadata"
}
},
"sourcesMetadata": {
"type": "array",
"items": {
"$ref": "#/definitions/waAICommon.BotProgressIndicatorMetadata_BotPlanningStepMetadata_BotPlanningSearchSourcesMetadata"
}
},
"status": {
"$ref": "#/definitions/waAICommon.BotProgressIndicatorMetadata_BotPlanningStepMetadata_PlanningStepStatus"
},
"statusBody": {
"type": "string"
},
"statusTitle": {
"type": "string"
}
}
},
"waAICommon.BotProgressIndicatorMetadata_BotPlanningStepMetadata_BotPlanningSearchSourceMetadata": {
"type": "object",
"properties": {
"favIconURL": {
"type": "string"
},
"provider": {
"$ref": "#/definitions/waAICommon.BotProgressIndicatorMetadata_BotPlanningStepMetadata_BotSearchSourceProvider"
},
"sourceURL": {
"type": "string"
},
"title": {
"type": "string"
}
}
},
"waAICommon.BotProgressIndicatorMetadata_BotPlanningStepMetadata_BotPlanningSearchSourcesMetadata": {
"type": "object",
"properties": {
"provider": {
"$ref": "#/definitions/waAICommon.BotProgressIndicatorMetadata_BotPlanningStepMetadata_BotPlanningSearchSourcesMetadata_BotPlanningSearchSourceProvider"
},
"sourceTitle": {
"type": "string"
},
"sourceURL": {
"type": "string"
}
}
},
"waAICommon.BotProgressIndicatorMetadata_BotPlanningStepMetadata_BotPlanningSearchSourcesMetadata_BotPlanningSearchSourceProvider": {
"type": "integer",
"format": "int32",
"enum": [
0,
1,
2,
3
],
"x-enum-varnames": [
"BotProgressIndicatorMetadata_BotPlanningStepMetadata_BotPlanningSearchSourcesMetadata_UNKNOWN",
"BotProgressIndicatorMetadata_BotPlanningStepMetadata_BotPlanningSearchSourcesMetadata_OTHER",
"BotProgressIndicatorMetadata_BotPlanningStepMetadata_BotPlanningSearchSourcesMetadata_GOOGLE",
"BotProgressIndicatorMetadata_BotPlanningStepMetadata_BotPlanningSearchSourcesMetadata_BING"
]
},
"waAICommon.BotProgressIndicatorMetadata_BotPlanningStepMetadata_BotPlanningStepSectionMetadata": {
"type": "object",
"properties": {
"sectionBody": {
"type": "string"
},
"sectionTitle": {
"type": "string"
},
"sourcesMetadata": {
"type": "array",
"items": {
"$ref": "#/definitions/waAICommon.BotProgressIndicatorMetadata_BotPlanningStepMetadata_BotPlanningSearchSourceMetadata"
}
}
}
},
"waAICommon.BotProgressIndicatorMetadata_BotPlanningStepMetadata_BotSearchSourceProvider": {
"type": "integer",
"format": "int32",
"enum": [
0,
1,
2,
3
],
"x-enum-varnames": [
"BotProgressIndicatorMetadata_BotPlanningStepMetadata_UNKNOWN_PROVIDER",
"BotProgressIndicatorMetadata_BotPlanningStepMetadata_OTHER",
"BotProgressIndicatorMetadata_BotPlanningStepMetadata_GOOGLE",
"BotProgressIndicatorMetadata_BotPlanningStepMetadata_BING"
]
},
"waAICommon.BotProgressIndicatorMetadata_BotPlanningStepMetadata_PlanningStepStatus": {
"type": "integer",
"format": "int32",
"enum": [
0,
1,
2,
3
],
"x-enum-varnames": [
"BotProgressIndicatorMetadata_BotPlanningStepMetadata_UNKNOWN",
"BotProgressIndicatorMetadata_BotPlanningStepMetadata_PLANNED",
"BotProgressIndicatorMetadata_BotPlanningStepMetadata_EXECUTING",
"BotProgressIndicatorMetadata_BotPlanningStepMetadata_FINISHED"
]
},
"waAICommon.BotPromotionMessageMetadata": {
"type": "object",
"properties": {
"buttonTitle": {
"type": "string"
},
"promotionType": {
"$ref": "#/definitions/waAICommon.BotPromotionMessageMetadata_BotPromotionType"
}
}
},
"waAICommon.BotPromotionMessageMetadata_BotPromotionType": {
"type": "integer",
"format": "int32",
"enum": [
0,
1,
2
],
"x-enum-varnames": [
"BotPromotionMessageMetadata_UNKNOWN_TYPE",
"BotPromotionMessageMetadata_C50",
"BotPromotionMessageMetadata_SURVEY_PLATFORM"
]
},
"waAICommon.BotPromptSuggestion": {
"type": "object",
"properties": {
"prompt": {
"type": "string"
},
"promptID": {
"type": "string"
}
}
},
"waAICommon.BotPromptSuggestions": {
"type": "object",
"properties": {
"suggestions": {
"type": "array",
"items": {
"$ref": "#/definitions/waAICommon.BotPromptSuggestion"
}
}
}
},
"waAICommon.BotPttPromptMetadata": {
"type": "object",
"properties": {
"transcript": {
"type": "string"
}
}
},
"waAICommon.BotQuotaMetadata": {
"type": "object",
"properties": {
"botFeatureQuotaMetadata": {
"type": "array",
"items": {
"$ref": "#/definitions/waAICommon.BotQuotaMetadata_BotFeatureQuotaMetadata"
}
}
}
},
"waAICommon.BotQuotaMetadata_BotFeatureQuotaMetadata": {
"type": "object",
"properties": {
"expirationTimestamp": {
"type": "integer"
},
"featureType": {
"$ref": "#/definitions/waAICommon.BotQuotaMetadata_BotFeatureQuotaMetadata_BotFeatureType"
},
"remainingQuota": {
"type": "integer"
}
}
},
"waAICommon.BotQuotaMetadata_BotFeatureQuotaMetadata_BotFeatureType": {
"type": "integer",
"format": "int32",
"enum": [
0,
1
],
"x-enum-varnames": [
"BotQuotaMetadata_BotFeatureQuotaMetadata_UNKNOWN_FEATURE",
"BotQuotaMetadata_BotFeatureQuotaMetadata_REASONING_FEATURE"
]
},
"waAICommon.BotReminderMetadata": {
"type": "object",
"properties": {
"action": {
"$ref": "#/definitions/waAICommon.BotReminderMetadata_ReminderAction"
},
"frequency": {
"$ref": "#/definitions/waAICommon.BotReminderMetadata_ReminderFrequency"
},
"name": {
"type": "string"
},
"nextTriggerTimestamp": {
"type": "integer"
},
"requestMessageKey": {
"$ref": "#/definitions/waCommon.MessageKey"
}
}
},
"waAICommon.BotReminderMetadata_ReminderAction": {
"type": "integer",
"format": "int32",
"enum": [
1,
2,
3,
4
],
"x-enum-varnames": [
"BotReminderMetadata_NOTIFY",
"BotReminderMetadata_CREATE",
"BotReminderMetadata_DELETE",
"BotReminderMetadata_UPDATE"
]
},
"waAICommon.BotReminderMetadata_ReminderFrequency": {
"type": "integer",
"format": "int32",
"enum": [
1,
2,
3,
4,
5
],
"x-enum-varnames": [
"BotReminderMetadata_ONCE",
"BotReminderMetadata_DAILY",
"BotReminderMetadata_WEEKLY",
"BotReminderMetadata_BIWEEKLY",
"BotReminderMetadata_MONTHLY"
]
},
"waAICommon.BotRenderingConfigMetadata": {
"type": "object",
"properties": {
"bloksVersioningID": {
"type": "string"
},
"pixelDensity": {
"type": "number"
}
}
},
"waAICommon.BotRenderingMetadata": {
"type": "object",
"properties": {
"keywords": {
"type": "array",
"items": {
"$ref": "#/definitions/waAICommon.BotRenderingMetadata_Keyword"
}
}
}
},
"waAICommon.BotRenderingMetadata_Keyword": {
"type": "object",
"properties": {
"associatedPrompts": {
"type": "array",
"items": {
"type": "string"
}
},
"value": {
"type": "string"
}
}
},
"waAICommon.BotResolvedToolCallMetadata": {
"type": "object",
"properties": {
"resolutionDataSerialized": {
"type": "string"
},
"toolCallID": {
"type": "string"
}
}
},
"waAICommon.BotSessionMetadata": {
"type": "object",
"properties": {
"sessionID": {
"type": "string"
},
"sessionSource": {
"$ref": "#/definitions/waAICommon.BotSessionSource"
}
}
},
"waAICommon.BotSessionSource": {
"type": "integer",
"format": "int32",
"enum": [
0,
1,
2,
3,
4,
5,
6,
7
],
"x-enum-varnames": [
"BotSessionSource_NONE",
"BotSessionSource_NULL_STATE",
"BotSessionSource_TYPEAHEAD",
"BotSessionSource_USER_INPUT",
"BotSessionSource_EMU_FLASH",
"BotSessionSource_EMU_FLASH_FOLLOWUP",
"BotSessionSource_VOICE",
"BotSessionSource_AI_HOME_SESSION"
]
},
"waAICommon.BotSignatureVerificationMetadata": {
"type": "object",
"properties": {
"proofs": {
"type": "array",
"items": {
"$ref": "#/definitions/waAICommon.BotSignatureVerificationUseCaseProof"
}
}
}
},
"waAICommon.BotSignatureVerificationUseCaseProof": {
"type": "object",
"properties": {
"certificateChain": {
"type": "array",
"items": {
"type": "array",
"items": {
"type": "integer",
"format": "int32"
}
}
},
"signature": {
"type": "array",
"items": {
"type": "integer"
}
},
"useCase": {
"$ref": "#/definitions/waAICommon.BotSignatureVerificationUseCaseProof_BotSignatureUseCase"
},
"version": {
"type": "integer"
}
}
},
"waAICommon.BotSignatureVerificationUseCaseProof_BotSignatureUseCase": {
"type": "integer",
"format": "int32",
"enum": [
0,
1,
2,
3
],
"x-enum-varnames": [
"BotSignatureVerificationUseCaseProof_UNSPECIFIED",
"BotSignatureVerificationUseCaseProof_WA_BOT_MSG",
"BotSignatureVerificationUseCaseProof_WA_TEE_BOT_MSG",
"BotSignatureVerificationUseCaseProof_P2P_PILLS"
]
},
"waAICommon.BotSourcesMetadata": {
"type": "object",
"properties": {
"sources": {
"type": "array",
"items": {
"$ref": "#/definitions/waAICommon.BotSourcesMetadata_BotSourceItem"
}
}
}
},
"waAICommon.BotSourcesMetadata_BotSourceItem": {
"type": "object",
"properties": {
"citationNumber": {
"type": "integer"
},
"faviconCDNURL": {
"type": "string"
},
"provider": {
"$ref": "#/definitions/waAICommon.BotSourcesMetadata_BotSourceItem_SourceProvider"
},
"sourceProviderURL": {
"type": "string"
},
"sourceQuery": {
"type": "string"
},
"sourceTitle": {
"type": "string"
},
"thumbnailCDNURL": {
"type": "string"
}
}
},
"waAICommon.BotSourcesMetadata_BotSourceItem_SourceProvider": {
"type": "integer",
"format": "int32",
"enum": [
0,
1,
2,
3,
4
],
"x-enum-varnames": [
"BotSourcesMetadata_BotSourceItem_UNKNOWN",
"BotSourcesMetadata_BotSourceItem_BING",
"BotSourcesMetadata_BotSourceItem_GOOGLE",
"BotSourcesMetadata_BotSourceItem_SUPPORT",
"BotSourcesMetadata_BotSourceItem_OTHER"
]
},
"waAICommon.BotSuggestedPromptMetadata": {
"type": "object",
"properties": {
"promptSuggestions": {
"$ref": "#/definitions/waAICommon.BotPromptSuggestions"
},
"selectedPromptID": {
"type": "string"
},
"selectedPromptIndex": {
"type": "integer"
},
"suggestedPrompts": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"waAICommon.BotUnifiedResponseMutation": {
"type": "object",
"properties": {
"mediaDetailsMetadataList": {
"type": "array",
"items": {
"$ref": "#/definitions/waAICommon.BotUnifiedResponseMutation_MediaDetailsMetadata"
}
},
"sbsMetadata": {
"$ref": "#/definitions/waAICommon.BotUnifiedResponseMutation_SideBySideMetadata"
}
}
},
"waAICommon.BotUnifiedResponseMutation_MediaDetailsMetadata": {
"type": "object",
"properties": {
"ID": {
"type": "string"
},
"highResMedia": {
"$ref": "#/definitions/waAICommon.BotMediaMetadata"
},
"previewMedia": {
"$ref": "#/definitions/waAICommon.BotMediaMetadata"
}
}
},
"waAICommon.BotUnifiedResponseMutation_SideBySideMetadata": {
"type": "object",
"properties": {
"primaryResponseID": {
"type": "string"
},
"surveyCtaHasRendered": {
"type": "boolean"
}
}
},
"waAICommon.ForwardedAIBotMessageInfo": {
"type": "object",
"properties": {
"botJID": {
"type": "string"
},
"botName": {
"type": "string"
},
"creatorName": {
"type": "string"
}
}
},
"waAICommon.HatchMetadataSync": {
"type": "object",
"properties": {
"data": {
"type": "array",
"items": {
"type": "integer"
}
},
"requestID": {
"type": "string"
},
"timestampMS": {
"type": "integer"
}
}
},
"waAICommon.InThreadSurveyMetadata": {
"type": "object",
"properties": {
"feedbackToastText": {
"type": "string"
},
"invitationBodyText": {
"type": "string"
},
"invitationCtaText": {
"type": "string"
},
"invitationCtaURL": {
"type": "string"
},
"invitationHeaderText": {
"type": "string"
},
"privacyStatementFull": {
"type": "string"
},
"privacyStatementParts": {
"type": "array",
"items": {
"$ref": "#/definitions/waAICommon.InThreadSurveyMetadata_InThreadSurveyPrivacyStatementPart"
}
},
"questions": {
"type": "array",
"items": {
"$ref": "#/definitions/waAICommon.InThreadSurveyMetadata_InThreadSurveyQuestion"
}
},
"requestID": {
"type": "string"
},
"simonSessionID": {
"type": "string"
},
"simonSurveyID": {
"type": "string"
},
"startQuestionIndex": {
"type": "integer"
},
"surveyContinueButtonText": {
"type": "string"
},
"surveySubmitButtonText": {
"type": "string"
},
"surveyTitle": {
"type": "string"
},
"tessaEvent": {
"type": "string"
},
"tessaRootID": {
"type": "string"
},
"tessaSessionID": {
"type": "string"
}
}
},
"waAICommon.InThreadSurveyMetadata_InThreadSurveyOption": {
"type": "object",
"properties": {
"numericValue": {
"type": "integer"
},
"stringValue": {
"type": "string"
},
"textTranslated": {
"type": "string"
}
}
},
"waAICommon.InThreadSurveyMetadata_InThreadSurveyPrivacyStatementPart": {
"type": "object",
"properties": {
"URL": {
"type": "string"
},
"text": {
"type": "string"
}
}
},
"waAICommon.InThreadSurveyMetadata_InThreadSurveyQuestion": {
"type": "object",
"properties": {
"questionID": {
"type": "string"
},
"questionOptions": {
"type": "array",
"items": {
"$ref": "#/definitions/waAICommon.InThreadSurveyMetadata_InThreadSurveyOption"
}
},
"questionText": {
"type": "string"
}
}
},
"waAICommon.SessionTransparencyMetadata": {
"type": "object",
"properties": {
"disclaimerText": {
"type": "string"
},
"hcaID": {
"type": "string"
},
"sessionTransparencyType": {
"$ref": "#/definitions/waAICommon.SessionTransparencyType"
}
}
},
"waAICommon.SessionTransparencyType": {
"type": "integer",
"format": "int32",
"enum": [
0,
1
],
"x-enum-varnames": [
"SessionTransparencyType_UNKNOWN_TYPE",
"SessionTransparencyType_NY_AI_SAFETY_DISCLAIMER"
]
},
"waAICommonDeprecated.AIRichResponseCodeMetadata": {
"type": "object",
"properties": {
"codeBlocks": {
"type": "array",
"items": {
"$ref": "#/definitions/waAICommonDeprecated.AIRichResponseCodeMetadata_AIRichResponseCodeBlock"
}
},
"codeLanguage": {
"type": "string"
}
}
},
"waAICommonDeprecated.AIRichResponseCodeMetadata_AIRichResponseCodeBlock": {
"type": "object",
"properties": {
"codeContent": {
"type": "string"
},
"highlightType": {
"$ref": "#/definitions/waAICommonDeprecated.AIRichResponseCodeMetadata_AIRichResponseCodeHighlightType"
}
}
},
"waAICommonDeprecated.AIRichResponseCodeMetadata_AIRichResponseCodeHighlightType": {
"type": "integer",
"format": "int32",
"enum": [
0,
1,
2,
3,
4,
5
],
"x-enum-varnames": [
"AIRichResponseCodeMetadata_AI_RICH_RESPONSE_CODE_HIGHLIGHT_DEFAULT",
"AIRichResponseCodeMetadata_AI_RICH_RESPONSE_CODE_HIGHLIGHT_KEYWORD",
"AIRichResponseCodeMetadata_AI_RICH_RESPONSE_CODE_HIGHLIGHT_METHOD",
"AIRichResponseCodeMetadata_AI_RICH_RESPONSE_CODE_HIGHLIGHT_STRING",
"AIRichResponseCodeMetadata_AI_RICH_RESPONSE_CODE_HIGHLIGHT_NUMBER",
"AIRichResponseCodeMetadata_AI_RICH_RESPONSE_CODE_HIGHLIGHT_COMMENT"
]
},
"waAICommonDeprecated.AIRichResponseContentItemsMetadata": {
"type": "object",
"properties": {
"contentType": {
"$ref": "#/definitions/waAICommonDeprecated.AIRichResponseContentItemsMetadata_ContentType"
},
"itemsMetadata": {
"type": "array",
"items": {
"$ref": "#/definitions/waAICommonDeprecated.AIRichResponseContentItemsMetadata_AIRichResponseContentItemMetadata"
}
}
}
},
"waAICommonDeprecated.AIRichResponseContentItemsMetadata_AIRichResponseContentItemMetadata": {
"type": "object",
"properties": {
"airichResponseContentItem": {
"description": "Types that are valid to be assigned to AIRichResponseContentItem:\n\n\t*AIRichResponseContentItemsMetadata_AIRichResponseContentItemMetadata_ReelItem"
}
}
},
"waAICommonDeprecated.AIRichResponseContentItemsMetadata_ContentType": {
"type": "integer",
"format": "int32",
"enum": [
0,
1
],
"x-enum-varnames": [
"AIRichResponseContentItemsMetadata_DEFAULT",
"AIRichResponseContentItemsMetadata_CAROUSEL"
]
},
"waAICommonDeprecated.AIRichResponseDynamicMetadata": {
"type": "object",
"properties": {
"URL": {
"type": "string"
},
"loopCount": {
"type": "integer"
},
"type": {
"$ref": "#/definitions/waAICommonDeprecated.AIRichResponseDynamicMetadata_AIRichResponseDynamicMetadataType"
},
"version": {
"type": "integer"
}
}
},
"waAICommonDeprecated.AIRichResponseDynamicMetadata_AIRichResponseDynamicMetadataType": {
"type": "integer",
"format": "int32",
"enum": [
0,
1,
2
],
"x-enum-varnames": [
"AIRichResponseDynamicMetadata_AI_RICH_RESPONSE_DYNAMIC_METADATA_TYPE_UNKNOWN",
"AIRichResponseDynamicMetadata_AI_RICH_RESPONSE_DYNAMIC_METADATA_TYPE_IMAGE",
"AIRichResponseDynamicMetadata_AI_RICH_RESPONSE_DYNAMIC_METADATA_TYPE_GIF"
]
},
"waAICommonDeprecated.AIRichResponseGridImageMetadata": {
"type": "object",
"properties": {
"gridImageURL": {
"$ref": "#/definitions/waAICommonDeprecated.AIRichResponseImageURL"
},
"imageURLs": {
"type": "array",
"items": {
"$ref": "#/definitions/waAICommonDeprecated.AIRichResponseImageURL"
}
}
}
},
"waAICommonDeprecated.AIRichResponseImageURL": {
"type": "object",
"properties": {
"imageHighResURL": {
"type": "string"
},
"imagePreviewURL": {
"type": "string"
},
"sourceURL": {
"type": "string"
}
}
},
"waAICommonDeprecated.AIRichResponseInlineImageMetadata": {
"type": "object",
"properties": {
"alignment": {
"$ref": "#/definitions/waAICommonDeprecated.AIRichResponseInlineImageMetadata_AIRichResponseImageAlignment"
},
"imageText": {
"type": "string"
},
"imageURL": {
"$ref": "#/definitions/waAICommonDeprecated.AIRichResponseImageURL"
},
"tapLinkURL": {
"type": "string"
}
}
},
"waAICommonDeprecated.AIRichResponseInlineImageMetadata_AIRichResponseImageAlignment": {
"type": "integer",
"format": "int32",
"enum": [
0,
1,
2
],
"x-enum-varnames": [
"AIRichResponseInlineImageMetadata_AI_RICH_RESPONSE_IMAGE_LAYOUT_LEADING_ALIGNED",
"AIRichResponseInlineImageMetadata_AI_RICH_RESPONSE_IMAGE_LAYOUT_TRAILING_ALIGNED",
"AIRichResponseInlineImageMetadata_AI_RICH_RESPONSE_IMAGE_LAYOUT_CENTER_ALIGNED"
]
},
"waAICommonDeprecated.AIRichResponseLatexMetadata": {
"type": "object",
"properties": {
"expressions": {
"type": "array",
"items": {
"$ref": "#/definitions/waAICommonDeprecated.AIRichResponseLatexMetadata_AIRichResponseLatexExpression"
}
},
"text": {
"type": "string"
}
}
},
"waAICommonDeprecated.AIRichResponseLatexMetadata_AIRichResponseLatexExpression": {
"type": "object",
"properties": {
"URL": {
"type": "string"
},
"fontHeight": {
"type": "number"
},
"height": {
"type": "number"
},
"imageBottomPadding": {
"type": "number"
},
"imageLeadingPadding": {
"type": "number"
},
"imageTopPadding": {
"type": "number"
},
"imageTrailingPadding": {
"type": "number"
},
"latexExpression": {
"type": "string"
},
"width": {
"type": "number"
}
}
},
"waAICommonDeprecated.AIRichResponseMapMetadata": {
"type": "object",
"properties": {
"annotations": {
"type": "array",
"items": {
"$ref": "#/definitions/waAICommonDeprecated.AIRichResponseMapMetadata_AIRichResponseMapAnnotation"
}
},
"centerLatitude": {
"type": "number"
},
"centerLongitude": {
"type": "number"
},
"latitudeDelta": {
"type": "number"
},
"longitudeDelta": {
"type": "number"
},
"showInfoList": {
"type": "boolean"
}
}
},
"waAICommonDeprecated.AIRichResponseMapMetadata_AIRichResponseMapAnnotation": {
"type": "object",
"properties": {
"annotationNumber": {
"type": "integer"
},
"body": {
"type": "string"
},
"latitude": {
"type": "number"
},
"longitude": {
"type": "number"
},
"title": {
"type": "string"
}
}
},
"waAICommonDeprecated.AIRichResponseMessageType": {
"type": "integer",
"format": "int32",
"enum": [
0,
1
],
"x-enum-varnames": [
"AIRichResponseMessageType_AI_RICH_RESPONSE_TYPE_UNKNOWN",
"AIRichResponseMessageType_AI_RICH_RESPONSE_TYPE_STANDARD"
]
},
"waAICommonDeprecated.AIRichResponseSubMessage": {
"type": "object",
"properties": {
"codeMetadata": {
"$ref": "#/definitions/waAICommonDeprecated.AIRichResponseCodeMetadata"
},
"contentItemsMetadata": {
"$ref": "#/definitions/waAICommonDeprecated.AIRichResponseContentItemsMetadata"
},
"dynamicMetadata": {
"$ref": "#/definitions/waAICommonDeprecated.AIRichResponseDynamicMetadata"
},
"gridImageMetadata": {
"$ref": "#/definitions/waAICommonDeprecated.AIRichResponseGridImageMetadata"
},
"imageMetadata": {
"$ref": "#/definitions/waAICommonDeprecated.AIRichResponseInlineImageMetadata"
},
"latexMetadata": {
"$ref": "#/definitions/waAICommonDeprecated.AIRichResponseLatexMetadata"
},
"mapMetadata": {
"$ref": "#/definitions/waAICommonDeprecated.AIRichResponseMapMetadata"
},
"messageText": {
"type": "string"
},
"messageType": {
"$ref": "#/definitions/waAICommonDeprecated.AIRichResponseSubMessageType"
},
"tableMetadata": {
"$ref": "#/definitions/waAICommonDeprecated.AIRichResponseTableMetadata"
}
}
},
"waAICommonDeprecated.AIRichResponseSubMessageType": {
"type": "integer",
"format": "int32",
"enum": [
0,
1,
2,
3,
4,
5,
6,
7,
8,
9
],
"x-enum-varnames": [
"AIRichResponseSubMessageType_AI_RICH_RESPONSE_UNKNOWN",
"AIRichResponseSubMessageType_AI_RICH_RESPONSE_GRID_IMAGE",
"AIRichResponseSubMessageType_AI_RICH_RESPONSE_TEXT",
"AIRichResponseSubMessageType_AI_RICH_RESPONSE_INLINE_IMAGE",
"AIRichResponseSubMessageType_AI_RICH_RESPONSE_TABLE",
"AIRichResponseSubMessageType_AI_RICH_RESPONSE_CODE",
"AIRichResponseSubMessageType_AI_RICH_RESPONSE_DYNAMIC",
"AIRichResponseSubMessageType_AI_RICH_RESPONSE_MAP",
"AIRichResponseSubMessageType_AI_RICH_RESPONSE_LATEX",
"AIRichResponseSubMessageType_AI_RICH_RESPONSE_CONTENT_ITEMS"
]
},
"waAICommonDeprecated.AIRichResponseTableMetadata": {
"type": "object",
"properties": {
"rows": {
"type": "array",
"items": {
"$ref": "#/definitions/waAICommonDeprecated.AIRichResponseTableMetadata_AIRichResponseTableRow"
}
},
"title": {
"type": "string"
}
}
},
"waAICommonDeprecated.AIRichResponseTableMetadata_AIRichResponseTableRow": {
"type": "object",
"properties": {
"isHeading": {
"type": "boolean"
},
"items": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"waAdv.ADVEncryptionType": {
"type": "integer",
"format": "int32",
"enum": [
0,
1
],
"x-enum-varnames": [
"ADVEncryptionType_E2EE",
"ADVEncryptionType_HOSTED"
]
},
"waCommon.LimitSharing": {
"type": "object",
"properties": {
"initiatedByMe": {
"type": "boolean"
},
"limitSharingSettingTimestamp": {
"type": "integer"
},
"sharingLimited": {
"type": "boolean"
},
"trigger": {
"$ref": "#/definitions/waCommon.LimitSharing_Trigger"
}
}
},
"waCommon.LimitSharing_Trigger": {
"type": "integer",
"format": "int32",
"enum": [
0,
1,
2,
3
],
"x-enum-varnames": [
"LimitSharing_UNKNOWN",
"LimitSharing_CHAT_SETTING",
"LimitSharing_BIZ_SUPPORTS_FB_HOSTING",
"LimitSharing_UNKNOWN_GROUP"
]
},
"waCommon.MessageKey": {
"type": "object",
"properties": {
"ID": {
"type": "string"
},
"fromMe": {
"type": "boolean"
},
"participant": {
"type": "string"
},
"remoteJID": {
"type": "string"
}
}
},
"waCompanionReg.DeviceProps_HistorySyncConfig": {
"type": "object",
"properties": {
"completeOnDemandReady": {
"type": "boolean"
},
"fullSyncDaysLimit": {
"type": "integer"
},
"fullSyncSizeMbLimit": {
"type": "integer"
},
"initialSyncMaxMessagesPerChat": {
"type": "integer"
},
"inlineInitialPayloadInE2EeMsg": {
"type": "boolean"
},
"onDemandReady": {
"type": "boolean"
},
"recentSyncDaysLimit": {
"type": "integer"
},
"storageQuotaMb": {
"type": "integer"
},
"supportAddOnHistorySyncMigration": {
"type": "boolean"
},
"supportBizHostedMsg": {
"type": "boolean"
},
"supportBotUserAgentChatHistory": {
"type": "boolean"
},
"supportCagReactionsAndPolls": {
"type": "boolean"
},
"supportCallLogHistory": {
"type": "boolean"
},
"supportFbidBotChatHistory": {
"type": "boolean"
},
"supportGroupHistory": {
"type": "boolean"
},
"supportGuestChat": {
"type": "boolean"
},
"supportHatchHistory": {
"type": "boolean"
},
"supportHostedGroupMsg": {
"type": "boolean"
},
"supportInlineContacts": {
"type": "boolean"
},
"supportManusHistory": {
"type": "boolean"
},
"supportMessageAssociation": {
"type": "boolean"
},
"supportRecentSyncChunkMessageCountTuning": {
"type": "boolean"
},
"supportedBotChannelFbids": {
"type": "array",
"items": {
"type": "string"
}
},
"thumbnailSyncDaysLimit": {
"type": "integer"
}
}
},
"waE2E.AIQueryFanout": {
"type": "object",
"properties": {
"message": {
"$ref": "#/definitions/waE2E.Message"
},
"messageKey": {
"$ref": "#/definitions/waCommon.MessageKey"
},
"timestamp": {
"type": "integer"
}
}
},
"waE2E.AIRichResponseMessage": {
"type": "object",
"properties": {
"contextInfo": {
"$ref": "#/definitions/waE2E.ContextInfo"
},
"messageType": {
"$ref": "#/definitions/waAICommonDeprecated.AIRichResponseMessageType"
},
"submessages": {
"type": "array",
"items": {
"$ref": "#/definitions/waAICommonDeprecated.AIRichResponseSubMessage"
}
},
"unifiedResponse": {
"$ref": "#/definitions/waAICommon.AIRichResponseUnifiedResponse"
}
}
},
"waE2E.ActionLink": {
"type": "object",
"properties": {
"URL": {
"type": "string"
},
"buttonTitle": {
"type": "string"
}
}
},
"waE2E.AlbumMessage": {
"type": "object",
"properties": {
"contextInfo": {
"$ref": "#/definitions/waE2E.ContextInfo"
},
"expectedImageCount": {
"type": "integer"
},
"expectedVideoCount": {
"type": "integer"
}
}
},
"waE2E.AppStateFatalExceptionNotification": {
"type": "object",
"properties": {
"collectionNames": {
"type": "array",
"items": {
"type": "string"
}
},
"timestamp": {
"type": "integer"
}
}
},
"waE2E.AppStateSyncKey": {
"type": "object",
"properties": {
"keyData": {
"$ref": "#/definitions/waE2E.AppStateSyncKeyData"
},
"keyID": {
"$ref": "#/definitions/waE2E.AppStateSyncKeyId"
}
}
},
"waE2E.AppStateSyncKeyData": {
"type": "object",
"properties": {
"fingerprint": {
"$ref": "#/definitions/waE2E.AppStateSyncKeyFingerprint"
},
"keyData": {
"type": "array",
"items": {
"type": "integer"
}
},
"timestamp": {
"type": "integer"
}
}
},
"waE2E.AppStateSyncKeyFingerprint": {
"type": "object",
"properties": {
"currentIndex": {
"type": "integer"
},
"deviceIndexes": {
"type": "array",
"items": {
"type": "integer"
}
},
"rawID": {
"type": "integer"
}
}
},
"waE2E.AppStateSyncKeyId": {
"type": "object",
"properties": {
"keyID": {
"type": "array",
"items": {
"type": "integer"
}
}
}
},
"waE2E.AppStateSyncKeyRequest": {
"type": "object",
"properties": {
"keyIDs": {
"type": "array",
"items": {
"$ref": "#/definitions/waE2E.AppStateSyncKeyId"
}
}
}
},
"waE2E.AppStateSyncKeyShare": {
"type": "object",
"properties": {
"keys": {
"type": "array",
"items": {
"$ref": "#/definitions/waE2E.AppStateSyncKey"
}
}
}
},
"waE2E.AudioMessage": {
"type": "object",
"properties": {
"PTT": {
"type": "boolean"
},
"URL": {
"type": "string"
},
"accessibilityLabel": {
"type": "string"
},
"backgroundArgb": {
"type": "integer"
},
"contextInfo": {
"$ref": "#/definitions/waE2E.ContextInfo"
},
"directPath": {
"type": "string"
},
"fileEncSHA256": {
"type": "array",
"items": {
"type": "integer"
}
},
"fileLength": {
"type": "integer"
},
"fileSHA256": {
"type": "array",
"items": {
"type": "integer"
}
},
"mediaKey": {
"type": "array",
"items": {
"type": "integer"
}
},
"mediaKeyTimestamp": {
"type": "integer"
},
"mimetype": {
"type": "string"
},
"seconds": {
"type": "integer"
},
"streamingSidecar": {
"type": "array",
"items": {
"type": "integer"
}
},
"viewOnce": {
"type": "boolean"
},
"waveform": {
"type": "array",
"items": {
"type": "integer"
}
}
}
},
"waE2E.BCallMessage": {
"type": "object",
"properties": {
"caption": {
"type": "string"
},
"masterKey": {
"type": "array",
"items": {
"type": "integer"
}
},
"mediaType": {
"$ref": "#/definitions/waE2E.BCallMessage_MediaType"
},
"sessionID": {
"type": "string"
}
}
},
"waE2E.BCallMessage_MediaType": {
"type": "integer",
"format": "int32",
"enum": [
0,
1,
2
],
"x-enum-varnames": [
"BCallMessage_UNKNOWN",
"BCallMessage_AUDIO",
"BCallMessage_VIDEO"
]
},
"waE2E.ButtonsMessage": {
"type": "object",
"properties": {
"buttons": {
"type": "array",
"items": {
"$ref": "#/definitions/waE2E.ButtonsMessage_Button"
}
},
"contentText": {
"type": "string"
},
"contextInfo": {
"$ref": "#/definitions/waE2E.ContextInfo"
},
"footerText": {
"type": "string"
},
"header": {
"description": "Types that are valid to be assigned to Header:\n\n\t*ButtonsMessage_Text\n\t*ButtonsMessage_DocumentMessage\n\t*ButtonsMessage_ImageMessage\n\t*ButtonsMessage_VideoMessage\n\t*ButtonsMessage_LocationMessage"
},
"headerType": {
"$ref": "#/definitions/waE2E.ButtonsMessage_HeaderType"
}
}
},
"waE2E.ButtonsMessage_Button": {
"type": "object",
"properties": {
"buttonID": {
"type": "string"
},
"buttonText": {
"$ref": "#/definitions/waE2E.ButtonsMessage_Button_ButtonText"
},
"nativeFlowInfo": {
"$ref": "#/definitions/waE2E.ButtonsMessage_Button_NativeFlowInfo"
},
"type": {
"$ref": "#/definitions/waE2E.ButtonsMessage_Button_Type"
}
}
},
"waE2E.ButtonsMessage_Button_ButtonText": {
"type": "object",
"properties": {
"displayText": {
"type": "string"
}
}
},
"waE2E.ButtonsMessage_Button_NativeFlowInfo": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"paramsJSON": {
"type": "string"
}
}
},
"waE2E.ButtonsMessage_Button_Type": {
"type": "integer",
"format": "int32",
"enum": [
0,
1,
2
],
"x-enum-varnames": [
"ButtonsMessage_Button_UNKNOWN",
"ButtonsMessage_Button_RESPONSE",
"ButtonsMessage_Button_NATIVE_FLOW"
]
},
"waE2E.ButtonsMessage_HeaderType": {
"type": "integer",
"format": "int32",
"enum": [
0,
1,
2,
3,
4,
5,
6
],
"x-enum-varnames": [
"ButtonsMessage_UNKNOWN",
"ButtonsMessage_EMPTY",
"ButtonsMessage_TEXT",
"ButtonsMessage_DOCUMENT",
"ButtonsMessage_IMAGE",
"ButtonsMessage_VIDEO",
"ButtonsMessage_LOCATION"
]
},
"waE2E.ButtonsResponseMessage": {
"type": "object",
"properties": {
"contextInfo": {
"$ref": "#/definitions/waE2E.ContextInfo"
},
"response": {
"description": "Types that are valid to be assigned to Response:\n\n\t*ButtonsResponseMessage_SelectedDisplayText"
},
"selectedButtonID": {
"type": "string"
},
"type": {
"$ref": "#/definitions/waE2E.ButtonsResponseMessage_Type"
}
}
},
"waE2E.ButtonsResponseMessage_Type": {
"type": "integer",
"format": "int32",
"enum": [
0,
1
],
"x-enum-varnames": [
"ButtonsResponseMessage_UNKNOWN",
"ButtonsResponseMessage_DISPLAY_TEXT"
]
},
"waE2E.Call": {
"type": "object",
"properties": {
"callEntryPoint": {
"type": "integer"
},
"callKey": {
"type": "array",
"items": {
"type": "integer"
}
},
"contextInfo": {
"$ref": "#/definitions/waE2E.ContextInfo"
},
"conversionData": {
"type": "array",
"items": {
"type": "integer"
}
},
"conversionDelaySeconds": {
"type": "integer"
},
"conversionSource": {
"type": "string"
},
"ctwaPayload": {
"type": "array",
"items": {
"type": "integer"
}
},
"ctwaSignals": {
"type": "string"
},
"deeplinkPayload": {
"type": "string"
},
"messageContextInfo": {
"$ref": "#/definitions/waE2E.MessageContextInfo"
},
"nativeFlowCallButtonPayload": {
"type": "string"
}
}
},
"waE2E.CallLogMessage": {
"type": "object",
"properties": {
"callOutcome": {
"$ref": "#/definitions/waE2E.CallLogMessage_CallOutcome"
},
"callType": {
"$ref": "#/definitions/waE2E.CallLogMessage_CallType"
},
"durationSecs": {
"type": "integer"
},
"isVideo": {
"type": "boolean"
},
"participants": {
"type": "array",
"items": {
"$ref": "#/definitions/waE2E.CallLogMessage_CallParticipant"
}
}
}
},
"waE2E.CallLogMessage_CallOutcome": {
"type": "integer",
"format": "int32",
"enum": [
0,
1,
2,
3,
4,
5,
6,
7
],
"x-enum-varnames": [
"CallLogMessage_CONNECTED",
"CallLogMessage_MISSED",
"CallLogMessage_FAILED",
"CallLogMessage_REJECTED",
"CallLogMessage_ACCEPTED_ELSEWHERE",
"CallLogMessage_ONGOING",
"CallLogMessage_SILENCED_BY_DND",
"CallLogMessage_SILENCED_UNKNOWN_CALLER"
]
},
"waE2E.CallLogMessage_CallParticipant": {
"type": "object",
"properties": {
"JID": {
"type": "string"
},
"callOutcome": {
"$ref": "#/definitions/waE2E.CallLogMessage_CallOutcome"
}
}
},
"waE2E.CallLogMessage_CallType": {
"type": "integer",
"format": "int32",
"enum": [
0,
1,
2
],
"x-enum-varnames": [
"CallLogMessage_REGULAR",
"CallLogMessage_SCHEDULED_CALL",
"CallLogMessage_VOICE_CHAT"
]
},
"waE2E.CancelPaymentRequestMessage": {
"type": "object",
"properties": {
"key": {
"$ref": "#/definitions/waCommon.MessageKey"
}
}
},
"waE2E.Chat": {
"type": "object",
"properties": {
"ID": {
"type": "string"
},
"displayName": {
"type": "string"
}
}
},
"waE2E.ChatThemeSetting": {
"type": "object",
"properties": {
"clearTheme": {
"type": "boolean"
},
"colorSchemeID": {
"type": "string"
},
"settingTimestampMS": {
"type": "integer"
},
"wallpaper": {
"description": "Types that are valid to be assigned to Wallpaper:\n\n\t*ChatThemeSetting_DefaultWallpaper\n\t*ChatThemeSetting_SolidColor\n\t*ChatThemeSetting_StockImage\n\t*ChatThemeSetting_CustomImage"
}
}
},
"waE2E.CloudAPIThreadControlNotification": {
"type": "object",
"properties": {
"consumerLid": {
"type": "string"
},
"consumerPhoneNumber": {
"type": "string"
},
"notificationContent": {
"$ref": "#/definitions/waE2E.CloudAPIThreadControlNotification_CloudAPIThreadControlNotificationContent"
},
"senderNotificationTimestampMS": {
"type": "integer"
},
"shouldSuppressNotification": {
"type": "boolean"
},
"status": {
"$ref": "#/definitions/waE2E.CloudAPIThreadControlNotification_CloudAPIThreadControl"
}
}
},
"waE2E.CloudAPIThreadControlNotification_CloudAPIThreadControl": {
"type": "integer",
"format": "int32",
"enum": [
0,
1,
2,
3
],
"x-enum-varnames": [
"CloudAPIThreadControlNotification_UNKNOWN",
"CloudAPIThreadControlNotification_CONTROL_PASSED",
"CloudAPIThreadControlNotification_CONTROL_TAKEN",
"CloudAPIThreadControlNotification_INFO"
]
},
"waE2E.CloudAPIThreadControlNotification_CloudAPIThreadControlNotificationContent": {
"type": "object",
"properties": {
"extraJSON": {
"type": "string"
},
"handoffNotificationText": {
"type": "string"
}
}
},
"waE2E.CommentMessage": {
"type": "object",
"properties": {
"message": {
"$ref": "#/definitions/waE2E.Message"
},
"targetMessageKey": {
"$ref": "#/definitions/waCommon.MessageKey"
}
}
},
"waE2E.ConditionalRevealMessage": {
"type": "object",
"properties": {
"conditionalRevealMessageType": {
"$ref": "#/definitions/waE2E.ConditionalRevealMessage_ConditionalRevealMessageType"
},
"encIV": {
"type": "array",
"items": {
"type": "integer"
}
},
"encPayload": {
"type": "array",
"items": {
"type": "integer"
}
},
"revealKeyID": {
"type": "string"
}
}
},
"waE2E.ConditionalRevealMessage_ConditionalRevealMessageType": {
"type": "integer",
"format": "int32",
"enum": [
0,
1
],
"x-enum-varnames": [
"ConditionalRevealMessage_UNKNOWN",
"ConditionalRevealMessage_SCHEDULED_MESSAGE"
]
},
"waE2E.ContactMessage": {
"type": "object",
"properties": {
"contextInfo": {
"$ref": "#/definitions/waE2E.ContextInfo"
},
"displayName": {
"type": "string"
},
"isSelfContact": {
"type": "boolean"
},
"vcard": {
"type": "string"
}
}
},
"waE2E.ContactsArrayMessage": {
"type": "object",
"properties": {
"contacts": {
"type": "array",
"items": {
"$ref": "#/definitions/waE2E.ContactMessage"
}
},
"contextInfo": {
"$ref": "#/definitions/waE2E.ContextInfo"
},
"displayName": {
"type": "string"
}
}
},
"waE2E.ContextInfo": {
"type": "object",
"properties": {
"actionLink": {
"$ref": "#/definitions/waE2E.ActionLink"
},
"afterReadDuration": {
"type": "integer"
},
"alwaysShowAdAttribution": {
"type": "boolean"
},
"botMessageSharingInfo": {
"$ref": "#/definitions/waAICommon.BotMessageSharingInfo"
},
"businessInteractionPills": {
"$ref": "#/definitions/waE2E.ContextInfo_BusinessInteractionPills"
},
"businessMessageForwardInfo": {
"$ref": "#/definitions/waE2E.ContextInfo_BusinessMessageForwardInfo"
},
"conversionData": {
"type": "array",
"items": {
"type": "integer"
}
},
"conversionDelaySeconds": {
"type": "integer"
},
"conversionSource": {
"type": "string"
},
"crossAppSource": {
"$ref": "#/definitions/waE2E.ContextInfo_CrossAppSource"
},
"ctwaPayload": {
"type": "array",
"items": {
"type": "integer"
}
},
"ctwaSignals": {
"type": "string"
},
"dataSharingContext": {
"$ref": "#/definitions/waE2E.ContextInfo_DataSharingContext"
},
"disappearingMode": {
"$ref": "#/definitions/waE2E.DisappearingMode"
},
"entryPointConversionApp": {
"type": "string"
},
"entryPointConversionDelaySeconds": {
"type": "integer"
},
"entryPointConversionExternalMedium": {
"type": "string"
},
"entryPointConversionExternalSource": {
"type": "string"
},
"entryPointConversionSource": {
"type": "string"
},
"ephemeralSettingTimestamp": {
"type": "integer"
},
"ephemeralSharedSecret": {
"type": "array",
"items": {
"type": "integer"
}
},
"expiration": {
"type": "integer"
},
"externalAdReply": {
"$ref": "#/definitions/waE2E.ContextInfo_ExternalAdReplyInfo"
},
"featureEligibilities": {
"$ref": "#/definitions/waE2E.ContextInfo_FeatureEligibilities"
},
"forwardOrigin": {
"$ref": "#/definitions/waE2E.ContextInfo_ForwardOrigin"
},
"forwardedAiBotMessageInfo": {
"$ref": "#/definitions/waAICommon.ForwardedAIBotMessageInfo"
},
"forwardedNewsletterMessageInfo": {
"$ref": "#/definitions/waE2E.ContextInfo_ForwardedNewsletterMessageInfo"
},
"forwardingScore": {
"type": "integer"
},
"groupMentions": {
"type": "array",
"items": {
"$ref": "#/definitions/waE2E.GroupMention"
}
},
"groupSubject": {
"type": "string"
},
"isForwarded": {
"type": "boolean"
},
"isGroupStatus": {
"type": "boolean"
},
"isQuestion": {
"type": "boolean"
},
"isSampled": {
"type": "boolean"
},
"isSpoiler": {
"type": "boolean"
},
"mediaDomainInfo": {
"$ref": "#/definitions/waE2E.MediaDomainInfo"
},
"memberLabel": {
"$ref": "#/definitions/waE2E.MemberLabel"
},
"mentionedJID": {
"type": "array",
"items": {
"type": "string"
}
},
"nonJIDMentions": {
"type": "integer"
},
"pairedMediaType": {
"$ref": "#/definitions/waE2E.ContextInfo_PairedMediaType"
},
"parentGroupJID": {
"type": "string"
},
"partiallySelectedContent": {
"$ref": "#/definitions/waE2E.ContextInfo_PartiallySelectedContent"
},
"participant": {
"type": "string"
},
"placeholderKey": {
"$ref": "#/definitions/waCommon.MessageKey"
},
"posterStatusID": {
"type": "string"
},
"questionReplyQuotedMessage": {
"$ref": "#/definitions/waE2E.ContextInfo_QuestionReplyQuotedMessage"
},
"quotedAd": {
"$ref": "#/definitions/waE2E.ContextInfo_AdReplyInfo"
},
"quotedMessage": {
"$ref": "#/definitions/waE2E.Message"
},
"quotedType": {
"$ref": "#/definitions/waE2E.ContextInfo_QuotedType"
},
"rankingVersion": {
"type": "integer"
},
"remoteJID": {
"type": "string"
},
"smbClientCampaignID": {
"type": "string"
},
"smbServerCampaignID": {
"type": "string"
},
"stanzaID": {
"type": "string"
},
"statusAttributionType": {
"$ref": "#/definitions/waE2E.ContextInfo_StatusAttributionType"
},
"statusAttributions": {
"type": "array",
"items": {
"$ref": "#/definitions/waStatusAttributions.StatusAttribution"
}
},
"statusAudienceMetadata": {
"$ref": "#/definitions/waE2E.ContextInfo_StatusAudienceMetadata"
},
"statusSourceType": {
"$ref": "#/definitions/waE2E.ContextInfo_StatusSourceType"
},
"trustBannerAction": {
"type": "integer"
},
"trustBannerType": {
"type": "string"
},
"urlTrackingMap": {
"$ref": "#/definitions/waE2E.UrlTrackingMap"
},
"utm": {
"$ref": "#/definitions/waE2E.ContextInfo_UTMInfo"
}
}
},
"waE2E.ContextInfo_AdReplyInfo": {
"type": "object",
"properties": {
"JPEGThumbnail": {
"type": "array",
"items": {
"type": "integer"
}
},
"advertiserName": {
"type": "string"
},
"caption": {
"type": "string"
},
"mediaType": {
"$ref": "#/definitions/waE2E.ContextInfo_AdReplyInfo_MediaType"
}
}
},
"waE2E.ContextInfo_AdReplyInfo_MediaType": {
"type": "integer",
"format": "int32",
"enum": [
0,
1,
2
],
"x-enum-varnames": [
"ContextInfo_AdReplyInfo_NONE",
"ContextInfo_AdReplyInfo_IMAGE",
"ContextInfo_AdReplyInfo_VIDEO"
]
},
"waE2E.ContextInfo_BusinessInteractionPills": {
"type": "object",
"properties": {
"businessJID": {
"type": "string"
},
"entryPoint": {
"$ref": "#/definitions/waE2E.ContextInfo_BusinessInteractionPills_EntryPoint"
},
"pills": {
"type": "array",
"items": {
"$ref": "#/definitions/waE2E.ContextInfo_BusinessInteractionPills_Pill"
}
},
"signatureEnvelope": {
"$ref": "#/definitions/waAICommon.BotSignatureVerificationMetadata"
},
"signedPayload": {
"type": "array",
"items": {
"type": "integer"
}
}
}
},
"waE2E.ContextInfo_BusinessInteractionPills_EntryPoint": {
"type": "integer",
"format": "int32",
"enum": [
0,
1,
2,
3,
4,
5
],
"x-enum-varnames": [
"ContextInfo_BusinessInteractionPills_ENTRY_POINT_UNKNOWN",
"ContextInfo_BusinessInteractionPills_P2P_LINK_SHARE",
"ContextInfo_BusinessInteractionPills_CONTACT_CARD_SHARING",
"ContextInfo_BusinessInteractionPills_PHONE_NUMBER",
"ContextInfo_BusinessInteractionPills_STATUS",
"ContextInfo_BusinessInteractionPills_IN_THREAD_CONTEXT_CARD"
]
},
"waE2E.ContextInfo_BusinessInteractionPills_Pill": {
"type": "object",
"properties": {
"actionURL": {
"type": "string"
},
"pillType": {
"$ref": "#/definitions/waE2E.ContextInfo_BusinessInteractionPills_PillType"
}
}
},
"waE2E.ContextInfo_BusinessInteractionPills_PillType": {
"type": "integer",
"format": "int32",
"enum": [
0,
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12
],
"x-enum-varnames": [
"ContextInfo_BusinessInteractionPills_UNKNOWN",
"ContextInfo_BusinessInteractionPills_VIEW_BUSINESS",
"ContextInfo_BusinessInteractionPills_CHAT",
"ContextInfo_BusinessInteractionPills_CALL",
"ContextInfo_BusinessInteractionPills_CATALOG",
"ContextInfo_BusinessInteractionPills_CHANNEL",
"ContextInfo_BusinessInteractionPills_BOOK_APPOINTMENT",
"ContextInfo_BusinessInteractionPills_OFFERS",
"ContextInfo_BusinessInteractionPills_BESTSELLERS",
"ContextInfo_BusinessInteractionPills_MENU",
"ContextInfo_BusinessInteractionPills_ABOUT",
"ContextInfo_BusinessInteractionPills_SHOP",
"ContextInfo_BusinessInteractionPills_ORDER"
]
},
"waE2E.ContextInfo_BusinessMessageForwardInfo": {
"type": "object",
"properties": {
"businessOwnerJID": {
"type": "string"
}
}
},
"waE2E.ContextInfo_CrossAppSource": {
"type": "integer",
"format": "int32",
"enum": [
0,
1,
2
],
"x-enum-varnames": [
"ContextInfo_CROSS_APP_SOURCE_UNKNOWN",
"ContextInfo_CROSS_APP_SOURCE_INSTAGRAM",
"ContextInfo_CROSS_APP_SOURCE_FACEBOOK"
]
},
"waE2E.ContextInfo_DataSharingContext": {
"type": "object",
"properties": {
"dataSharingFlags": {
"type": "integer"
},
"encryptedSignalTokenConsented": {
"type": "string"
},
"parameters": {
"type": "array",
"items": {
"$ref": "#/definitions/waE2E.ContextInfo_DataSharingContext_Parameters"
}
},
"showMmDisclosure": {
"type": "boolean"
}
}
},
"waE2E.ContextInfo_DataSharingContext_Parameters": {
"type": "object",
"properties": {
"contents": {
"$ref": "#/definitions/waE2E.ContextInfo_DataSharingContext_Parameters"
},
"floatData": {
"type": "number"
},
"intData": {
"type": "integer"
},
"key": {
"type": "string"
},
"stringData": {
"type": "string"
}
}
},
"waE2E.ContextInfo_ExternalAdReplyInfo": {
"type": "object",
"properties": {
"adContextPreviewDismissed": {
"type": "boolean"
},
"adPreviewURL": {
"type": "string"
},
"adType": {
"$ref": "#/definitions/waE2E.ContextInfo_ExternalAdReplyInfo_AdType"
},
"agmHeaderInteractionStrategy": {
"type": "integer"
},
"agmSubtitleStrategy": {
"type": "integer"
},
"agmThumbnailStrategy": {
"type": "integer"
},
"agmTitleStrategy": {
"type": "integer"
},
"automatedGreetingMessageCtaType": {
"type": "string"
},
"automatedGreetingMessageShown": {
"type": "boolean"
},
"body": {
"type": "string"
},
"clickToWhatsappCall": {
"type": "boolean"
},
"containsAutoReply": {
"type": "boolean"
},
"containsCtwaFlowsAutoReply": {
"type": "boolean"
},
"ctaPayload": {
"type": "string"
},
"ctwaClid": {
"type": "string"
},
"disableNudge": {
"type": "boolean"
},
"greetingMessageBody": {
"type": "string"
},
"mediaType": {
"$ref": "#/definitions/waE2E.ContextInfo_ExternalAdReplyInfo_MediaType"
},
"mediaURL": {
"type": "string"
},
"originalImageURL": {
"type": "string"
},
"ref": {
"type": "string"
},
"renderLargerThumbnail": {
"type": "boolean"
},
"showAdAttribution": {
"type": "boolean"
},
"sourceApp": {
"type": "string"
},
"sourceID": {
"type": "string"
},
"sourceType": {
"type": "string"
},
"sourceURL": {
"type": "string"
},
"thumbnail": {
"type": "array",
"items": {
"type": "integer"
}
},
"thumbnailURL": {
"type": "string"
},
"title": {
"type": "string"
},
"wtwaAdFormat": {
"type": "boolean"
},
"wtwaWebsiteURL": {
"type": "string"
}
}
},
"waE2E.ContextInfo_ExternalAdReplyInfo_AdType": {
"type": "integer",
"format": "int32",
"enum": [
0,
1
],
"x-enum-varnames": [
"ContextInfo_ExternalAdReplyInfo_CTWA",
"ContextInfo_ExternalAdReplyInfo_CAWC"
]
},
"waE2E.ContextInfo_ExternalAdReplyInfo_MediaType": {
"type": "integer",
"format": "int32",
"enum": [
0,
1,
2
],
"x-enum-varnames": [
"ContextInfo_ExternalAdReplyInfo_NONE",
"ContextInfo_ExternalAdReplyInfo_IMAGE",
"ContextInfo_ExternalAdReplyInfo_VIDEO"
]
},
"waE2E.ContextInfo_FeatureEligibilities": {
"type": "object",
"properties": {
"canBeReshared": {
"type": "boolean"
},
"canReceiveMultiReact": {
"type": "boolean"
},
"canRequestFeedback": {
"type": "boolean"
},
"cannotBeRanked": {
"type": "boolean"
},
"cannotBeReactedTo": {
"type": "boolean"
}
}
},
"waE2E.ContextInfo_ForwardOrigin": {
"type": "integer",
"format": "int32",
"enum": [
0,
1,
2,
3,
4,
5
],
"x-enum-varnames": [
"ContextInfo_UNKNOWN",
"ContextInfo_CHAT",
"ContextInfo_STATUS",
"ContextInfo_CHANNELS",
"ContextInfo_META_AI",
"ContextInfo_UGC"
]
},
"waE2E.ContextInfo_ForwardedNewsletterMessageInfo": {
"type": "object",
"properties": {
"accessibilityText": {
"type": "string"
},
"contentType": {
"$ref": "#/definitions/waE2E.ContextInfo_ForwardedNewsletterMessageInfo_ContentType"
},
"newsletterJID": {
"type": "string"
},
"newsletterName": {
"type": "string"
},
"profileName": {
"type": "string"
},
"serverMessageID": {
"type": "integer"
}
}
},
"waE2E.ContextInfo_ForwardedNewsletterMessageInfo_ContentType": {
"type": "integer",
"format": "int32",
"enum": [
1,
2,
3
],
"x-enum-varnames": [
"ContextInfo_ForwardedNewsletterMessageInfo_UPDATE",
"ContextInfo_ForwardedNewsletterMessageInfo_UPDATE_CARD",
"ContextInfo_ForwardedNewsletterMessageInfo_LINK_CARD"
]
},
"waE2E.ContextInfo_PairedMediaType": {
"type": "integer",
"format": "int32",
"enum": [
0,
1,
2,
3,
4,
5,
6,
7,
8
],
"x-enum-varnames": [
"ContextInfo_NOT_PAIRED_MEDIA",
"ContextInfo_SD_VIDEO_PARENT",
"ContextInfo_HD_VIDEO_CHILD",
"ContextInfo_SD_IMAGE_PARENT",
"ContextInfo_HD_IMAGE_CHILD",
"ContextInfo_MOTION_PHOTO_PARENT",
"ContextInfo_MOTION_PHOTO_CHILD",
"ContextInfo_HEVC_VIDEO_PARENT",
"ContextInfo_HEVC_VIDEO_CHILD"
]
},
"waE2E.ContextInfo_PartiallySelectedContent": {
"type": "object",
"properties": {
"text": {
"type": "string"
}
}
},
"waE2E.ContextInfo_QuestionReplyQuotedMessage": {
"type": "object",
"properties": {
"quotedQuestion": {
"$ref": "#/definitions/waE2E.Message"
},
"quotedResponse": {
"$ref": "#/definitions/waE2E.Message"
},
"serverQuestionID": {
"type": "integer"
}
}
},
"waE2E.ContextInfo_QuotedType": {
"type": "integer",
"format": "int32",
"enum": [
0,
1
],
"x-enum-varnames": [
"ContextInfo_EXPLICIT",
"ContextInfo_AUTO"
]
},
"waE2E.ContextInfo_StatusAttributionType": {
"type": "integer",
"format": "int32",
"enum": [
0,
1,
2,
3,
4
],
"x-enum-varnames": [
"ContextInfo_NONE",
"ContextInfo_RESHARED_FROM_MENTION",
"ContextInfo_RESHARED_FROM_POST",
"ContextInfo_RESHARED_FROM_POST_MANY_TIMES",
"ContextInfo_FORWARDED_FROM_STATUS"
]
},
"waE2E.ContextInfo_StatusAudienceMetadata": {
"type": "object",
"properties": {
"audienceType": {
"$ref": "#/definitions/waE2E.ContextInfo_StatusAudienceMetadata_AudienceType"
},
"listEmoji": {
"type": "string"
},
"listName": {
"type": "string"
}
}
},
"waE2E.ContextInfo_StatusAudienceMetadata_AudienceType": {
"type": "integer",
"format": "int32",
"enum": [
0,
1
],
"x-enum-varnames": [
"ContextInfo_StatusAudienceMetadata_UNKNOWN",
"ContextInfo_StatusAudienceMetadata_CLOSE_FRIENDS"
]
},
"waE2E.ContextInfo_StatusSourceType": {
"type": "integer",
"format": "int32",
"enum": [
0,
1,
2,
3,
4,
5
],
"x-enum-varnames": [
"ContextInfo_IMAGE",
"ContextInfo_VIDEO",
"ContextInfo_GIF",
"ContextInfo_AUDIO",
"ContextInfo_TEXT",
"ContextInfo_MUSIC_STANDALONE"
]
},
"waE2E.ContextInfo_UTMInfo": {
"type": "object",
"properties": {
"utmCampaign": {
"type": "string"
},
"utmSource": {
"type": "string"
}
}
},
"waE2E.DeclinePaymentRequestMessage": {
"type": "object",
"properties": {
"key": {
"$ref": "#/definitions/waCommon.MessageKey"
}
}
},
"waE2E.DeviceListMetadata": {
"type": "object",
"properties": {
"receiverAccountType": {
"$ref": "#/definitions/waAdv.ADVEncryptionType"
},
"recipientKeyHash": {
"type": "array",
"items": {
"type": "integer"
}
},
"recipientKeyIndexes": {
"type": "array",
"items": {
"type": "integer"
}
},
"recipientTimestamp": {
"type": "integer"
},
"senderAccountType": {
"$ref": "#/definitions/waAdv.ADVEncryptionType"
},
"senderKeyHash": {
"type": "array",
"items": {
"type": "integer"
}
},
"senderKeyIndexes": {
"type": "array",
"items": {
"type": "integer"
}
},
"senderTimestamp": {
"type": "integer"
}
}
},
"waE2E.DeviceSentMessage": {
"type": "object",
"properties": {
"destinationJID": {
"type": "string"
},
"message": {
"$ref": "#/definitions/waE2E.Message"
},
"phash": {
"type": "string"
}
}
},
"waE2E.DisappearingMode": {
"type": "object",
"properties": {
"initiatedByMe": {
"type": "boolean"
},
"initiator": {
"$ref": "#/definitions/waE2E.DisappearingMode_Initiator"
},
"initiatorDeviceJID": {
"type": "string"
},
"trigger": {
"$ref": "#/definitions/waE2E.DisappearingMode_Trigger"
}
}
},
"waE2E.DisappearingMode_Initiator": {
"type": "integer",
"format": "int32",
"enum": [
0,
1,
2,
3
],
"x-enum-varnames": [
"DisappearingMode_CHANGED_IN_CHAT",
"DisappearingMode_INITIATED_BY_ME",
"DisappearingMode_INITIATED_BY_OTHER",
"DisappearingMode_BIZ_UPGRADE_FB_HOSTING"
]
},
"waE2E.DisappearingMode_Trigger": {
"type": "integer",
"format": "int32",
"enum": [
0,
1,
2,
3,
4,
5
],
"x-enum-varnames": [
"DisappearingMode_UNKNOWN",
"DisappearingMode_CHAT_SETTING",
"DisappearingMode_ACCOUNT_SETTING",
"DisappearingMode_BULK_CHANGE",
"DisappearingMode_BIZ_SUPPORTS_FB_HOSTING",
"DisappearingMode_UNKNOWN_GROUPS"
]
},
"waE2E.DocumentMessage": {
"type": "object",
"properties": {
"JPEGThumbnail": {
"type": "array",
"items": {
"type": "integer"
}
},
"URL": {
"type": "string"
},
"accessibilityLabel": {
"type": "string"
},
"caption": {
"type": "string"
},
"contactVcard": {
"type": "boolean"
},
"contextInfo": {
"$ref": "#/definitions/waE2E.ContextInfo"
},
"directPath": {
"type": "string"
},
"fileEncSHA256": {
"type": "array",
"items": {
"type": "integer"
}
},
"fileLength": {
"type": "integer"
},
"fileName": {
"type": "string"
},
"fileSHA256": {
"type": "array",
"items": {
"type": "integer"
}
},
"mediaKey": {
"type": "array",
"items": {
"type": "integer"
}
},
"mediaKeyTimestamp": {
"type": "integer"
},
"mimetype": {
"type": "string"
},
"pageCount": {
"type": "integer"
},
"thumbnailDirectPath": {
"type": "string"
},
"thumbnailEncSHA256": {
"type": "array",
"items": {
"type": "integer"
}
},
"thumbnailHeight": {
"type": "integer"
},
"thumbnailSHA256": {
"type": "array",
"items": {
"type": "integer"
}
},
"thumbnailWidth": {
"type": "integer"
},
"title": {
"type": "string"
}
}
},
"waE2E.EmbeddedContent": {
"type": "object",
"properties": {
"content": {
"description": "Types that are valid to be assigned to Content:\n\n\t*EmbeddedContent_EmbeddedMessage\n\t*EmbeddedContent_EmbeddedMusic"
}
}
},
"waE2E.EmbeddedMusic": {
"type": "object",
"properties": {
"artistAttribution": {
"type": "string"
},
"artworkDirectPath": {
"type": "string"
},
"artworkEncSHA256": {
"type": "array",
"items": {
"type": "integer"
}
},
"artworkMediaKey": {
"type": "array",
"items": {
"type": "integer"
}
},
"artworkSHA256": {
"type": "array",
"items": {
"type": "integer"
}
},
"author": {
"type": "string"
},
"countryBlocklist": {
"type": "array",
"items": {
"type": "integer"
}
},
"derivedContentStartTimeInMS": {
"type": "integer"
},
"isExplicit": {
"type": "boolean"
},
"musicContentMediaID": {
"type": "string"
},
"musicSongStartTimeInMS": {
"type": "integer"
},
"overlapDurationInMS": {
"type": "integer"
},
"songID": {
"type": "string"
},
"title": {
"type": "string"
}
}
},
"waE2E.EncCommentMessage": {
"type": "object",
"properties": {
"encIV": {
"type": "array",
"items": {
"type": "integer"
}
},
"encPayload": {
"type": "array",
"items": {
"type": "integer"
}
},
"targetMessageKey": {
"$ref": "#/definitions/waCommon.MessageKey"
}
}
},
"waE2E.EncEventResponseMessage": {
"type": "object",
"properties": {
"encIV": {
"type": "array",
"items": {
"type": "integer"
}
},
"encPayload": {
"type": "array",
"items": {
"type": "integer"
}
},
"eventCreationMessageKey": {
"$ref": "#/definitions/waCommon.MessageKey"
}
}
},
"waE2E.EncReactionMessage": {
"type": "object",
"properties": {
"encIV": {
"type": "array",
"items": {
"type": "integer"
}
},
"encPayload": {
"type": "array",
"items": {
"type": "integer"
}
},
"targetMessageKey": {
"$ref": "#/definitions/waCommon.MessageKey"
}
}
},
"waE2E.EventInviteMessage": {
"type": "object",
"properties": {
"JPEGThumbnail": {
"type": "array",
"items": {
"type": "integer"
}
},
"callLink": {
"type": "string"
},
"caption": {
"type": "string"
},
"contextInfo": {
"$ref": "#/definitions/waE2E.ContextInfo"
},
"endTime": {
"type": "integer"
},
"eventID": {
"type": "string"
},
"eventTitle": {
"type": "string"
},
"isCanceled": {
"type": "boolean"
},
"startTime": {
"type": "integer"
}
}
},
"waE2E.EventMessage": {
"type": "object",
"properties": {
"contextInfo": {
"$ref": "#/definitions/waE2E.ContextInfo"
},
"description": {
"type": "string"
},
"endTime": {
"type": "integer"
},
"extraGuestsAllowed": {
"type": "boolean"
},
"hasReminder": {
"type": "boolean"
},
"isCanceled": {
"type": "boolean"
},
"isScheduleCall": {
"type": "boolean"
},
"joinLink": {
"type": "string"
},
"location": {
"$ref": "#/definitions/waE2E.LocationMessage"
},
"name": {
"type": "string"
},
"reminderOffsetSec": {
"type": "integer"
},
"startTime": {
"type": "integer"
}
}
},
"waE2E.ExtendedTextMessage": {
"type": "object",
"properties": {
"JPEGThumbnail": {
"type": "array",
"items": {
"type": "integer"
}
},
"backgroundArgb": {
"type": "integer"
},
"contextInfo": {
"$ref": "#/definitions/waE2E.ContextInfo"
},
"description": {
"type": "string"
},
"doNotPlayInline": {
"type": "boolean"
},
"endCardTiles": {
"type": "array",
"items": {
"$ref": "#/definitions/waE2E.VideoEndCard"
}
},
"faviconMMSMetadata": {
"$ref": "#/definitions/waE2E.MMSThumbnailMetadata"
},
"font": {
"$ref": "#/definitions/waE2E.ExtendedTextMessage_FontType"
},
"inviteLinkGroupType": {
"$ref": "#/definitions/waE2E.ExtendedTextMessage_InviteLinkGroupType"
},
"inviteLinkGroupTypeV2": {
"$ref": "#/definitions/waE2E.ExtendedTextMessage_InviteLinkGroupType"
},
"inviteLinkParentGroupSubjectV2": {
"type": "string"
},
"inviteLinkParentGroupThumbnailV2": {
"type": "array",
"items": {
"type": "integer"
}
},
"linkPreviewMetadata": {
"$ref": "#/definitions/waE2E.LinkPreviewMetadata"
},
"matchedText": {
"type": "string"
},
"mediaKey": {
"type": "array",
"items": {
"type": "integer"
}
},
"mediaKeyTimestamp": {
"type": "integer"
},
"musicMetadata": {
"$ref": "#/definitions/waE2E.EmbeddedMusic"
},
"paymentExtendedMetadata": {
"$ref": "#/definitions/waE2E.PaymentExtendedMetadata"
},
"paymentLinkMetadata": {
"$ref": "#/definitions/waE2E.PaymentLinkMetadata"
},
"previewType": {
"$ref": "#/definitions/waE2E.ExtendedTextMessage_PreviewType"
},
"text": {
"type": "string"
},
"textArgb": {
"type": "integer"
},
"thumbnailDirectPath": {
"type": "string"
},
"thumbnailEncSHA256": {
"type": "array",
"items": {
"type": "integer"
}
},
"thumbnailHeight": {
"type": "integer"
},
"thumbnailSHA256": {
"type": "array",
"items": {
"type": "integer"
}
},
"thumbnailWidth": {
"type": "integer"
},
"title": {
"type": "string"
},
"videoContentURL": {
"type": "string"
},
"videoHeight": {
"type": "integer"
},
"videoWidth": {
"type": "integer"
},
"viewOnce": {
"type": "boolean"
}
}
},
"waE2E.ExtendedTextMessage_FontType": {
"type": "integer",
"format": "int32",
"enum": [
0,
1,
2,
6,
7,
8,
9,
10
],
"x-enum-varnames": [
"ExtendedTextMessage_SYSTEM",
"ExtendedTextMessage_SYSTEM_TEXT",
"ExtendedTextMessage_FB_SCRIPT",
"ExtendedTextMessage_SYSTEM_BOLD",
"ExtendedTextMessage_MORNINGBREEZE_REGULAR",
"ExtendedTextMessage_CALISTOGA_REGULAR",
"ExtendedTextMessage_EXO2_EXTRABOLD",
"ExtendedTextMessage_COURIERPRIME_BOLD"
]
},
"waE2E.ExtendedTextMessage_InviteLinkGroupType": {
"type": "integer",
"format": "int32",
"enum": [
0,
1,
2,
3
],
"x-enum-varnames": [
"ExtendedTextMessage_DEFAULT",
"ExtendedTextMessage_PARENT",
"ExtendedTextMessage_SUB",
"ExtendedTextMessage_DEFAULT_SUB"
]
},
"waE2E.ExtendedTextMessage_PreviewType": {
"type": "integer",
"format": "int32",
"enum": [
0,
1,
4,
5,
6,
7
],
"x-enum-varnames": [
"ExtendedTextMessage_NONE",
"ExtendedTextMessage_VIDEO",
"ExtendedTextMessage_PLACEHOLDER",
"ExtendedTextMessage_IMAGE",
"ExtendedTextMessage_PAYMENT_LINKS",
"ExtendedTextMessage_PROFILE"
]
},
"waE2E.FullHistorySyncOnDemandConfig": {
"type": "object",
"properties": {
"historyDurationDays": {
"type": "integer"
},
"historyFromTimestamp": {
"type": "integer"
}
}
},
"waE2E.FullHistorySyncOnDemandRequestMetadata": {
"type": "object",
"properties": {
"businessProduct": {
"type": "string"
},
"opaqueClientData": {
"type": "array",
"items": {
"type": "integer"
}
},
"requestID": {
"type": "string"
}
}
},
"waE2E.FutureProofMessage": {
"type": "object",
"properties": {
"message": {
"$ref": "#/definitions/waE2E.Message"
}
}
},
"waE2E.GroupInviteMessage": {
"type": "object",
"properties": {
"JPEGThumbnail": {
"type": "array",
"items": {
"type": "integer"
}
},
"caption": {
"type": "string"
},
"contextInfo": {
"$ref": "#/definitions/waE2E.ContextInfo"
},
"groupJID": {
"type": "string"
},
"groupName": {
"type": "string"
},
"groupType": {
"$ref": "#/definitions/waE2E.GroupInviteMessage_GroupType"
},
"inviteCode": {
"type": "string"
},
"inviteExpiration": {
"type": "integer"
}
}
},
"waE2E.GroupInviteMessage_GroupType": {
"type": "integer",
"format": "int32",
"enum": [
0,
1
],
"x-enum-varnames": [
"GroupInviteMessage_DEFAULT",
"GroupInviteMessage_PARENT"
]
},
"waE2E.GroupMention": {
"type": "object",
"properties": {
"groupJID": {
"type": "string"
},
"groupSubject": {
"type": "string"
}
}
},
"waE2E.GroupRootKeyShare": {
"type": "object",
"properties": {
"keys": {
"type": "array",
"items": {
"$ref": "#/definitions/waE2E.GroupRootKeyShareEntry"
}
}
}
},
"waE2E.GroupRootKeyShareEntry": {
"type": "object",
"properties": {
"createdTimestampMS": {
"type": "integer"
},
"expiryTimestampMS": {
"type": "integer"
},
"groupRootKey": {
"type": "array",
"items": {
"type": "integer"
}
},
"keyID": {
"type": "string"
}
}
},
"waE2E.HighlyStructuredMessage": {
"type": "object",
"properties": {
"deterministicLc": {
"type": "string"
},
"deterministicLg": {
"type": "string"
},
"elementName": {
"type": "string"
},
"fallbackLc": {
"type": "string"
},
"fallbackLg": {
"type": "string"
},
"hydratedHsm": {
"$ref": "#/definitions/waE2E.TemplateMessage"
},
"localizableParams": {
"type": "array",
"items": {
"$ref": "#/definitions/waE2E.HighlyStructuredMessage_HSMLocalizableParameter"
}
},
"namespace": {
"type": "string"
},
"params": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"waE2E.HighlyStructuredMessage_HSMLocalizableParameter": {
"type": "object",
"properties": {
"default": {
"type": "string"
},
"paramOneof": {
"description": "Types that are valid to be assigned to ParamOneof:\n\n\t*HighlyStructuredMessage_HSMLocalizableParameter_Currency\n\t*HighlyStructuredMessage_HSMLocalizableParameter_DateTime"
}
}
},
"waE2E.HistorySyncMessageAccessStatus": {
"type": "object",
"properties": {
"completeAccessGranted": {
"type": "boolean"
}
}
},
"waE2E.HistorySyncNotification": {
"type": "object",
"properties": {
"chunkOrder": {
"type": "integer"
},
"directPath": {
"type": "string"
},
"encHandle": {
"type": "string"
},
"fileEncSHA256": {
"type": "array",
"items": {
"type": "integer"
}
},
"fileLength": {
"type": "integer"
},
"fileSHA256": {
"type": "array",
"items": {
"type": "integer"
}
},
"fullHistorySyncOnDemandRequestMetadata": {
"$ref": "#/definitions/waE2E.FullHistorySyncOnDemandRequestMetadata"
},
"initialHistBootstrapInlinePayload": {
"type": "array",
"items": {
"type": "integer"
}
},
"mediaKey": {
"type": "array",
"items": {
"type": "integer"
}
},
"messageAccessStatus": {
"$ref": "#/definitions/waE2E.HistorySyncMessageAccessStatus"
},
"oldestMsgInChunkTimestampSec": {
"type": "integer"
},
"originalMessageID": {
"type": "string"
},
"peerDataRequestSessionID": {
"type": "string"
},
"progress": {
"type": "integer"
},
"syncType": {
"$ref": "#/definitions/waE2E.HistorySyncType"
}
}
},
"waE2E.HistorySyncType": {
"type": "integer",
"format": "int32",
"enum": [
0,
1,
2,
3,
4,
5,
6,
7,
8
],
"x-enum-varnames": [
"HistorySyncType_INITIAL_BOOTSTRAP",
"HistorySyncType_INITIAL_STATUS_V3",
"HistorySyncType_FULL",
"HistorySyncType_RECENT",
"HistorySyncType_PUSH_NAME",
"HistorySyncType_NON_BLOCKING_DATA",
"HistorySyncType_ON_DEMAND",
"HistorySyncType_NO_HISTORY",
"HistorySyncType_MESSAGE_ACCESS_STATUS"
]
},
"waE2E.HydratedTemplateButton": {
"type": "object",
"properties": {
"hydratedButton": {
"description": "Types that are valid to be assigned to HydratedButton:\n\n\t*HydratedTemplateButton_QuickReplyButton\n\t*HydratedTemplateButton_UrlButton\n\t*HydratedTemplateButton_CallButton"
},
"index": {
"type": "integer"
}
}
},
"waE2E.ImageMessage": {
"type": "object",
"properties": {
"JPEGThumbnail": {
"type": "array",
"items": {
"type": "integer"
}
},
"URL": {
"type": "string"
},
"accessibilityLabel": {
"type": "string"
},
"annotations": {
"type": "array",
"items": {
"$ref": "#/definitions/waE2E.InteractiveAnnotation"
}
},
"caption": {
"type": "string"
},
"contextInfo": {
"$ref": "#/definitions/waE2E.ContextInfo"
},
"directPath": {
"type": "string"
},
"experimentGroupID": {
"type": "integer"
},
"fileEncSHA256": {
"type": "array",
"items": {
"type": "integer"
}
},
"fileLength": {
"type": "integer"
},
"fileSHA256": {
"type": "array",
"items": {
"type": "integer"
}
},
"firstScanLength": {
"type": "integer"
},
"firstScanSidecar": {
"type": "array",
"items": {
"type": "integer"
}
},
"height": {
"type": "integer"
},
"imageSourceType": {
"$ref": "#/definitions/waE2E.ImageMessage_ImageSourceType"
},
"interactiveAnnotations": {
"type": "array",
"items": {
"$ref": "#/definitions/waE2E.InteractiveAnnotation"
}
},
"mediaKey": {
"type": "array",
"items": {
"type": "integer"
}
},
"mediaKeyTimestamp": {
"type": "integer"
},
"midQualityFileEncSHA256": {
"type": "array",
"items": {
"type": "integer"
}
},
"midQualityFileSHA256": {
"type": "array",
"items": {
"type": "integer"
}
},
"mimetype": {
"type": "string"
},
"qrURL": {
"type": "string"
},
"scanLengths": {
"type": "array",
"items": {
"type": "integer"
}
},
"scansSidecar": {
"type": "array",
"items": {
"type": "integer"
}
},
"staticURL": {
"type": "string"
},
"thumbnailDirectPath": {
"type": "string"
},
"thumbnailEncSHA256": {
"type": "array",
"items": {
"type": "integer"
}
},
"thumbnailSHA256": {
"type": "array",
"items": {
"type": "integer"
}
},
"viewOnce": {
"type": "boolean"
},
"width": {
"type": "integer"
}
}
},
"waE2E.ImageMessage_ImageSourceType": {
"type": "integer",
"format": "int32",
"enum": [
0,
1,
2,
3
],
"x-enum-varnames": [
"ImageMessage_USER_IMAGE",
"ImageMessage_AI_GENERATED",
"ImageMessage_AI_MODIFIED",
"ImageMessage_RASTERIZED_TEXT_STATUS"
]
},
"waE2E.InitialSecurityNotificationSettingSync": {
"type": "object",
"properties": {
"securityNotificationEnabled": {
"type": "boolean"
}
}
},
"waE2E.InsightDeliveryState": {
"type": "integer",
"format": "int32",
"enum": [
0,
1,
2,
3,
4
],
"x-enum-varnames": [
"InsightDeliveryState_SENT",
"InsightDeliveryState_DELIVERED",
"InsightDeliveryState_READ",
"InsightDeliveryState_REPLIED",
"InsightDeliveryState_QUICK_REPLIED"
]
},
"waE2E.InteractiveAnnotation": {
"type": "object",
"properties": {
"action": {
"description": "Types that are valid to be assigned to Action:\n\n\t*InteractiveAnnotation_Location\n\t*InteractiveAnnotation_Newsletter\n\t*InteractiveAnnotation_EmbeddedAction\n\t*InteractiveAnnotation_TapAction"
},
"embeddedContent": {
"$ref": "#/definitions/waE2E.EmbeddedContent"
},
"polygonVertices": {
"type": "array",
"items": {
"$ref": "#/definitions/waE2E.Point"
}
},
"shouldSkipConfirmation": {
"type": "boolean"
},
"statusLinkType": {
"$ref": "#/definitions/waE2E.InteractiveAnnotation_StatusLinkType"
}
}
},
"waE2E.InteractiveAnnotation_StatusLinkType": {
"type": "integer",
"format": "int32",
"enum": [
1,
2,
3
],
"x-enum-varnames": [
"InteractiveAnnotation_RASTERIZED_LINK_PREVIEW",
"InteractiveAnnotation_RASTERIZED_LINK_TRUNCATED",
"InteractiveAnnotation_RASTERIZED_LINK_FULL_URL"
]
},
"waE2E.InteractiveMessage": {
"type": "object",
"properties": {
"bloksWidget": {
"$ref": "#/definitions/waE2E.InteractiveMessage_BloksWidget"
},
"body": {
"$ref": "#/definitions/waE2E.InteractiveMessage_Body"
},
"contextInfo": {
"$ref": "#/definitions/waE2E.ContextInfo"
},
"footer": {
"$ref": "#/definitions/waE2E.InteractiveMessage_Footer"
},
"header": {
"$ref": "#/definitions/waE2E.InteractiveMessage_Header"
},
"interactiveMessage": {
"description": "Types that are valid to be assigned to InteractiveMessage:\n\n\t*InteractiveMessage_ShopStorefrontMessage\n\t*InteractiveMessage_CollectionMessage_\n\t*InteractiveMessage_NativeFlowMessage_\n\t*InteractiveMessage_CarouselMessage_"
},
"urlTrackingMap": {
"$ref": "#/definitions/waE2E.UrlTrackingMap"
}
}
},
"waE2E.InteractiveMessage_BloksWidget": {
"type": "object",
"properties": {
"data": {
"type": "string"
},
"fallback": {
"type": "string"
},
"type": {
"type": "string"
},
"uuid": {
"type": "string"
}
}
},
"waE2E.InteractiveMessage_Body": {
"type": "object",
"properties": {
"text": {
"type": "string"
}
}
},
"waE2E.InteractiveMessage_Footer": {
"type": "object",
"properties": {
"hasMediaAttachment": {
"type": "boolean"
},
"media": {
"description": "Types that are valid to be assigned to Media:\n\n\t*InteractiveMessage_Footer_AudioMessage"
},
"text": {
"type": "string"
}
}
},
"waE2E.InteractiveMessage_Header": {
"type": "object",
"properties": {
"bloksWidget": {
"$ref": "#/definitions/waE2E.InteractiveMessage_BloksWidget"
},
"hasMediaAttachment": {
"type": "boolean"
},
"media": {
"description": "Types that are valid to be assigned to Media:\n\n\t*InteractiveMessage_Header_DocumentMessage\n\t*InteractiveMessage_Header_ImageMessage\n\t*InteractiveMessage_Header_JPEGThumbnail\n\t*InteractiveMessage_Header_VideoMessage\n\t*InteractiveMessage_Header_LocationMessage\n\t*InteractiveMessage_Header_ProductMessage"
},
"subtitle": {
"type": "string"
},
"title": {
"type": "string"
}
}
},
"waE2E.InteractiveResponseMessage": {
"type": "object",
"properties": {
"body": {
"$ref": "#/definitions/waE2E.InteractiveResponseMessage_Body"
},
"contextInfo": {
"$ref": "#/definitions/waE2E.ContextInfo"
},
"interactiveResponseMessage": {
"description": "Types that are valid to be assigned to InteractiveResponseMessage:\n\n\t*InteractiveResponseMessage_NativeFlowResponseMessage_"
}
}
},
"waE2E.InteractiveResponseMessage_Body": {
"type": "object",
"properties": {
"format": {
"$ref": "#/definitions/waE2E.InteractiveResponseMessage_Body_Format"
},
"text": {
"type": "string"
}
}
},
"waE2E.InteractiveResponseMessage_Body_Format": {
"type": "integer",
"format": "int32",
"enum": [
0,
1
],
"x-enum-varnames": [
"InteractiveResponseMessage_Body_DEFAULT",
"InteractiveResponseMessage_Body_EXTENSIONS_1"
]
},
"waE2E.InvoiceMessage": {
"type": "object",
"properties": {
"attachmentDirectPath": {
"type": "string"
},
"attachmentFileEncSHA256": {
"type": "array",
"items": {
"type": "integer"
}
},
"attachmentFileSHA256": {
"type": "array",
"items": {
"type": "integer"
}
},
"attachmentJPEGThumbnail": {
"type": "array",
"items": {
"type": "integer"
}
},
"attachmentMediaKey": {
"type": "array",
"items": {
"type": "integer"
}
},
"attachmentMediaKeyTimestamp": {
"type": "integer"
},
"attachmentMimetype": {
"type": "string"
},
"attachmentType": {
"$ref": "#/definitions/waE2E.InvoiceMessage_AttachmentType"
},
"note": {
"type": "string"
},
"token": {
"type": "string"
}
}
},
"waE2E.InvoiceMessage_AttachmentType": {
"type": "integer",
"format": "int32",
"enum": [
0,
1
],
"x-enum-varnames": [
"InvoiceMessage_IMAGE",
"InvoiceMessage_PDF"
]
},
"waE2E.KeepInChatMessage": {
"type": "object",
"properties": {
"keepType": {
"$ref": "#/definitions/waE2E.KeepType"
},
"key": {
"$ref": "#/definitions/waCommon.MessageKey"
},
"timestampMS": {
"type": "integer"
}
}
},
"waE2E.KeepType": {
"type": "integer",
"format": "int32",
"enum": [
0,
1,
2
],
"x-enum-varnames": [
"KeepType_UNKNOWN_KEEP_TYPE",
"KeepType_KEEP_FOR_ALL",
"KeepType_UNDO_KEEP_FOR_ALL"
]
},
"waE2E.LIDMigrationMappingSyncMessage": {
"type": "object",
"properties": {
"encodedMappingPayload": {
"type": "array",
"items": {
"type": "integer"
}
}
}
},
"waE2E.LinkPreviewMetadata": {
"type": "object",
"properties": {
"fbExperimentID": {
"type": "integer"
},
"linkInlineVideoMuted": {
"type": "boolean"
},
"linkMediaDuration": {
"type": "integer"
},
"musicMetadata": {
"$ref": "#/definitions/waE2E.EmbeddedMusic"
},
"paymentLinkMetadata": {
"$ref": "#/definitions/waE2E.PaymentLinkMetadata"
},
"socialMediaPostType": {
"$ref": "#/definitions/waE2E.LinkPreviewMetadata_SocialMediaPostType"
},
"urlMetadata": {
"$ref": "#/definitions/waE2E.URLMetadata"
},
"videoContentCaption": {
"type": "string"
},
"videoContentURL": {
"type": "string"
}
}
},
"waE2E.LinkPreviewMetadata_SocialMediaPostType": {
"type": "integer",
"format": "int32",
"enum": [
0,
1,
2,
3,
4,
5
],
"x-enum-varnames": [
"LinkPreviewMetadata_NONE",
"LinkPreviewMetadata_REEL",
"LinkPreviewMetadata_LIVE_VIDEO",
"LinkPreviewMetadata_LONG_VIDEO",
"LinkPreviewMetadata_SINGLE_IMAGE",
"LinkPreviewMetadata_CAROUSEL"
]
},
"waE2E.ListMessage": {
"type": "object",
"properties": {
"buttonText": {
"type": "string"
},
"contextInfo": {
"$ref": "#/definitions/waE2E.ContextInfo"
},
"description": {
"type": "string"
},
"footerText": {
"type": "string"
},
"listType": {
"$ref": "#/definitions/waE2E.ListMessage_ListType"
},
"productListInfo": {
"$ref": "#/definitions/waE2E.ListMessage_ProductListInfo"
},
"sections": {
"type": "array",
"items": {
"$ref": "#/definitions/waE2E.ListMessage_Section"
}
},
"title": {
"type": "string"
}
}
},
"waE2E.ListMessage_ListType": {
"type": "integer",
"format": "int32",
"enum": [
0,
1,
2
],
"x-enum-varnames": [
"ListMessage_UNKNOWN",
"ListMessage_SINGLE_SELECT",
"ListMessage_PRODUCT_LIST"
]
},
"waE2E.ListMessage_Product": {
"type": "object",
"properties": {
"productID": {
"type": "string"
}
}
},
"waE2E.ListMessage_ProductListHeaderImage": {
"type": "object",
"properties": {
"JPEGThumbnail": {
"type": "array",
"items": {
"type": "integer"
}
},
"productID": {
"type": "string"
}
}
},
"waE2E.ListMessage_ProductListInfo": {
"type": "object",
"properties": {
"businessOwnerJID": {
"type": "string"
},
"headerImage": {
"$ref": "#/definitions/waE2E.ListMessage_ProductListHeaderImage"
},
"productSections": {
"type": "array",
"items": {
"$ref": "#/definitions/waE2E.ListMessage_ProductSection"
}
}
}
},
"waE2E.ListMessage_ProductSection": {
"type": "object",
"properties": {
"products": {
"type": "array",
"items": {
"$ref": "#/definitions/waE2E.ListMessage_Product"
}
},
"title": {
"type": "string"
}
}
},
"waE2E.ListMessage_Row": {
"type": "object",
"properties": {
"description": {
"type": "string"
},
"rowID": {
"type": "string"
},
"title": {
"type": "string"
}
}
},
"waE2E.ListMessage_Section": {
"type": "object",
"properties": {
"rows": {
"type": "array",
"items": {
"$ref": "#/definitions/waE2E.ListMessage_Row"
}
},
"title": {
"type": "string"
}
}
},
"waE2E.ListResponseMessage": {
"type": "object",
"properties": {
"contextInfo": {
"$ref": "#/definitions/waE2E.ContextInfo"
},
"description": {
"type": "string"
},
"listType": {
"$ref": "#/definitions/waE2E.ListResponseMessage_ListType"
},
"singleSelectReply": {
"$ref": "#/definitions/waE2E.ListResponseMessage_SingleSelectReply"
},
"title": {
"type": "string"
}
}
},
"waE2E.ListResponseMessage_ListType": {
"type": "integer",
"format": "int32",
"enum": [
0,
1
],
"x-enum-varnames": [
"ListResponseMessage_UNKNOWN",
"ListResponseMessage_SINGLE_SELECT"
]
},
"waE2E.ListResponseMessage_SingleSelectReply": {
"type": "object",
"properties": {
"selectedRowID": {
"type": "string"
}
}
},
"waE2E.LiveLocationMessage": {
"type": "object",
"properties": {
"JPEGThumbnail": {
"type": "array",
"items": {
"type": "integer"
}
},
"accuracyInMeters": {
"type": "integer"
},
"caption": {
"type": "string"
},
"contextInfo": {
"$ref": "#/definitions/waE2E.ContextInfo"
},
"degreesClockwiseFromMagneticNorth": {
"type": "integer"
},
"degreesLatitude": {
"type": "number"
},
"degreesLongitude": {
"type": "number"
},
"sequenceNumber": {
"type": "integer"
},
"speedInMps": {
"type": "number"
},
"timeOffset": {
"type": "integer"
}
}
},
"waE2E.LocationMessage": {
"type": "object",
"properties": {
"JPEGThumbnail": {
"type": "array",
"items": {
"type": "integer"
}
},
"URL": {
"type": "string"
},
"accuracyInMeters": {
"type": "integer"
},
"address": {
"type": "string"
},
"comment": {
"type": "string"
},
"contextInfo": {
"$ref": "#/definitions/waE2E.ContextInfo"
},
"degreesClockwiseFromMagneticNorth": {
"type": "integer"
},
"degreesLatitude": {
"type": "number"
},
"degreesLongitude": {
"type": "number"
},
"isLive": {
"type": "boolean"
},
"name": {
"type": "string"
},
"speedInMps": {
"type": "number"
}
}
},
"waE2E.MMSThumbnailMetadata": {
"type": "object",
"properties": {
"mediaKey": {
"type": "array",
"items": {
"type": "integer"
}
},
"mediaKeyTimestamp": {
"type": "integer"
},
"thumbnailDirectPath": {
"type": "string"
},
"thumbnailEncSHA256": {
"type": "array",
"items": {
"type": "integer"
}
},
"thumbnailHeight": {
"type": "integer"
},
"thumbnailSHA256": {
"type": "array",
"items": {
"type": "integer"
}
},
"thumbnailWidth": {
"type": "integer"
}
}
},
"waE2E.MediaDomainInfo": {
"type": "object",
"properties": {
"e2EeMediaKey": {
"type": "array",
"items": {
"type": "integer"
}
},
"mediaKeyDomain": {
"$ref": "#/definitions/waE2E.MediaKeyDomain"
}
}
},
"waE2E.MediaKeyDomain": {
"type": "integer",
"format": "int32",
"enum": [
0,
1,
2
],
"x-enum-varnames": [
"MediaKeyDomain_MEDIA_KEY_DOMAIN_UNKNOWN",
"MediaKeyDomain_MEDIA_KEY_DOMAIN_E2EE",
"MediaKeyDomain_MEDIA_KEY_DOMAIN_NON_E2EE"
]
},
"waE2E.MediaNotifyMessage": {
"type": "object",
"properties": {
"expressPathURL": {
"type": "string"
},
"fileEncSHA256": {
"type": "array",
"items": {
"type": "integer"
}
},
"fileLength": {
"type": "integer"
}
}
},
"waE2E.MemberLabel": {
"type": "object",
"properties": {
"label": {
"type": "string"
},
"labelTimestamp": {
"type": "integer"
}
}
},
"waE2E.Message": {
"type": "object",
"properties": {
"albumMessage": {
"$ref": "#/definitions/waE2E.AlbumMessage"
},
"associatedChildMessage": {
"$ref": "#/definitions/waE2E.FutureProofMessage"
},
"audioMessage": {
"$ref": "#/definitions/waE2E.AudioMessage"
},
"bcallMessage": {
"$ref": "#/definitions/waE2E.BCallMessage"
},
"botForwardedMessage": {
"$ref": "#/definitions/waE2E.FutureProofMessage"
},
"botInvokeMessage": {
"$ref": "#/definitions/waE2E.FutureProofMessage"
},
"botTaskMessage": {
"$ref": "#/definitions/waE2E.FutureProofMessage"
},
"buttonsMessage": {
"$ref": "#/definitions/waE2E.ButtonsMessage"
},
"buttonsResponseMessage": {
"$ref": "#/definitions/waE2E.ButtonsResponseMessage"
},
"call": {
"$ref": "#/definitions/waE2E.Call"
},
"callLogMesssage": {
"$ref": "#/definitions/waE2E.CallLogMessage"
},
"cancelPaymentRequestMessage": {
"$ref": "#/definitions/waE2E.CancelPaymentRequestMessage"
},
"chat": {
"$ref": "#/definitions/waE2E.Chat"
},
"commentMessage": {
"$ref": "#/definitions/waE2E.CommentMessage"
},
"conditionalRevealMessage": {
"$ref": "#/definitions/waE2E.ConditionalRevealMessage"
},
"contactMessage": {
"$ref": "#/definitions/waE2E.ContactMessage"
},
"contactsArrayMessage": {
"$ref": "#/definitions/waE2E.ContactsArrayMessage"
},
"conversation": {
"type": "string"
},
"declinePaymentRequestMessage": {
"$ref": "#/definitions/waE2E.DeclinePaymentRequestMessage"
},
"deviceSentMessage": {
"$ref": "#/definitions/waE2E.DeviceSentMessage"
},
"documentMessage": {
"$ref": "#/definitions/waE2E.DocumentMessage"
},
"documentWithCaptionMessage": {
"$ref": "#/definitions/waE2E.FutureProofMessage"
},
"editedMessage": {
"$ref": "#/definitions/waE2E.FutureProofMessage"
},
"encCommentMessage": {
"$ref": "#/definitions/waE2E.EncCommentMessage"
},
"encEventResponseMessage": {
"$ref": "#/definitions/waE2E.EncEventResponseMessage"
},
"encReactionMessage": {
"$ref": "#/definitions/waE2E.EncReactionMessage"
},
"ephemeralMessage": {
"$ref": "#/definitions/waE2E.FutureProofMessage"
},
"eventCoverImage": {
"$ref": "#/definitions/waE2E.FutureProofMessage"
},
"eventInviteMessage": {
"$ref": "#/definitions/waE2E.EventInviteMessage"
},
"eventMessage": {
"$ref": "#/definitions/waE2E.EventMessage"
},
"extendedTextMessage": {
"$ref": "#/definitions/waE2E.ExtendedTextMessage"
},
"fastRatchetKeySenderKeyDistributionMessage": {
"$ref": "#/definitions/waE2E.SenderKeyDistributionMessage"
},
"groupInviteMessage": {
"$ref": "#/definitions/waE2E.GroupInviteMessage"
},
"groupMentionedMessage": {
"$ref": "#/definitions/waE2E.FutureProofMessage"
},
"groupRootKeyShare": {
"$ref": "#/definitions/waE2E.GroupRootKeyShare"
},
"groupStatusMentionMessage": {
"$ref": "#/definitions/waE2E.FutureProofMessage"
},
"groupStatusMessage": {
"$ref": "#/definitions/waE2E.FutureProofMessage"
},
"groupStatusMessageV2": {
"$ref": "#/definitions/waE2E.FutureProofMessage"
},
"highlyStructuredMessage": {
"$ref": "#/definitions/waE2E.HighlyStructuredMessage"
},
"imageMessage": {
"$ref": "#/definitions/waE2E.ImageMessage"
},
"interactiveMessage": {
"$ref": "#/definitions/waE2E.InteractiveMessage"
},
"interactiveResponseMessage": {
"$ref": "#/definitions/waE2E.InteractiveResponseMessage"
},
"invoiceMessage": {
"$ref": "#/definitions/waE2E.InvoiceMessage"
},
"keepInChatMessage": {
"$ref": "#/definitions/waE2E.KeepInChatMessage"
},
"limitSharingMessage": {
"$ref": "#/definitions/waE2E.FutureProofMessage"
},
"listMessage": {
"$ref": "#/definitions/waE2E.ListMessage"
},
"listResponseMessage": {
"$ref": "#/definitions/waE2E.ListResponseMessage"
},
"liveLocationMessage": {
"$ref": "#/definitions/waE2E.LiveLocationMessage"
},
"locationMessage": {
"$ref": "#/definitions/waE2E.LocationMessage"
},
"lottieStickerMessage": {
"$ref": "#/definitions/waE2E.FutureProofMessage"
},
"messageContextInfo": {
"$ref": "#/definitions/waE2E.MessageContextInfo"
},
"messageHistoryBundle": {
"$ref": "#/definitions/waE2E.MessageHistoryBundle"
},
"messageHistoryNotice": {
"$ref": "#/definitions/waE2E.MessageHistoryNotice"
},
"newsletterAdminInviteMessage": {
"$ref": "#/definitions/waE2E.NewsletterAdminInviteMessage"
},
"newsletterAdminProfileMessage": {
"$ref": "#/definitions/waE2E.FutureProofMessage"
},
"newsletterAdminProfileMessageV2": {
"$ref": "#/definitions/waE2E.FutureProofMessage"
},
"newsletterAdminProfileStatusMessage": {
"$ref": "#/definitions/waE2E.FutureProofMessage"
},
"newsletterFollowerInviteMessageV2": {
"$ref": "#/definitions/waE2E.NewsletterFollowerInviteMessage"
},
"orderMessage": {
"$ref": "#/definitions/waE2E.OrderMessage"
},
"paymentInviteMessage": {
"$ref": "#/definitions/waE2E.PaymentInviteMessage"
},
"paymentReminderMessage": {
"$ref": "#/definitions/waE2E.PaymentReminderMessage"
},
"pinInChatMessage": {
"$ref": "#/definitions/waE2E.PinInChatMessage"
},
"placeholderMessage": {
"$ref": "#/definitions/waE2E.PlaceholderMessage"
},
"pollAddOptionMessage": {
"$ref": "#/definitions/waE2E.PollAddOptionMessage"
},
"pollCreationMessage": {
"$ref": "#/definitions/waE2E.PollCreationMessage"
},
"pollCreationMessageV2": {
"$ref": "#/definitions/waE2E.PollCreationMessage"
},
"pollCreationMessageV3": {
"$ref": "#/definitions/waE2E.PollCreationMessage"
},
"pollCreationMessageV4": {
"$ref": "#/definitions/waE2E.FutureProofMessage"
},
"pollCreationMessageV5": {
"$ref": "#/definitions/waE2E.PollCreationMessage"
},
"pollCreationMessageV6": {
"$ref": "#/definitions/waE2E.PollCreationMessage"
},
"pollCreationOptionImageMessage": {
"$ref": "#/definitions/waE2E.FutureProofMessage"
},
"pollResultSnapshotMessage": {
"$ref": "#/definitions/waE2E.PollResultSnapshotMessage"
},
"pollResultSnapshotMessageV3": {
"$ref": "#/definitions/waE2E.PollResultSnapshotMessage"
},
"pollUpdateMessage": {
"$ref": "#/definitions/waE2E.PollUpdateMessage"
},
"productMessage": {
"$ref": "#/definitions/waE2E.ProductMessage"
},
"protocolMessage": {
"$ref": "#/definitions/waE2E.ProtocolMessage"
},
"ptvMessage": {
"$ref": "#/definitions/waE2E.VideoMessage"
},
"questionMessage": {
"$ref": "#/definitions/waE2E.FutureProofMessage"
},
"questionReplyMessage": {
"$ref": "#/definitions/waE2E.FutureProofMessage"
},
"questionResponseMessage": {
"$ref": "#/definitions/waE2E.QuestionResponseMessage"
},
"reactionMessage": {
"$ref": "#/definitions/waE2E.ReactionMessage"
},
"requestPaymentMessage": {
"$ref": "#/definitions/waE2E.RequestPaymentMessage"
},
"requestPhoneNumberMessage": {
"$ref": "#/definitions/waE2E.RequestPhoneNumberMessage"
},
"richResponseMessage": {
"$ref": "#/definitions/waE2E.AIRichResponseMessage"
},
"rootSecretDistributeMessage": {
"$ref": "#/definitions/waE2E.RootSecretDistributeMessage"
},
"scheduledCallCreationMessage": {
"$ref": "#/definitions/waE2E.ScheduledCallCreationMessage"
},
"scheduledCallEditMessage": {
"$ref": "#/definitions/waE2E.ScheduledCallEditMessage"
},
"secretEncryptedMessage": {
"$ref": "#/definitions/waE2E.SecretEncryptedMessage"
},
"sendPaymentMessage": {
"$ref": "#/definitions/waE2E.SendPaymentMessage"
},
"senderKeyDistributionMessage": {
"$ref": "#/definitions/waE2E.SenderKeyDistributionMessage"
},
"splitPaymentMessage": {
"$ref": "#/definitions/waE2E.SplitPaymentMessage"
},
"spoilerMessage": {
"$ref": "#/definitions/waE2E.FutureProofMessage"
},
"statusAddYours": {
"$ref": "#/definitions/waE2E.FutureProofMessage"
},
"statusMentionMessage": {
"$ref": "#/definitions/waE2E.FutureProofMessage"
},
"statusNotificationMessage": {
"$ref": "#/definitions/waE2E.StatusNotificationMessage"
},
"statusQuestionAnswerMessage": {
"$ref": "#/definitions/waE2E.StatusQuestionAnswerMessage"
},
"statusQuotedMessage": {
"$ref": "#/definitions/waE2E.StatusQuotedMessage"
},
"statusStickerInteractionMessage": {
"$ref": "#/definitions/waE2E.StatusStickerInteractionMessage"
},
"stickerMessage": {
"$ref": "#/definitions/waE2E.StickerMessage"
},
"stickerPackMessage": {
"$ref": "#/definitions/waE2E.StickerPackMessage"
},
"stickerSyncRmrMessage": {
"$ref": "#/definitions/waE2E.StickerSyncRMRMessage"
},
"templateButtonReplyMessage": {
"$ref": "#/definitions/waE2E.TemplateButtonReplyMessage"
},
"templateMessage": {
"$ref": "#/definitions/waE2E.TemplateMessage"
},
"videoMessage": {
"$ref": "#/definitions/waE2E.VideoMessage"
},
"viewOnceMessage": {
"$ref": "#/definitions/waE2E.FutureProofMessage"
},
"viewOnceMessageV2": {
"$ref": "#/definitions/waE2E.FutureProofMessage"
},
"viewOnceMessageV2Extension": {
"$ref": "#/definitions/waE2E.FutureProofMessage"
}
}
},
"waE2E.MessageAssociation": {
"type": "object",
"properties": {
"associationType": {
"$ref": "#/definitions/waE2E.MessageAssociation_AssociationType"
},
"messageIndex": {
"type": "integer"
},
"parentMessageKey": {
"$ref": "#/definitions/waCommon.MessageKey"
}
}
},
"waE2E.MessageAssociation_AssociationType": {
"type": "integer",
"format": "int32",
"enum": [
0,
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
13,
14,
15,
16,
17,
18,
19,
20
],
"x-enum-varnames": [
"MessageAssociation_UNKNOWN",
"MessageAssociation_MEDIA_ALBUM",
"MessageAssociation_BOT_PLUGIN",
"MessageAssociation_EVENT_COVER_IMAGE",
"MessageAssociation_STATUS_POLL",
"MessageAssociation_HD_VIDEO_DUAL_UPLOAD",
"MessageAssociation_STATUS_EXTERNAL_RESHARE",
"MessageAssociation_MEDIA_POLL",
"MessageAssociation_STATUS_ADD_YOURS",
"MessageAssociation_STATUS_NOTIFICATION",
"MessageAssociation_HD_IMAGE_DUAL_UPLOAD",
"MessageAssociation_STICKER_ANNOTATION",
"MessageAssociation_MOTION_PHOTO",
"MessageAssociation_STATUS_LINK_ACTION",
"MessageAssociation_VIEW_ALL_REPLIES",
"MessageAssociation_STATUS_ADD_YOURS_AI_IMAGINE",
"MessageAssociation_STATUS_QUESTION",
"MessageAssociation_STATUS_ADD_YOURS_DIWALI",
"MessageAssociation_STATUS_REACTION",
"MessageAssociation_HEVC_VIDEO_DUAL_UPLOAD",
"MessageAssociation_POLL_ADD_OPTION"
]
},
"waE2E.MessageContextInfo": {
"type": "object",
"properties": {
"botMessageSecret": {
"type": "array",
"items": {
"type": "integer"
}
},
"botMetadata": {
"$ref": "#/definitions/waAICommon.BotMetadata"
},
"capiCreatedGroup": {
"type": "boolean"
},
"deviceListMetadata": {
"$ref": "#/definitions/waE2E.DeviceListMetadata"
},
"deviceListMetadataVersion": {
"type": "integer"
},
"limitSharing": {
"$ref": "#/definitions/waCommon.LimitSharing"
},
"limitSharingV2": {
"$ref": "#/definitions/waCommon.LimitSharing"
},
"messageAddOnDurationInSecs": {
"type": "integer"
},
"messageAddOnExpiryType": {
"$ref": "#/definitions/waE2E.MessageContextInfo_MessageAddonExpiryType"
},
"messageAssociation": {
"$ref": "#/definitions/waE2E.MessageAssociation"
},
"messageSecret": {
"type": "array",
"items": {
"type": "integer"
}
},
"paddingBytes": {
"type": "array",
"items": {
"type": "integer"
}
},
"reportingTokenVersion": {
"type": "integer"
},
"supportPayload": {
"type": "string"
},
"teeBotMetadata": {
"type": "array",
"items": {
"type": "integer"
}
},
"threadID": {
"type": "array",
"items": {
"$ref": "#/definitions/waE2E.ThreadID"
}
},
"weblinkRenderConfig": {
"$ref": "#/definitions/waE2E.WebLinkRenderConfig"
}
}
},
"waE2E.MessageContextInfo_MessageAddonExpiryType": {
"type": "integer",
"format": "int32",
"enum": [
1,
2
],
"x-enum-varnames": [
"MessageContextInfo_STATIC",
"MessageContextInfo_DEPENDENT_ON_PARENT"
]
},
"waE2E.MessageHistoryBundle": {
"type": "object",
"properties": {
"contextInfo": {
"$ref": "#/definitions/waE2E.ContextInfo"
},
"directPath": {
"type": "string"
},
"fileEncSHA256": {
"type": "array",
"items": {
"type": "integer"
}
},
"fileSHA256": {
"type": "array",
"items": {
"type": "integer"
}
},
"mediaKey": {
"type": "array",
"items": {
"type": "integer"
}
},
"mediaKeyTimestamp": {
"type": "integer"
},
"messageHistoryMetadata": {
"$ref": "#/definitions/waE2E.MessageHistoryMetadata"
},
"mimetype": {
"type": "string"
}
}
},
"waE2E.MessageHistoryMetadata": {
"type": "object",
"properties": {
"historyReceivers": {
"type": "array",
"items": {
"type": "string"
}
},
"messageCount": {
"type": "integer"
},
"nonHistoryReceivers": {
"type": "array",
"items": {
"type": "string"
}
},
"oldestMessageTimestampInBundle": {
"type": "integer"
},
"oldestMessageTimestampInWindow": {
"type": "integer"
}
}
},
"waE2E.MessageHistoryNotice": {
"type": "object",
"properties": {
"contextInfo": {
"$ref": "#/definitions/waE2E.ContextInfo"
},
"messageHistoryMetadata": {
"$ref": "#/definitions/waE2E.MessageHistoryMetadata"
}
}
},
"waE2E.Money": {
"type": "object",
"properties": {
"currencyCode": {
"type": "string"
},
"offset": {
"type": "integer"
},
"value": {
"type": "integer"
}
}
},
"waE2E.NewsletterAdminInviteMessage": {
"type": "object",
"properties": {
"JPEGThumbnail": {
"type": "array",
"items": {
"type": "integer"
}
},
"caption": {
"type": "string"
},
"contextInfo": {
"$ref": "#/definitions/waE2E.ContextInfo"
},
"inviteExpiration": {
"type": "integer"
},
"newsletterJID": {
"type": "string"
},
"newsletterName": {
"type": "string"
}
}
},
"waE2E.NewsletterFollowerInviteMessage": {
"type": "object",
"properties": {
"JPEGThumbnail": {
"type": "array",
"items": {
"type": "integer"
}
},
"caption": {
"type": "string"
},
"contextInfo": {
"$ref": "#/definitions/waE2E.ContextInfo"
},
"newsletterJID": {
"type": "string"
},
"newsletterName": {
"type": "string"
}
}
},
"waE2E.OrderMessage": {
"type": "object",
"properties": {
"catalogType": {
"type": "string"
},
"contextInfo": {
"$ref": "#/definitions/waE2E.ContextInfo"
},
"itemCount": {
"type": "integer"
},
"message": {
"type": "string"
},
"messageVersion": {
"type": "integer"
},
"orderID": {
"type": "string"
},
"orderRequestMessageID": {
"$ref": "#/definitions/waCommon.MessageKey"
},
"orderTitle": {
"type": "string"
},
"sellerJID": {
"type": "string"
},
"status": {
"$ref": "#/definitions/waE2E.OrderMessage_OrderStatus"
},
"surface": {
"$ref": "#/definitions/waE2E.OrderMessage_OrderSurface"
},
"thumbnail": {
"type": "array",
"items": {
"type": "integer"
}
},
"token": {
"type": "string"
},
"totalAmount1000": {
"type": "integer"
},
"totalCurrencyCode": {
"type": "string"
}
}
},
"waE2E.OrderMessage_OrderStatus": {
"type": "integer",
"format": "int32",
"enum": [
1,
2,
3
],
"x-enum-varnames": [
"OrderMessage_INQUIRY",
"OrderMessage_ACCEPTED",
"OrderMessage_DECLINED"
]
},
"waE2E.OrderMessage_OrderSurface": {
"type": "integer",
"format": "int32",
"enum": [
1
],
"x-enum-varnames": [
"OrderMessage_CATALOG"
]
},
"waE2E.PaymentBackground": {
"type": "object",
"properties": {
"ID": {
"type": "string"
},
"fileLength": {
"type": "integer"
},
"height": {
"type": "integer"
},
"mediaData": {
"$ref": "#/definitions/waE2E.PaymentBackground_MediaData"
},
"mimetype": {
"type": "string"
},
"placeholderArgb": {
"type": "integer"
},
"subtextArgb": {
"type": "integer"
},
"textArgb": {
"type": "integer"
},
"type": {
"$ref": "#/definitions/waE2E.PaymentBackground_Type"
},
"width": {
"type": "integer"
}
}
},
"waE2E.PaymentBackground_MediaData": {
"type": "object",
"properties": {
"directPath": {
"type": "string"
},
"fileEncSHA256": {
"type": "array",
"items": {
"type": "integer"
}
},
"fileSHA256": {
"type": "array",
"items": {
"type": "integer"
}
},
"mediaKey": {
"type": "array",
"items": {
"type": "integer"
}
},
"mediaKeyTimestamp": {
"type": "integer"
}
}
},
"waE2E.PaymentBackground_Type": {
"type": "integer",
"format": "int32",
"enum": [
0,
1
],
"x-enum-varnames": [
"PaymentBackground_UNKNOWN",
"PaymentBackground_DEFAULT"
]
},
"waE2E.PaymentExtendedMetadata": {
"type": "object",
"properties": {
"platform": {
"type": "string"
},
"type": {
"type": "integer"
}
}
},
"waE2E.PaymentInviteMessage": {
"type": "object",
"properties": {
"expiryTimestamp": {
"type": "integer"
},
"incentiveEligible": {
"type": "boolean"
},
"inviteType": {
"$ref": "#/definitions/waE2E.PaymentInviteMessage_InviteType"
},
"referralID": {
"type": "string"
},
"serviceType": {
"$ref": "#/definitions/waE2E.PaymentInviteMessage_ServiceType"
}
}
},
"waE2E.PaymentInviteMessage_InviteType": {
"type": "integer",
"format": "int32",
"enum": [
0,
1
],
"x-enum-varnames": [
"PaymentInviteMessage_DEFAULT",
"PaymentInviteMessage_MAPPER"
]
},
"waE2E.PaymentInviteMessage_ServiceType": {
"type": "integer",
"format": "int32",
"enum": [
0,
1,
2,
3
],
"x-enum-varnames": [
"PaymentInviteMessage_UNKNOWN",
"PaymentInviteMessage_FBPAY",
"PaymentInviteMessage_NOVI",
"PaymentInviteMessage_UPI"
]
},
"waE2E.PaymentLinkMetadata": {
"type": "object",
"properties": {
"button": {
"$ref": "#/definitions/waE2E.PaymentLinkMetadata_PaymentLinkButton"
},
"header": {
"$ref": "#/definitions/waE2E.PaymentLinkMetadata_PaymentLinkHeader"
},
"provider": {
"$ref": "#/definitions/waE2E.PaymentLinkMetadata_PaymentLinkProvider"
}
}
},
"waE2E.PaymentLinkMetadata_PaymentLinkButton": {
"type": "object",
"properties": {
"displayText": {
"type": "string"
}
}
},
"waE2E.PaymentLinkMetadata_PaymentLinkHeader": {
"type": "object",
"properties": {
"headerType": {
"$ref": "#/definitions/waE2E.PaymentLinkMetadata_PaymentLinkHeader_PaymentLinkHeaderType"
}
}
},
"waE2E.PaymentLinkMetadata_PaymentLinkHeader_PaymentLinkHeaderType": {
"type": "integer",
"format": "int32",
"enum": [
0,
1
],
"x-enum-varnames": [
"PaymentLinkMetadata_PaymentLinkHeader_LINK_PREVIEW",
"PaymentLinkMetadata_PaymentLinkHeader_ORDER"
]
},
"waE2E.PaymentLinkMetadata_PaymentLinkProvider": {
"type": "object",
"properties": {
"paramsJSON": {
"type": "string"
}
}
},
"waE2E.PaymentReminderMessage": {
"type": "object",
"properties": {
"amount": {
"$ref": "#/definitions/waE2E.Money"
},
"description": {
"type": "string"
},
"frequency": {
"$ref": "#/definitions/waE2E.PaymentReminderMessage_ReminderFrequency"
},
"instanceID": {
"type": "string"
},
"payeeJID": {
"type": "string"
},
"payeeVpa": {
"type": "string"
},
"payerJID": {
"type": "string"
},
"reminderID": {
"type": "string"
},
"status": {
"$ref": "#/definitions/waE2E.PaymentReminderMessage_ReminderStatus"
}
}
},
"waE2E.PaymentReminderMessage_ReminderFrequency": {
"type": "integer",
"format": "int32",
"enum": [
0,
1,
2,
3,
4
],
"x-enum-varnames": [
"PaymentReminderMessage_REMINDER_FREQUENCY_UNKNOWN",
"PaymentReminderMessage_WEEKLY",
"PaymentReminderMessage_BI_WEEKLY",
"PaymentReminderMessage_MONTHLY",
"PaymentReminderMessage_QUARTERLY"
]
},
"waE2E.PaymentReminderMessage_ReminderStatus": {
"type": "integer",
"format": "int32",
"enum": [
0,
1,
2,
3,
4,
5
],
"x-enum-varnames": [
"PaymentReminderMessage_REMINDER_STATUS_UNKNOWN",
"PaymentReminderMessage_ACTIVE",
"PaymentReminderMessage_CANCELLED_BY_CREATOR",
"PaymentReminderMessage_STOPPED_BY_RECEIVER",
"PaymentReminderMessage_EXPIRED",
"PaymentReminderMessage_PAID"
]
},
"waE2E.PeerDataOperationRequestMessage": {
"type": "object",
"properties": {
"bizBroadcastInsightsContactListRequest": {
"$ref": "#/definitions/waE2E.PeerDataOperationRequestMessage_BizBroadcastInsightsContactListRequest"
},
"bizBroadcastInsightsRefreshRequest": {
"$ref": "#/definitions/waE2E.PeerDataOperationRequestMessage_BizBroadcastInsightsRefreshRequest"
},
"companionCanonicalUserNonceFetchRequest": {
"$ref": "#/definitions/waE2E.PeerDataOperationRequestMessage_CompanionCanonicalUserNonceFetchRequest"
},
"fullHistorySyncOnDemandRequest": {
"$ref": "#/definitions/waE2E.PeerDataOperationRequestMessage_FullHistorySyncOnDemandRequest"
},
"galaxyFlowAction": {
"$ref": "#/definitions/waE2E.PeerDataOperationRequestMessage_GalaxyFlowAction"
},
"historySyncChunkRetryRequest": {
"$ref": "#/definitions/waE2E.PeerDataOperationRequestMessage_HistorySyncChunkRetryRequest"
},
"historySyncOnDemandRequest": {
"$ref": "#/definitions/waE2E.PeerDataOperationRequestMessage_HistorySyncOnDemandRequest"
},
"peerDataOperationRequestType": {
"$ref": "#/definitions/waE2E.PeerDataOperationRequestType"
},
"placeholderMessageResendRequest": {
"type": "array",
"items": {
"$ref": "#/definitions/waE2E.PeerDataOperationRequestMessage_PlaceholderMessageResendRequest"
}
},
"requestStickerReupload": {
"type": "array",
"items": {
"$ref": "#/definitions/waE2E.PeerDataOperationRequestMessage_RequestStickerReupload"
}
},
"requestURLPreview": {
"type": "array",
"items": {
"$ref": "#/definitions/waE2E.PeerDataOperationRequestMessage_RequestUrlPreview"
}
},
"syncdCollectionFatalRecoveryRequest": {
"$ref": "#/definitions/waE2E.PeerDataOperationRequestMessage_SyncDCollectionFatalRecoveryRequest"
}
}
},
"waE2E.PeerDataOperationRequestMessage_BizBroadcastInsightsContactListRequest": {
"type": "object",
"properties": {
"campaignID": {
"type": "string"
}
}
},
"waE2E.PeerDataOperationRequestMessage_BizBroadcastInsightsRefreshRequest": {
"type": "object",
"properties": {
"campaignID": {
"type": "string"
}
}
},
"waE2E.PeerDataOperationRequestMessage_CompanionCanonicalUserNonceFetchRequest": {
"type": "object",
"properties": {
"registrationTraceID": {
"type": "string"
}
}
},
"waE2E.PeerDataOperationRequestMessage_FullHistorySyncOnDemandRequest": {
"type": "object",
"properties": {
"fullHistorySyncOnDemandConfig": {
"$ref": "#/definitions/waE2E.FullHistorySyncOnDemandConfig"
},
"historySyncConfig": {
"$ref": "#/definitions/waCompanionReg.DeviceProps_HistorySyncConfig"
},
"requestMetadata": {
"$ref": "#/definitions/waE2E.FullHistorySyncOnDemandRequestMetadata"
}
}
},
"waE2E.PeerDataOperationRequestMessage_GalaxyFlowAction": {
"type": "object",
"properties": {
"agmID": {
"type": "string"
},
"flowID": {
"type": "string"
},
"galaxyFlowDownloadRequestID": {
"type": "string"
},
"stanzaID": {
"type": "string"
},
"type": {
"$ref": "#/definitions/waE2E.PeerDataOperationRequestMessage_GalaxyFlowAction_GalaxyFlowActionType"
}
}
},
"waE2E.PeerDataOperationRequestMessage_GalaxyFlowAction_GalaxyFlowActionType": {
"type": "integer",
"format": "int32",
"enum": [
1,
2
],
"x-enum-varnames": [
"PeerDataOperationRequestMessage_GalaxyFlowAction_NOTIFY_LAUNCH",
"PeerDataOperationRequestMessage_GalaxyFlowAction_DOWNLOAD_RESPONSES"
]
},
"waE2E.PeerDataOperationRequestMessage_HistorySyncChunkRetryRequest": {
"type": "object",
"properties": {
"chunkNotificationID": {
"type": "string"
},
"chunkOrder": {
"type": "integer"
},
"regenerateChunk": {
"type": "boolean"
},
"syncType": {
"$ref": "#/definitions/waE2E.HistorySyncType"
}
}
},
"waE2E.PeerDataOperationRequestMessage_HistorySyncOnDemandRequest": {
"type": "object",
"properties": {
"accountLid": {
"type": "string"
},
"chatJID": {
"type": "string"
},
"oldestMsgFromMe": {
"type": "boolean"
},
"oldestMsgID": {
"type": "string"
},
"oldestMsgTimestampMS": {
"type": "integer"
},
"onDemandMsgCount": {
"type": "integer"
},
"supportInlineResponse": {
"type": "boolean"
}
}
},
"waE2E.PeerDataOperationRequestMessage_PlaceholderMessageResendRequest": {
"type": "object",
"properties": {
"messageKey": {
"$ref": "#/definitions/waCommon.MessageKey"
}
}
},
"waE2E.PeerDataOperationRequestMessage_RequestStickerReupload": {
"type": "object",
"properties": {
"fileSHA256": {
"type": "string"
}
}
},
"waE2E.PeerDataOperationRequestMessage_RequestUrlPreview": {
"type": "object",
"properties": {
"URL": {
"type": "string"
},
"includeHqThumbnail": {
"type": "boolean"
}
}
},
"waE2E.PeerDataOperationRequestMessage_SyncDCollectionFatalRecoveryRequest": {
"type": "object",
"properties": {
"collectionName": {
"type": "string"
},
"timestamp": {
"type": "integer"
}
}
},
"waE2E.PeerDataOperationRequestResponseMessage": {
"type": "object",
"properties": {
"peerDataOperationRequestType": {
"$ref": "#/definitions/waE2E.PeerDataOperationRequestType"
},
"peerDataOperationResult": {
"type": "array",
"items": {
"$ref": "#/definitions/waE2E.PeerDataOperationRequestResponseMessage_PeerDataOperationResult"
}
},
"stanzaID": {
"type": "string"
}
}
},
"waE2E.PeerDataOperationRequestResponseMessage_PeerDataOperationResult": {
"type": "object",
"properties": {
"bizBroadcastInsightsContactListResponse": {
"$ref": "#/definitions/waE2E.PeerDataOperationRequestResponseMessage_PeerDataOperationResult_BizBroadcastInsightsContactListResponse"
},
"companionCanonicalUserNonceFetchRequestResponse": {
"$ref": "#/definitions/waE2E.PeerDataOperationRequestResponseMessage_PeerDataOperationResult_CompanionCanonicalUserNonceFetchResponse"
},
"companionMetaNonceFetchRequestResponse": {
"$ref": "#/definitions/waE2E.PeerDataOperationRequestResponseMessage_PeerDataOperationResult_CompanionMetaNonceFetchResponse"
},
"flowResponsesCsvBundle": {
"$ref": "#/definitions/waE2E.PeerDataOperationRequestResponseMessage_PeerDataOperationResult_FlowResponsesCsvBundle"
},
"fullHistorySyncOnDemandRequestResponse": {
"$ref": "#/definitions/waE2E.PeerDataOperationRequestResponseMessage_PeerDataOperationResult_FullHistorySyncOnDemandRequestResponse"
},
"historySyncChunkRetryResponse": {
"$ref": "#/definitions/waE2E.PeerDataOperationRequestResponseMessage_PeerDataOperationResult_HistorySyncChunkRetryResponse"
},
"linkPreviewResponse": {
"$ref": "#/definitions/waE2E.PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse"
},
"mediaUploadResult": {
"$ref": "#/definitions/waMmsRetry.MediaRetryNotification_ResultType"
},
"placeholderMessageResendResponse": {
"$ref": "#/definitions/waE2E.PeerDataOperationRequestResponseMessage_PeerDataOperationResult_PlaceholderMessageResendResponse"
},
"stickerMessage": {
"$ref": "#/definitions/waE2E.StickerMessage"
},
"syncdSnapshotFatalRecoveryResponse": {
"$ref": "#/definitions/waE2E.PeerDataOperationRequestResponseMessage_PeerDataOperationResult_SyncDSnapshotFatalRecoveryResponse"
},
"waffleNonceFetchRequestResponse": {
"$ref": "#/definitions/waE2E.PeerDataOperationRequestResponseMessage_PeerDataOperationResult_WaffleNonceFetchResponse"
}
}
},
"waE2E.PeerDataOperationRequestResponseMessage_PeerDataOperationResult_BizBroadcastInsightsContactListResponse": {
"type": "object",
"properties": {
"campaignID": {
"type": "string"
},
"contacts": {
"type": "array",
"items": {
"$ref": "#/definitions/waE2E.PeerDataOperationRequestResponseMessage_PeerDataOperationResult_BizBroadcastInsightsContactState"
}
},
"timestampMS": {
"type": "integer"
}
}
},
"waE2E.PeerDataOperationRequestResponseMessage_PeerDataOperationResult_BizBroadcastInsightsContactState": {
"type": "object",
"properties": {
"contactJID": {
"type": "string"
},
"state": {
"$ref": "#/definitions/waE2E.InsightDeliveryState"
}
}
},
"waE2E.PeerDataOperationRequestResponseMessage_PeerDataOperationResult_CompanionCanonicalUserNonceFetchResponse": {
"type": "object",
"properties": {
"forceRefresh": {
"type": "boolean"
},
"nonce": {
"type": "string"
},
"waFbid": {
"type": "string"
}
}
},
"waE2E.PeerDataOperationRequestResponseMessage_PeerDataOperationResult_CompanionMetaNonceFetchResponse": {
"type": "object",
"properties": {
"nonce": {
"type": "string"
}
}
},
"waE2E.PeerDataOperationRequestResponseMessage_PeerDataOperationResult_FlowResponsesCsvBundle": {
"type": "object",
"properties": {
"directPath": {
"type": "string"
},
"fileEncSHA256": {
"type": "array",
"items": {
"type": "integer"
}
},
"fileLength": {
"type": "integer"
},
"fileName": {
"type": "string"
},
"fileSHA256": {
"type": "array",
"items": {
"type": "integer"
}
},
"flowID": {
"type": "string"
},
"galaxyFlowDownloadRequestID": {
"type": "string"
},
"mediaKey": {
"type": "array",
"items": {
"type": "integer"
}
},
"mediaKeyTimestamp": {
"type": "integer"
},
"mimetype": {
"type": "string"
}
}
},
"waE2E.PeerDataOperationRequestResponseMessage_PeerDataOperationResult_FullHistorySyncOnDemandRequestResponse": {
"type": "object",
"properties": {
"requestMetadata": {
"$ref": "#/definitions/waE2E.FullHistorySyncOnDemandRequestMetadata"
},
"responseCode": {
"$ref": "#/definitions/waE2E.PeerDataOperationRequestResponseMessage_PeerDataOperationResult_FullHistorySyncOnDemandResponseCode"
}
}
},
"waE2E.PeerDataOperationRequestResponseMessage_PeerDataOperationResult_FullHistorySyncOnDemandResponseCode": {
"type": "integer",
"format": "int32",
"enum": [
0,
1,
2,
3,
4,
5,
6,
7
],
"x-enum-varnames": [
"PeerDataOperationRequestResponseMessage_PeerDataOperationResult_REQUEST_SUCCESS",
"PeerDataOperationRequestResponseMessage_PeerDataOperationResult_REQUEST_TIME_EXPIRED",
"PeerDataOperationRequestResponseMessage_PeerDataOperationResult_DECLINED_SHARING_HISTORY",
"PeerDataOperationRequestResponseMessage_PeerDataOperationResult_GENERIC_ERROR",
"PeerDataOperationRequestResponseMessage_PeerDataOperationResult_ERROR_REQUEST_ON_NON_SMB_PRIMARY",
"PeerDataOperationRequestResponseMessage_PeerDataOperationResult_ERROR_HOSTED_DEVICE_NOT_CONNECTED",
"PeerDataOperationRequestResponseMessage_PeerDataOperationResult_ERROR_HOSTED_DEVICE_LOGIN_TIME_NOT_SET",
"PeerDataOperationRequestResponseMessage_PeerDataOperationResult_ERROR_MULTI_PROVIDER_NOT_CONFIGURED"
]
},
"waE2E.PeerDataOperationRequestResponseMessage_PeerDataOperationResult_HistorySyncChunkRetryResponse": {
"type": "object",
"properties": {
"canRecover": {
"type": "boolean"
},
"chunkOrder": {
"type": "integer"
},
"requestID": {
"type": "string"
},
"responseCode": {
"$ref": "#/definitions/waE2E.PeerDataOperationRequestResponseMessage_PeerDataOperationResult_HistorySyncChunkRetryResponseCode"
},
"syncType": {
"$ref": "#/definitions/waE2E.HistorySyncType"
}
}
},
"waE2E.PeerDataOperationRequestResponseMessage_PeerDataOperationResult_HistorySyncChunkRetryResponseCode": {
"type": "integer",
"format": "int32",
"enum": [
1,
2,
3,
4,
5,
6
],
"x-enum-varnames": [
"PeerDataOperationRequestResponseMessage_PeerDataOperationResult_GENERATION_ERROR",
"PeerDataOperationRequestResponseMessage_PeerDataOperationResult_CHUNK_CONSUMED",
"PeerDataOperationRequestResponseMessage_PeerDataOperationResult_TIMEOUT",
"PeerDataOperationRequestResponseMessage_PeerDataOperationResult_SESSION_EXHAUSTED",
"PeerDataOperationRequestResponseMessage_PeerDataOperationResult_CHUNK_EXHAUSTED",
"PeerDataOperationRequestResponseMessage_PeerDataOperationResult_DUPLICATED_REQUEST"
]
},
"waE2E.PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse": {
"type": "object",
"properties": {
"URL": {
"type": "string"
},
"description": {
"type": "string"
},
"hqThumbnail": {
"$ref": "#/definitions/waE2E.PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse_LinkPreviewHighQualityThumbnail"
},
"matchText": {
"type": "string"
},
"previewMetadata": {
"$ref": "#/definitions/waE2E.PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse_PaymentLinkPreviewMetadata"
},
"previewType": {
"type": "string"
},
"thumbData": {
"type": "array",
"items": {
"type": "integer"
}
},
"title": {
"type": "string"
}
}
},
"waE2E.PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse_LinkPreviewHighQualityThumbnail": {
"type": "object",
"properties": {
"directPath": {
"type": "string"
},
"encThumbHash": {
"type": "string"
},
"mediaKey": {
"type": "array",
"items": {
"type": "integer"
}
},
"mediaKeyTimestampMS": {
"type": "integer"
},
"thumbHash": {
"type": "string"
},
"thumbHeight": {
"type": "integer"
},
"thumbWidth": {
"type": "integer"
}
}
},
"waE2E.PeerDataOperationRequestResponseMessage_PeerDataOperationResult_LinkPreviewResponse_PaymentLinkPreviewMetadata": {
"type": "object",
"properties": {
"amount": {
"type": "string"
},
"currency": {
"type": "string"
},
"isBusinessVerified": {
"type": "boolean"
},
"offset": {
"type": "string"
},
"providerName": {
"type": "string"
}
}
},
"waE2E.PeerDataOperationRequestResponseMessage_PeerDataOperationResult_PlaceholderMessageResendResponse": {
"type": "object",
"properties": {
"webMessageInfoBytes": {
"type": "array",
"items": {
"type": "integer"
}
}
}
},
"waE2E.PeerDataOperationRequestResponseMessage_PeerDataOperationResult_SyncDSnapshotFatalRecoveryResponse": {
"type": "object",
"properties": {
"collectionSnapshot": {
"type": "array",
"items": {
"type": "integer"
}
},
"isCompressed": {
"type": "boolean"
}
}
},
"waE2E.PeerDataOperationRequestResponseMessage_PeerDataOperationResult_WaffleNonceFetchResponse": {
"type": "object",
"properties": {
"nonce": {
"type": "string"
},
"waEntFbid": {
"type": "string"
}
}
},
"waE2E.PeerDataOperationRequestType": {
"type": "integer",
"format": "int32",
"enum": [
0,
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
13
],
"x-enum-varnames": [
"PeerDataOperationRequestType_UPLOAD_STICKER",
"PeerDataOperationRequestType_SEND_RECENT_STICKER_BOOTSTRAP",
"PeerDataOperationRequestType_GENERATE_LINK_PREVIEW",
"PeerDataOperationRequestType_HISTORY_SYNC_ON_DEMAND",
"PeerDataOperationRequestType_PLACEHOLDER_MESSAGE_RESEND",
"PeerDataOperationRequestType_WAFFLE_LINKING_NONCE_FETCH",
"PeerDataOperationRequestType_FULL_HISTORY_SYNC_ON_DEMAND",
"PeerDataOperationRequestType_COMPANION_META_NONCE_FETCH",
"PeerDataOperationRequestType_COMPANION_SYNCD_SNAPSHOT_FATAL_RECOVERY",
"PeerDataOperationRequestType_COMPANION_CANONICAL_USER_NONCE_FETCH",
"PeerDataOperationRequestType_HISTORY_SYNC_CHUNK_RETRY",
"PeerDataOperationRequestType_GALAXY_FLOW_ACTION",
"PeerDataOperationRequestType_BUSINESS_BROADCAST_INSIGHTS_DELIVERED_TO",
"PeerDataOperationRequestType_BUSINESS_BROADCAST_INSIGHTS_REFRESH"
]
},
"waE2E.PinInChatMessage": {
"type": "object",
"properties": {
"key": {
"$ref": "#/definitions/waCommon.MessageKey"
},
"senderTimestampMS": {
"type": "integer"
},
"type": {
"$ref": "#/definitions/waE2E.PinInChatMessage_Type"
}
}
},
"waE2E.PinInChatMessage_Type": {
"type": "integer",
"format": "int32",
"enum": [
0,
1,
2
],
"x-enum-varnames": [
"PinInChatMessage_UNKNOWN_TYPE",
"PinInChatMessage_PIN_FOR_ALL",
"PinInChatMessage_UNPIN_FOR_ALL"
]
},
"waE2E.PlaceholderMessage": {
"type": "object",
"properties": {
"type": {
"$ref": "#/definitions/waE2E.PlaceholderMessage_PlaceholderType"
}
}
},
"waE2E.PlaceholderMessage_PlaceholderType": {
"type": "integer",
"format": "int32",
"enum": [
0
],
"x-enum-varnames": [
"PlaceholderMessage_MASK_LINKED_DEVICES"
]
},
"waE2E.Point": {
"type": "object",
"properties": {
"x": {
"type": "number"
},
"xDeprecated": {
"type": "integer"
},
"y": {
"type": "number"
},
"yDeprecated": {
"type": "integer"
}
}
},
"waE2E.PollAddOptionMessage": {
"type": "object",
"properties": {
"addOption": {
"$ref": "#/definitions/waE2E.PollCreationMessage_Option"
},
"metadata": {
"$ref": "#/definitions/waE2E.PollUpdateMessageMetadata"
},
"pollCreationMessageKey": {
"$ref": "#/definitions/waCommon.MessageKey"
}
}
},
"waE2E.PollContentType": {
"type": "integer",
"format": "int32",
"enum": [
0,
1,
2
],
"x-enum-varnames": [
"PollContentType_UNKNOWN_POLL_CONTENT_TYPE",
"PollContentType_TEXT",
"PollContentType_IMAGE"
]
},
"waE2E.PollCreationMessage": {
"type": "object",
"properties": {
"allowAddOption": {
"type": "boolean"
},
"contextInfo": {
"$ref": "#/definitions/waE2E.ContextInfo"
},
"correctAnswer": {
"$ref": "#/definitions/waE2E.PollCreationMessage_Option"
},
"encKey": {
"type": "array",
"items": {
"type": "integer"
}
},
"endTime": {
"type": "integer"
},
"hideParticipantName": {
"type": "boolean"
},
"name": {
"type": "string"
},
"options": {
"type": "array",
"items": {
"$ref": "#/definitions/waE2E.PollCreationMessage_Option"
}
},
"pollContentType": {
"$ref": "#/definitions/waE2E.PollContentType"
},
"pollType": {
"$ref": "#/definitions/waE2E.PollType"
},
"selectableOptionsCount": {
"type": "integer"
}
}
},
"waE2E.PollCreationMessage_Option": {
"type": "object",
"properties": {
"optionHash": {
"type": "string"
},
"optionName": {
"type": "string"
}
}
},
"waE2E.PollEncValue": {
"type": "object",
"properties": {
"encIV": {
"type": "array",
"items": {
"type": "integer"
}
},
"encPayload": {
"type": "array",
"items": {
"type": "integer"
}
}
}
},
"waE2E.PollResultSnapshotMessage": {
"type": "object",
"properties": {
"contextInfo": {
"$ref": "#/definitions/waE2E.ContextInfo"
},
"name": {
"type": "string"
},
"pollType": {
"$ref": "#/definitions/waE2E.PollType"
},
"pollVotes": {
"type": "array",
"items": {
"$ref": "#/definitions/waE2E.PollResultSnapshotMessage_PollVote"
}
}
}
},
"waE2E.PollResultSnapshotMessage_PollVote": {
"type": "object",
"properties": {
"optionName": {
"type": "string"
},
"optionVoteCount": {
"type": "integer"
}
}
},
"waE2E.PollType": {
"type": "integer",
"format": "int32",
"enum": [
0,
1
],
"x-enum-varnames": [
"PollType_POLL",
"PollType_QUIZ"
]
},
"waE2E.PollUpdateMessage": {
"type": "object",
"properties": {
"metadata": {
"$ref": "#/definitions/waE2E.PollUpdateMessageMetadata"
},
"pollCreationMessageKey": {
"$ref": "#/definitions/waCommon.MessageKey"
},
"senderTimestampMS": {
"type": "integer"
},
"vote": {
"$ref": "#/definitions/waE2E.PollEncValue"
}
}
},
"waE2E.PollUpdateMessageMetadata": {
"type": "object",
"properties": {
"lastEditStanzaID": {
"type": "string"
},
"pollNameHash": {
"type": "array",
"items": {
"type": "integer"
}
}
}
},
"waE2E.ProcessedVideo": {
"type": "object",
"properties": {
"bitrate": {
"type": "integer"
},
"capabilities": {
"type": "array",
"items": {
"type": "string"
}
},
"directPath": {
"type": "string"
},
"fileLength": {
"type": "integer"
},
"fileSHA256": {
"type": "array",
"items": {
"type": "integer"
}
},
"height": {
"type": "integer"
},
"quality": {
"$ref": "#/definitions/waE2E.ProcessedVideo_VideoQuality"
},
"width": {
"type": "integer"
}
}
},
"waE2E.ProcessedVideo_VideoQuality": {
"type": "integer",
"format": "int32",
"enum": [
0,
1,
2,
3
],
"x-enum-varnames": [
"ProcessedVideo_UNDEFINED",
"ProcessedVideo_LOW",
"ProcessedVideo_MID",
"ProcessedVideo_HIGH"
]
},
"waE2E.ProductMessage": {
"type": "object",
"properties": {
"body": {
"type": "string"
},
"businessOwnerJID": {
"type": "string"
},
"catalog": {
"$ref": "#/definitions/waE2E.ProductMessage_CatalogSnapshot"
},
"contextInfo": {
"$ref": "#/definitions/waE2E.ContextInfo"
},
"footer": {
"type": "string"
},
"product": {
"$ref": "#/definitions/waE2E.ProductMessage_ProductSnapshot"
}
}
},
"waE2E.ProductMessage_CatalogSnapshot": {
"type": "object",
"properties": {
"catalogImage": {
"$ref": "#/definitions/waE2E.ImageMessage"
},
"description": {
"type": "string"
},
"title": {
"type": "string"
}
}
},
"waE2E.ProductMessage_ProductSnapshot": {
"type": "object",
"properties": {
"URL": {
"type": "string"
},
"currencyCode": {
"type": "string"
},
"description": {
"type": "string"
},
"firstImageID": {
"type": "string"
},
"priceAmount1000": {
"type": "integer"
},
"productID": {
"type": "string"
},
"productImage": {
"$ref": "#/definitions/waE2E.ImageMessage"
},
"productImageCount": {
"type": "integer"
},
"retailerID": {
"type": "string"
},
"salePriceAmount1000": {
"type": "integer"
},
"signedURL": {
"type": "string"
},
"title": {
"type": "string"
}
}
},
"waE2E.ProtocolMessage": {
"type": "object",
"properties": {
"afterReadDuration": {
"type": "integer"
},
"aiMediaCollectionMessage": {
"$ref": "#/definitions/waAICommon.AIMediaCollectionMessage"
},
"aiMetadataOperation": {
"$ref": "#/definitions/waAICommon.AIMetadataOperation"
},
"aiPsiMetadata": {
"type": "array",
"items": {
"type": "integer"
}
},
"aiQueryFanout": {
"$ref": "#/definitions/waE2E.AIQueryFanout"
},
"appStateFatalExceptionNotification": {
"$ref": "#/definitions/waE2E.AppStateFatalExceptionNotification"
},
"appStateSyncKeyRequest": {
"$ref": "#/definitions/waE2E.AppStateSyncKeyRequest"
},
"appStateSyncKeyShare": {
"$ref": "#/definitions/waE2E.AppStateSyncKeyShare"
},
"botFeedbackMessage": {
"$ref": "#/definitions/waAICommon.BotFeedbackMessage"
},
"chatThemeSetting": {
"$ref": "#/definitions/waE2E.ChatThemeSetting"
},
"cloudApiThreadControlNotification": {
"$ref": "#/definitions/waE2E.CloudAPIThreadControlNotification"
},
"disappearingMode": {
"$ref": "#/definitions/waE2E.DisappearingMode"
},
"editedMessage": {
"$ref": "#/definitions/waE2E.Message"
},
"ephemeralExpiration": {
"type": "integer"
},
"ephemeralSettingTimestamp": {
"type": "integer"
},
"historySyncNotification": {
"$ref": "#/definitions/waE2E.HistorySyncNotification"
},
"initialSecurityNotificationSettingSync": {
"$ref": "#/definitions/waE2E.InitialSecurityNotificationSettingSync"
},
"invokerJID": {
"type": "string"
},
"key": {
"$ref": "#/definitions/waCommon.MessageKey"
},
"lidMigrationMappingSyncMessage": {
"$ref": "#/definitions/waE2E.LIDMigrationMappingSyncMessage"
},
"limitSharing": {
"$ref": "#/definitions/waCommon.LimitSharing"
},
"mediaNotifyMessage": {
"$ref": "#/definitions/waE2E.MediaNotifyMessage"
},
"memberLabel": {
"$ref": "#/definitions/waE2E.MemberLabel"
},
"peerDataOperationRequestMessage": {
"$ref": "#/definitions/waE2E.PeerDataOperationRequestMessage"
},
"peerDataOperationRequestResponseMessage": {
"$ref": "#/definitions/waE2E.PeerDataOperationRequestResponseMessage"
},
"requestWelcomeMessageMetadata": {
"$ref": "#/definitions/waE2E.RequestWelcomeMessageMetadata"
},
"timestampMS": {
"type": "integer"
},
"type": {
"$ref": "#/definitions/waE2E.ProtocolMessage_Type"
}
}
},
"waE2E.ProtocolMessage_Type": {
"type": "integer",
"format": "int32",
"enum": [
0,
3,
4,
5,
6,
7,
8,
9,
10,
11,
14,
16,
17,
18,
19,
20,
21,
22,
23,
24,
25,
26,
27,
28,
29,
30,
31,
32,
34,
35
],
"x-enum-varnames": [
"ProtocolMessage_REVOKE",
"ProtocolMessage_EPHEMERAL_SETTING",
"ProtocolMessage_EPHEMERAL_SYNC_RESPONSE",
"ProtocolMessage_HISTORY_SYNC_NOTIFICATION",
"ProtocolMessage_APP_STATE_SYNC_KEY_SHARE",
"ProtocolMessage_APP_STATE_SYNC_KEY_REQUEST",
"ProtocolMessage_MSG_FANOUT_BACKFILL_REQUEST",
"ProtocolMessage_INITIAL_SECURITY_NOTIFICATION_SETTING_SYNC",
"ProtocolMessage_APP_STATE_FATAL_EXCEPTION_NOTIFICATION",
"ProtocolMessage_SHARE_PHONE_NUMBER",
"ProtocolMessage_MESSAGE_EDIT",
"ProtocolMessage_PEER_DATA_OPERATION_REQUEST_MESSAGE",
"ProtocolMessage_PEER_DATA_OPERATION_REQUEST_RESPONSE_MESSAGE",
"ProtocolMessage_REQUEST_WELCOME_MESSAGE",
"ProtocolMessage_BOT_FEEDBACK_MESSAGE",
"ProtocolMessage_MEDIA_NOTIFY_MESSAGE",
"ProtocolMessage_CLOUD_API_THREAD_CONTROL_NOTIFICATION",
"ProtocolMessage_LID_MIGRATION_MAPPING_SYNC",
"ProtocolMessage_REMINDER_MESSAGE",
"ProtocolMessage_BOT_MEMU_ONBOARDING_MESSAGE",
"ProtocolMessage_STATUS_MENTION_MESSAGE",
"ProtocolMessage_STOP_GENERATION_MESSAGE",
"ProtocolMessage_LIMIT_SHARING",
"ProtocolMessage_AI_PSI_METADATA",
"ProtocolMessage_AI_QUERY_FANOUT",
"ProtocolMessage_GROUP_MEMBER_LABEL_CHANGE",
"ProtocolMessage_AI_MEDIA_COLLECTION_MESSAGE",
"ProtocolMessage_MESSAGE_UNSCHEDULE",
"ProtocolMessage_CHAT_THEME_SETTING",
"ProtocolMessage_AI_METADATA_OPERATION"
]
},
"waE2E.QuestionResponseMessage": {
"type": "object",
"properties": {
"key": {
"$ref": "#/definitions/waCommon.MessageKey"
},
"text": {
"type": "string"
}
}
},
"waE2E.ReactionMessage": {
"type": "object",
"properties": {
"groupingKey": {
"type": "string"
},
"key": {
"$ref": "#/definitions/waCommon.MessageKey"
},
"senderTimestampMS": {
"type": "integer"
},
"text": {
"type": "string"
}
}
},
"waE2E.RequestPaymentMessage": {
"type": "object",
"properties": {
"amount": {
"$ref": "#/definitions/waE2E.Money"
},
"amount1000": {
"type": "integer"
},
"background": {
"$ref": "#/definitions/waE2E.PaymentBackground"
},
"currencyCodeIso4217": {
"type": "string"
},
"expiryTimestamp": {
"type": "integer"
},
"noteMessage": {
"$ref": "#/definitions/waE2E.Message"
},
"requestFrom": {
"type": "string"
}
}
},
"waE2E.RequestPhoneNumberMessage": {
"type": "object",
"properties": {
"contextInfo": {
"$ref": "#/definitions/waE2E.ContextInfo"
}
}
},
"waE2E.RequestWelcomeMessageMetadata": {
"type": "object",
"properties": {
"botAgentMetadata": {
"$ref": "#/definitions/waAICommon.BotAgentMetadata"
},
"localChatState": {
"$ref": "#/definitions/waE2E.RequestWelcomeMessageMetadata_LocalChatState"
},
"welcomeTrigger": {
"$ref": "#/definitions/waE2E.RequestWelcomeMessageMetadata_WelcomeTrigger"
}
}
},
"waE2E.RequestWelcomeMessageMetadata_LocalChatState": {
"type": "integer",
"format": "int32",
"enum": [
0,
1
],
"x-enum-varnames": [
"RequestWelcomeMessageMetadata_EMPTY",
"RequestWelcomeMessageMetadata_NON_EMPTY"
]
},
"waE2E.RequestWelcomeMessageMetadata_WelcomeTrigger": {
"type": "integer",
"format": "int32",
"enum": [
0,
1
],
"x-enum-varnames": [
"RequestWelcomeMessageMetadata_CHAT_OPEN",
"RequestWelcomeMessageMetadata_COMPANION_PAIRING"
]
},
"waE2E.RootSecretDistributeMessage": {
"type": "object",
"properties": {
"chatJID": {
"type": "string"
}
}
},
"waE2E.ScheduledCallCreationMessage": {
"type": "object",
"properties": {
"callType": {
"$ref": "#/definitions/waE2E.ScheduledCallCreationMessage_CallType"
},
"scheduledTimestampMS": {
"type": "integer"
},
"title": {
"type": "string"
}
}
},
"waE2E.ScheduledCallCreationMessage_CallType": {
"type": "integer",
"format": "int32",
"enum": [
0,
1,
2
],
"x-enum-varnames": [
"ScheduledCallCreationMessage_UNKNOWN",
"ScheduledCallCreationMessage_VOICE",
"ScheduledCallCreationMessage_VIDEO"
]
},
"waE2E.ScheduledCallEditMessage": {
"type": "object",
"properties": {
"editType": {
"$ref": "#/definitions/waE2E.ScheduledCallEditMessage_EditType"
},
"key": {
"$ref": "#/definitions/waCommon.MessageKey"
}
}
},
"waE2E.ScheduledCallEditMessage_EditType": {
"type": "integer",
"format": "int32",
"enum": [
0,
1
],
"x-enum-varnames": [
"ScheduledCallEditMessage_UNKNOWN",
"ScheduledCallEditMessage_CANCEL"
]
},
"waE2E.SecretEncryptedMessage": {
"type": "object",
"properties": {
"encIV": {
"type": "array",
"items": {
"type": "integer"
}
},
"encPayload": {
"type": "array",
"items": {
"type": "integer"
}
},
"remoteKeyID": {
"type": "string"
},
"secretEncType": {
"$ref": "#/definitions/waE2E.SecretEncryptedMessage_SecretEncType"
},
"targetMessageKey": {
"$ref": "#/definitions/waCommon.MessageKey"
}
}
},
"waE2E.SecretEncryptedMessage_SecretEncType": {
"type": "integer",
"format": "int32",
"enum": [
0,
1,
2,
3,
4,
5
],
"x-enum-varnames": [
"SecretEncryptedMessage_UNKNOWN",
"SecretEncryptedMessage_EVENT_EDIT",
"SecretEncryptedMessage_MESSAGE_EDIT",
"SecretEncryptedMessage_MESSAGE_SCHEDULE",
"SecretEncryptedMessage_POLL_EDIT",
"SecretEncryptedMessage_POLL_ADD_OPTION"
]
},
"waE2E.SendPaymentMessage": {
"type": "object",
"properties": {
"background": {
"$ref": "#/definitions/waE2E.PaymentBackground"
},
"noteMessage": {
"$ref": "#/definitions/waE2E.Message"
},
"requestMessageKey": {
"$ref": "#/definitions/waCommon.MessageKey"
},
"transactionData": {
"type": "string"
}
}
},
"waE2E.SenderKeyDistributionMessage": {
"type": "object",
"properties": {
"axolotlSenderKeyDistributionMessage": {
"type": "array",
"items": {
"type": "integer"
}
},
"groupID": {
"type": "string"
}
}
},
"waE2E.SplitPaymentMessage": {
"type": "object",
"properties": {
"contextInfo": {
"$ref": "#/definitions/waE2E.ContextInfo"
},
"createdAtMS": {
"type": "integer"
},
"description": {
"type": "string"
},
"participants": {
"type": "array",
"items": {
"$ref": "#/definitions/waE2E.SplitPaymentParticipant"
}
},
"requesterJID": {
"type": "string"
},
"splitID": {
"type": "string"
},
"totalAmount": {
"$ref": "#/definitions/waE2E.Money"
}
}
},
"waE2E.SplitPaymentParticipant": {
"type": "object",
"properties": {
"JID": {
"type": "string"
},
"amount": {
"$ref": "#/definitions/waE2E.Money"
},
"status": {
"$ref": "#/definitions/waE2E.SplitPaymentParticipant_SplitPaymentStatus"
}
}
},
"waE2E.SplitPaymentParticipant_SplitPaymentStatus": {
"type": "integer",
"format": "int32",
"enum": [
0,
1
],
"x-enum-varnames": [
"SplitPaymentParticipant_PENDING",
"SplitPaymentParticipant_PAID"
]
},
"waE2E.StatusNotificationMessage": {
"type": "object",
"properties": {
"originalMessageKey": {
"$ref": "#/definitions/waCommon.MessageKey"
},
"responseMessageKey": {
"$ref": "#/definitions/waCommon.MessageKey"
},
"type": {
"$ref": "#/definitions/waE2E.StatusNotificationMessage_StatusNotificationType"
}
}
},
"waE2E.StatusNotificationMessage_StatusNotificationType": {
"type": "integer",
"format": "int32",
"enum": [
0,
1,
2,
3
],
"x-enum-varnames": [
"StatusNotificationMessage_UNKNOWN",
"StatusNotificationMessage_STATUS_ADD_YOURS",
"StatusNotificationMessage_STATUS_RESHARE",
"StatusNotificationMessage_STATUS_QUESTION_ANSWER_RESHARE"
]
},
"waE2E.StatusQuestionAnswerMessage": {
"type": "object",
"properties": {
"key": {
"$ref": "#/definitions/waCommon.MessageKey"
},
"text": {
"type": "string"
}
}
},
"waE2E.StatusQuotedMessage": {
"type": "object",
"properties": {
"originalStatusID": {
"$ref": "#/definitions/waCommon.MessageKey"
},
"text": {
"type": "string"
},
"thumbnail": {
"type": "array",
"items": {
"type": "integer"
}
},
"type": {
"$ref": "#/definitions/waE2E.StatusQuotedMessage_StatusQuotedMessageType"
}
}
},
"waE2E.StatusQuotedMessage_StatusQuotedMessageType": {
"type": "integer",
"format": "int32",
"enum": [
1
],
"x-enum-varnames": [
"StatusQuotedMessage_QUESTION_ANSWER"
]
},
"waE2E.StatusStickerInteractionMessage": {
"type": "object",
"properties": {
"key": {
"$ref": "#/definitions/waCommon.MessageKey"
},
"stickerKey": {
"type": "string"
},
"type": {
"$ref": "#/definitions/waE2E.StatusStickerInteractionMessage_StatusStickerType"
}
}
},
"waE2E.StatusStickerInteractionMessage_StatusStickerType": {
"type": "integer",
"format": "int32",
"enum": [
0,
1
],
"x-enum-varnames": [
"StatusStickerInteractionMessage_UNKNOWN",
"StatusStickerInteractionMessage_REACTION"
]
},
"waE2E.StickerMessage": {
"type": "object",
"properties": {
"URL": {
"type": "string"
},
"accessibilityLabel": {
"type": "string"
},
"contextInfo": {
"$ref": "#/definitions/waE2E.ContextInfo"
},
"directPath": {
"type": "string"
},
"emojis": {
"type": "string"
},
"fileEncSHA256": {
"type": "array",
"items": {
"type": "integer"
}
},
"fileLength": {
"type": "integer"
},
"fileSHA256": {
"type": "array",
"items": {
"type": "integer"
}
},
"firstFrameLength": {
"type": "integer"
},
"firstFrameSidecar": {
"type": "array",
"items": {
"type": "integer"
}
},
"height": {
"type": "integer"
},
"isAiSticker": {
"type": "boolean"
},
"isAnimated": {
"type": "boolean"
},
"isAvatar": {
"type": "boolean"
},
"isLottie": {
"type": "boolean"
},
"mediaKey": {
"type": "array",
"items": {
"type": "integer"
}
},
"mediaKeyTimestamp": {
"type": "integer"
},
"mimetype": {
"type": "string"
},
"pngThumbnail": {
"type": "array",
"items": {
"type": "integer"
}
},
"premium": {
"type": "integer"
},
"stickerSentTS": {
"type": "integer"
},
"width": {
"type": "integer"
}
}
},
"waE2E.StickerPackMessage": {
"type": "object",
"properties": {
"caption": {
"type": "string"
},
"contextInfo": {
"$ref": "#/definitions/waE2E.ContextInfo"
},
"directPath": {
"type": "string"
},
"fileEncSHA256": {
"type": "array",
"items": {
"type": "integer"
}
},
"fileLength": {
"type": "integer"
},
"fileSHA256": {
"type": "array",
"items": {
"type": "integer"
}
},
"imageDataHash": {
"type": "string"
},
"mediaKey": {
"type": "array",
"items": {
"type": "integer"
}
},
"mediaKeyTimestamp": {
"type": "integer"
},
"name": {
"type": "string"
},
"packDescription": {
"type": "string"
},
"publisher": {
"type": "string"
},
"stickerPackID": {
"type": "string"
},
"stickerPackOrigin": {
"$ref": "#/definitions/waE2E.StickerPackMessage_StickerPackOrigin"
},
"stickerPackSize": {
"type": "integer"
},
"stickers": {
"type": "array",
"items": {
"$ref": "#/definitions/waE2E.StickerPackMessage_Sticker"
}
},
"thumbnailDirectPath": {
"type": "string"
},
"thumbnailEncSHA256": {
"type": "array",
"items": {
"type": "integer"
}
},
"thumbnailHeight": {
"type": "integer"
},
"thumbnailSHA256": {
"type": "array",
"items": {
"type": "integer"
}
},
"thumbnailWidth": {
"type": "integer"
},
"trayIconFileName": {
"type": "string"
}
}
},
"waE2E.StickerPackMessage_Sticker": {
"type": "object",
"properties": {
"accessibilityLabel": {
"type": "string"
},
"emojis": {
"type": "array",
"items": {
"type": "string"
}
},
"fileName": {
"type": "string"
},
"isAnimated": {
"type": "boolean"
},
"isLottie": {
"type": "boolean"
},
"mimetype": {
"type": "string"
},
"premium": {
"type": "integer"
}
}
},
"waE2E.StickerPackMessage_StickerPackOrigin": {
"type": "integer",
"format": "int32",
"enum": [
0,
1,
2
],
"x-enum-varnames": [
"StickerPackMessage_FIRST_PARTY",
"StickerPackMessage_THIRD_PARTY",
"StickerPackMessage_USER_CREATED"
]
},
"waE2E.StickerSyncRMRMessage": {
"type": "object",
"properties": {
"filehash": {
"type": "array",
"items": {
"type": "string"
}
},
"requestTimestamp": {
"type": "integer"
},
"rmrSource": {
"type": "string"
}
}
},
"waE2E.TemplateButtonReplyMessage": {
"type": "object",
"properties": {
"contextInfo": {
"$ref": "#/definitions/waE2E.ContextInfo"
},
"selectedCarouselCardIndex": {
"type": "integer"
},
"selectedDisplayText": {
"type": "string"
},
"selectedID": {
"type": "string"
},
"selectedIndex": {
"type": "integer"
}
}
},
"waE2E.TemplateMessage": {
"type": "object",
"properties": {
"contextInfo": {
"$ref": "#/definitions/waE2E.ContextInfo"
},
"format": {
"description": "Types that are valid to be assigned to Format:\n\n\t*TemplateMessage_FourRowTemplate_\n\t*TemplateMessage_HydratedFourRowTemplate_\n\t*TemplateMessage_InteractiveMessageTemplate"
},
"hydratedTemplate": {
"$ref": "#/definitions/waE2E.TemplateMessage_HydratedFourRowTemplate"
},
"templateID": {
"type": "string"
}
}
},
"waE2E.TemplateMessage_HydratedFourRowTemplate": {
"type": "object",
"properties": {
"hydratedButtons": {
"type": "array",
"items": {
"$ref": "#/definitions/waE2E.HydratedTemplateButton"
}
},
"hydratedContentText": {
"type": "string"
},
"hydratedFooterText": {
"type": "string"
},
"maskLinkedDevices": {
"type": "boolean"
},
"templateID": {
"type": "string"
},
"title": {
"description": "Types that are valid to be assigned to Title:\n\n\t*TemplateMessage_HydratedFourRowTemplate_DocumentMessage\n\t*TemplateMessage_HydratedFourRowTemplate_HydratedTitleText\n\t*TemplateMessage_HydratedFourRowTemplate_ImageMessage\n\t*TemplateMessage_HydratedFourRowTemplate_VideoMessage\n\t*TemplateMessage_HydratedFourRowTemplate_LocationMessage"
}
}
},
"waE2E.ThreadID": {
"type": "object",
"properties": {
"threadKey": {
"$ref": "#/definitions/waCommon.MessageKey"
},
"threadType": {
"$ref": "#/definitions/waE2E.ThreadID_ThreadType"
}
}
},
"waE2E.ThreadID_ThreadType": {
"type": "integer",
"format": "int32",
"enum": [
0,
1,
2
],
"x-enum-varnames": [
"ThreadID_UNKNOWN",
"ThreadID_VIEW_REPLIES",
"ThreadID_AI_THREAD"
]
},
"waE2E.URLMetadata": {
"type": "object",
"properties": {
"fbExperimentID": {
"type": "integer"
}
}
},
"waE2E.UrlTrackingMap": {
"type": "object",
"properties": {
"urlTrackingMapElements": {
"type": "array",
"items": {
"$ref": "#/definitions/waE2E.UrlTrackingMap_UrlTrackingMapElement"
}
}
}
},
"waE2E.UrlTrackingMap_UrlTrackingMapElement": {
"type": "object",
"properties": {
"cardIndex": {
"type": "integer"
},
"consentedUsersURL": {
"type": "string"
},
"originalURL": {
"type": "string"
},
"unconsentedUsersURL": {
"type": "string"
}
}
},
"waE2E.VideoEndCard": {
"type": "object",
"properties": {
"caption": {
"type": "string"
},
"profilePictureURL": {
"type": "string"
},
"thumbnailImageURL": {
"type": "string"
},
"username": {
"type": "string"
}
}
},
"waE2E.VideoMessage": {
"type": "object",
"properties": {
"JPEGThumbnail": {
"type": "array",
"items": {
"type": "integer"
}
},
"URL": {
"type": "string"
},
"accessibilityLabel": {
"type": "string"
},
"annotations": {
"type": "array",
"items": {
"$ref": "#/definitions/waE2E.InteractiveAnnotation"
}
},
"caption": {
"type": "string"
},
"contextInfo": {
"$ref": "#/definitions/waE2E.ContextInfo"
},
"directPath": {
"type": "string"
},
"externalShareFullVideoDurationInSeconds": {
"type": "integer"
},
"fileEncSHA256": {
"type": "array",
"items": {
"type": "integer"
}
},
"fileLength": {
"type": "integer"
},
"fileSHA256": {
"type": "array",
"items": {
"type": "integer"
}
},
"gifAttribution": {
"$ref": "#/definitions/waE2E.VideoMessage_Attribution"
},
"gifPlayback": {
"type": "boolean"
},
"height": {
"type": "integer"
},
"interactiveAnnotations": {
"type": "array",
"items": {
"$ref": "#/definitions/waE2E.InteractiveAnnotation"
}
},
"mediaKey": {
"type": "array",
"items": {
"type": "integer"
}
},
"mediaKeyTimestamp": {
"type": "integer"
},
"metadataURL": {
"type": "string"
},
"mimetype": {
"type": "string"
},
"motionPhotoPresentationOffsetMS": {
"type": "integer"
},
"processedVideos": {
"type": "array",
"items": {
"$ref": "#/definitions/waE2E.ProcessedVideo"
}
},
"seconds": {
"type": "integer"
},
"staticURL": {
"type": "string"
},
"streamingSidecar": {
"type": "array",
"items": {
"type": "integer"
}
},
"thumbnailDirectPath": {
"type": "string"
},
"thumbnailEncSHA256": {
"type": "array",
"items": {
"type": "integer"
}
},
"thumbnailSHA256": {
"type": "array",
"items": {
"type": "integer"
}
},
"videoSourceType": {
"$ref": "#/definitions/waE2E.VideoMessage_VideoSourceType"
},
"viewOnce": {
"type": "boolean"
},
"width": {
"type": "integer"
}
}
},
"waE2E.VideoMessage_Attribution": {
"type": "integer",
"format": "int32",
"enum": [
0,
1,
2,
3
],
"x-enum-varnames": [
"VideoMessage_NONE",
"VideoMessage_GIPHY",
"VideoMessage_TENOR",
"VideoMessage_KLIPY"
]
},
"waE2E.VideoMessage_VideoSourceType": {
"type": "integer",
"format": "int32",
"enum": [
0,
1
],
"x-enum-varnames": [
"VideoMessage_USER_VIDEO",
"VideoMessage_AI_GENERATED"
]
},
"waE2E.WebLinkRenderConfig": {
"type": "integer",
"format": "int32",
"enum": [
0,
1
],
"x-enum-varnames": [
"WebLinkRenderConfig_WEBVIEW",
"WebLinkRenderConfig_SYSTEM"
]
},
"waMmsRetry.MediaRetryNotification_ResultType": {
"type": "integer",
"format": "int32",
"enum": [
0,
1,
2,
3
],
"x-enum-varnames": [
"MediaRetryNotification_GENERAL_ERROR",
"MediaRetryNotification_SUCCESS",
"MediaRetryNotification_NOT_FOUND",
"MediaRetryNotification_DECRYPTION_ERROR"
]
},
"waStatusAttributions.StatusAttribution": {
"type": "object",
"properties": {
"actionURL": {
"type": "string"
},
"attributionData": {
"description": "Types that are valid to be assigned to AttributionData:\n\n\t*StatusAttribution_StatusReshare_\n\t*StatusAttribution_ExternalShare_\n\t*StatusAttribution_Music_\n\t*StatusAttribution_GroupStatus_\n\t*StatusAttribution_RlAttribution\n\t*StatusAttribution_AiCreatedAttribution_"
},
"type": {
"$ref": "#/definitions/waStatusAttributions.StatusAttribution_Type"
}
}
},
"waStatusAttributions.StatusAttribution_Type": {
"type": "integer",
"format": "int32",
"enum": [
0,
1,
2,
3,
4,
5,
6,
7,
8,
9,
10
],
"x-enum-varnames": [
"StatusAttribution_UNKNOWN",
"StatusAttribution_RESHARE",
"StatusAttribution_EXTERNAL_SHARE",
"StatusAttribution_MUSIC",
"StatusAttribution_STATUS_MENTION",
"StatusAttribution_GROUP_STATUS",
"StatusAttribution_RL_ATTRIBUTION",
"StatusAttribution_AI_CREATED",
"StatusAttribution_LAYOUTS",
"StatusAttribution_NEWSLETTER_STATUS",
"StatusAttribution_STATUS_CLOSE_SHARING"
]
},
"waVnameCert.LocalizedName": {
"type": "object",
"properties": {
"lc": {
"type": "string"
},
"lg": {
"type": "string"
},
"verifiedName": {
"type": "string"
}
}
},
"waVnameCert.VerifiedNameCertificate": {
"type": "object",
"properties": {
"details": {
"type": "array",
"items": {
"type": "integer"
}
},
"serverSignature": {
"type": "array",
"items": {
"type": "integer"
}
},
"signature": {
"type": "array",
"items": {
"type": "integer"
}
}
}
},
"waVnameCert.VerifiedNameCertificate_Details": {
"type": "object",
"properties": {
"issueTime": {
"type": "integer"
},
"issuer": {
"type": "string"
},
"localizedNames": {
"type": "array",
"items": {
"$ref": "#/definitions/waVnameCert.LocalizedName"
}
},
"serial": {
"type": "integer"
},
"verifiedName": {
"type": "string"
}
}
},
"whatsmeow.ParticipantChange": {
"type": "string",
"enum": [
"add",
"remove",
"promote",
"demote"
],
"x-enum-varnames": [
"ParticipantChangeAdd",
"ParticipantChangeRemove",
"ParticipantChangePromote",
"ParticipantChangeDemote"
]
}
}
}`
// SwaggerInfo holds exported Swagger Info so clients can modify it
var SwaggerInfo = &swag.Spec{
Version: "1.0",
Host: "",
BasePath: "",
Schemes: []string{},
Title: "AgentDeck Whatsapp Service",
Description: "AgentDeck Whatsapp Service - whatsmeow",
InfoInstanceName: "swagger",
SwaggerTemplate: docTemplate,
LeftDelim: "{{",
RightDelim: "}}",
}
func init() {
swag.Register(SwaggerInfo.InstanceName(), SwaggerInfo)
}