diff --git a/src/api/layers/sender.layer.ts b/src/api/layers/sender.layer.ts index fb072c749..ac3f28a13 100644 --- a/src/api/layers/sender.layer.ts +++ b/src/api/layers/sender.layer.ts @@ -569,7 +569,10 @@ export class SenderLayer extends ListenerLayer { * * @example * ```javascript - * // Simple message + * // File message from a path + * client.sendFile('@c.us', './someFile.txt'); + * // Simple message from base64 + * * client.sendFile('@c.us', 'data:text/plain;base64,V1BQQ29ubmVjdA=='); * * // With buttons