<document source="index.md">
    <section ids="test" names="test">
        <title>
            Test
        <field_list classes="myst field-list">
            <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 function" desctype="function" domain="py" no-contents-entry="False" no-index="False" no-index-entry="False" no-typesetting="False" nocontentsentry="False" noindex="False" noindexentry="False" objtype="function">
            <desc_signature _toc_name="send_message()" _toc_parts="('send_message',)" class="" classes="sig sig-object" fullname="send_message" ids="send_message" module="True">
                <desc_name classes="sig-name descname" xml:space="preserve">
                    send_message
                <desc_parameterlist multi_line_parameter_list="False" multi_line_trailing_comma="True" 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-list">
                    <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
