Skip to content

Commit

Permalink
[core] Add note for Brazilian phone number
Browse files Browse the repository at this point in the history
  • Loading branch information
allburov committed Dec 2, 2023
1 parent 741e5e8 commit aa87e43
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/site/content/en/docs/how-to/send-messages/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,10 @@ Read more about [multiple sessions →]({{< relref "/docs/how-to/sessions" >}})
For phone number `12132132131` the `chatId` is `[email protected]`.
- **Groups** use random number with `@g.us` at the end.

> To get the actual `chatId` for **Brazilian phone number** - use `chatId` field from
> [Check phone number exists ->]({{< relref "/docs/how-to/contacts#check-phone-number-exists" >}})
> response.
### file
When sending media (images, voice, files) you can either use:
- `file.data` field [with base64 encoded file](https://base64.guru/converter/encode/file)
Expand Down

0 comments on commit aa87e43

Please sign in to comment.