Press Ticket icon

Press Ticket

Interage com a API do Press Ticket®

Grupos WhatsApp → Promover a Admin

AI-generated

Overview

This node operation promotes participants to administrators in a WhatsApp group using the Press Ticket API. It is useful for managing group roles programmatically, such as elevating trusted members to admin status to help moderate the group.

Use Case Examples

  1. Promote specific participants to admin in a WhatsApp group by providing the group ID and participant numbers.
  2. Automate group role management by promoting new admins when certain conditions are met.

Properties

Name Meaning
ID do Grupo The unique identifier of the WhatsApp group where participants will be promoted to admin.
Participantes Comma-separated list of participant phone numbers to be promoted to admin in the group.

Output

JSON

  • participants - List of participants promoted to admin.
  • groupId - ID of the WhatsApp group where promotion occurred.
  • success - Indicates if the promotion operation was successful.

Dependencies

  • Press Ticket API with an API token credential

Troubleshooting

  • Ensure the group ID is correct and the API token has permissions to modify group roles.
  • Verify that the participant numbers are correctly formatted and belong to the group.
  • Common errors include authorization failures or invalid group/participant IDs, which require checking API credentials and input values.

Discussion