# Mensagens

Para o WhatsApp tanto os contatos como os grupos são tratados como "chats", então na hora do envio os dos são tratados como iguais. Ou seja os mesmos métodos que voce vai utilizar para enviar para conversas privadas você vai utilizar para enviar também para grupos.\
\
O que vai diferenciar se o envio é para uma conversa privada ou para um grupo é que para grupos você vai enviar o id do grupo dessa forma "<mark style="color:green;">**<120363029431518951@g.us>**</mark>", e para conversas privadas você vai usar o número do contato dessa forma "<mark style="color:green;">**<5579999999999@s.whatsapp.net>**</mark>".


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.astraapi.com/integrando/mensagens.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
