platypush/plugins/gotify/__init__.py
def send_message(self, message: str, title: Optional[str] = None, priority: int = 0, extras: Optional[dict] = None):
        """
        Send a message to the server.

        :param message: Message body (Markdown is supported).
        :param title: Message title.
        :param priority: Message priority (default: 0).
        :param extras: Extra JSON payload to be passed on the message.
        :return: .. schema:: gotify.GotifyMessageSchema
        """
        return GotifyMessageSchema().dump(
            self._execute('post', 'message', json={
                'message': message,
                'title': title,
                'priority': priority,
                'extras': extras or {},
            })
        )

        Send a message to the server.

        :param message: Message body (Markdown is supported).
        :param title: Message title.
        :param priority: Message priority (default: 0).
        :param extras: Extra JSON payload to be passed on the message.
        :return: .. schema:: gotify.GotifyMessageSchema
        
Send a message to the server.
Send a message to the server .
def send_message(self, message: str, title: Optional[str] = None, priority: int = 0, extras: Optional[dict] = None):
        return GotifyMessageSchema().dump(
            self._execute('post', 'message', json={
                'message': message,
                'title': title,
                'priority': priority,
                'extras': extras or {},
            })
        )
def send_message ( self , message : str , title : Optional [ str ] = None , priority : int = 0 , extras : Optional [ dict ] = None ) : return GotifyMessageSchema ( ) . dump ( self . _execute ( 'post' , 'message' , json = { 'message' : message , 'title' : title , 'priority' : priority , 'extras' : extras or { } , } ) )
Send a message to the server.
Send a message to the server .
"""
        Send a message to the server.

        :param message: Message body (Markdown is supported).
        :param title: Message title.
        :param priority: Message priority (default: 0).
        :param extras: Extra JSON payload to be passed on the message.
        :return: .. schema:: gotify.GotifyMessageSchema
        """
None
self
message
str
Message body (Markdown is supported).
Message body ( Markdown is supported ) .
title
Optional[str]
None
priority
int
Message priority (default: 0).
Message priority ( default : 0 ) .
extras
Optional[dict]
Extra JSON payload to be passed on the message.
Extra JSON payload to be passed on the message .