Skip to content
This repository has been archived by the owner on Nov 1, 2024. It is now read-only.

Latest commit

 

History

History
14 lines (11 loc) · 416 Bytes

messages.md

File metadata and controls

14 lines (11 loc) · 416 Bytes

Methods defined here:

__init__(self, host, secret, endpoint='/plugins/restapi/v1/messages/users')
    :param host: Scheme://Host/ for API requests
    :param secret: Shared secret key for API requests
    :param endpoint: Endpoint for API requests

send_broadcast(self, message)
    Send a broadcast/server message to all online users
    
    :param message: Message to be send