Ajuda API da MediaWiki

This is an auto-generated MediaWiki API documentation page.

Documentation and examples: https://www.mediawiki.org/wiki/API

action=chatsendpm

(main | chatsendpm)
  • This module requires read rights.
  • This module only accepts POST requests.

Send a private message to a user

Parâmetros:
message

The message to send

Este parâmetro é obrigatório.
id

The user ID to send a PM to

Este parâmetro é obrigatório.
Exemplo:
Send "Hello World!" to user with ID 5
api.php?api.php?action=chatsendpm&id=5&message=Hello%20World!