<document source="index.md">
    <section ids="test" names="test">
        <title>
            Test
        <field_list classes="myst">
            <field>
                <field_name>
                    field
                <field_body>
            <field>
                <field_name>
                    <emphasis>
                        field
                <field_body>
                    <paragraph>
                        content
        <index entries="('pair',\ 'built-in\ function;\ send_message()',\ 'send_message',\ '',\ None)">
        <desc classes="py" desctype="function" domain="py" noindex="False" objtype="function">
            <desc_signature class="" fullname="send_message" ids="send_message" module="True">
                <desc_name xml:space="preserve">
                    send_message
                <desc_parameterlist xml:space="preserve">
                    <desc_parameter xml:space="preserve">
                        <desc_sig_name classes="n">
                            sender
                    <desc_parameter xml:space="preserve">
                        <desc_sig_name classes="n">
                            priority
            <desc_content>
                <paragraph>
                    Send a message to a recipient
                <field_list classes="myst">
                    <field>
                        <field_name>
                            Parameters
                        <field_body>
                            <bullet_list>
                                <list_item>
                                    <paragraph>
                                        <literal_strong>
                                            sender
                                         (
                                        <pending_xref py:class="True" py:module="True" refdomain="py" refexplicit="False" refspecific="True" reftarget="str" reftype="class">
                                            <literal_emphasis>
                                                str
                                        )
                                         – 
                                        The person sending the message
                                <list_item>
                                    <paragraph>
                                        <literal_strong>
                                            priority
                                         (
                                        <pending_xref py:class="True" py:module="True" refdomain="py" refexplicit="False" refspecific="True" reftarget="int" reftype="class">
                                            <literal_emphasis>
                                                int
                                        )
                                         – 
                                        The priority of the message, can be a number 1-5
                    <field>
                        <field_name>
                            Returns
                        <field_body>
                            <paragraph>
                                the message id
                    <field>
                        <field_name>
                            Return type
                        <field_body>
                            <paragraph>
                                <pending_xref py:class="True" py:module="True" refdomain="py" refexplicit="False" refspecific="True" reftarget="int" reftype="class">
                                    int
                    <field>
                        <field_name>
                            Raises
                        <field_body>
                            <paragraph>
                                <pending_xref py:class="True" py:module="True" refdomain="py" refexplicit="False" refspecific="True" reftarget="ValueError" reftype="exc">
                                    <literal_strong>
                                        ValueError
                                 – 
                                if the message_body exceeds 160 characters
