changedInput schema / properties / account_id / description
Previous value: -"Registry account id (default, work, …). Omit to resolve from chat_id or message_id, or the default account."New value: +"Account id"
removedInput schema / properties / action / description
Removed value: -"Group action to perform"
changedInput schema / properties / action / enum
Previous value: -[
- "add",
- "remove",
- "promote",
- "demote",
- "leave",
- "set_subject",
- "set_description",
- "set_picture",
- "remove_picture",
- "get_invite_link",
- "revoke_invite_link",
- "list_join_requests",
- "approve_join_requests",
- "reject_join_requests",
- "set_announcement_only",
- "set_info_locked",
- "set_add_mode",
- "set_join_approval",
- "set_disappearing"
-]New value: +[
+ "create",
+ "join",
+ "add",
+ "remove",
+ "promote",
+ "demote",
+ "leave",
+ "set_subject",
+ "set_description",
+ "set_picture",
+ "remove_picture",
+ "get_invite_link",
+ "revoke_invite_link",
+ "list_join_requests",
+ "approve_join_requests",
+ "reject_join_requests",
+ "set_announcement_only",
+ "set_info_locked",
+ "set_add_mode",
+ "set_join_approval",
+ "set_disappearing"
+]
addedInput schema / properties / confirm
Added value: +{
+ "default": false,
+ "description": "join: true joins, after the user said yes to the preview",
+ "type": "boolean"
+}
changedInput schema / properties / file_path / description
Previous value: -"set_picture: absolute path of a local JPEG, PNG or WebP"New value: +"set_picture: local JPEG, PNG or WebP"
changedInput schema / properties / group_id / description
Previous value: -"Group chat id (\"<id>@g.us\")"New value: +"\"<id>@g.us\"; every action but create and join"
addedInput schema / properties / invite
Added value: +{
+ "description": "join: a chat.whatsapp.com link or its code",
+ "maxLength": 512,
+ "minLength": 1,
+ "type": "string"
+}
addedInput schema / properties / message_id
Added value: +{
+ "description": "join: an invite message instead",
+ "minLength": 5,
+ "type": "string"
+}
changedInput schema / properties / participant_ids / description
Previous value: -"Targets of add/remove/promote/demote/approve_join_requests/reject_join_requests"New value: +"create, add, remove, promote, demote, approve or reject"
changedInput schema / properties / url / description
Previous value: -"set_picture: public http(s) URL to fetch and use as the photo"New value: +"set_picture: public image URL"
changedInput schema / properties / value / description
Previous value: -"New subject or description; \"on\"/\"off\" for set_announcement_only, set_info_locked, set_join_approval; \"admins\"/\"all\" for set_add_mode; \"off\"/\"24h\"/\"7d\"/\"90d\" for set_disappearing"New value: +"The name (create, set_subject) or description; \"on\"/\"off\"; set_add_mode \"admins\"/\"all\"; set_disappearing \"off\"/\"24h\"/\"7d\"/\"90d\""
changedInput schema / required
Previous value: -[
- "group_id",
- "action"
-]New value: +[
+ "action"
+]
changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "$schema": "http://json-schema.org/draft-07/schema#",
+ "additionalProperties": false,
+ "properties": {
+ "account_id": {
+ "type": "string"
+ },
+ "action": {
+ "type": "string"
+ },
+ "applied": {
+ "type": "string"
+ },
+ "description": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "group_id": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "invite_link": {
+ "type": "string"
+ },
+ "join_approval": {
+ "type": [
+ "boolean",
+ "null"
+ ]
+ },
+ "join_requests": {
+ "items": {
+ "additionalProperties": true,
+ "properties": {},
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "next": {
+ "description": "join preview: the step after the user's yes",
+ "type": "string"
+ },
+ "participant_count": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "participants": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "reason": {
+ "type": "string"
+ },
+ "status": {
+ "enum": [
+ "ok",
+ "invite_needed",
+ "failed"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "status"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "profile_pic_url": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "status": {
+ "description": "join: preview joins nothing",
+ "enum": [
+ "preview",
+ "joined",
+ "pending_approval"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "action",
+ "group_id",
+ "account_id"
+ ],
+ "type": "object"
+}