async def schedule_messages(self, schedule_time, *messages):
for message in messages:<EOL><INDENT>if not self.session_id and not message.properties.group_id:<EOL><INDENT>raise ValueError("<STR_LIT>")<EOL><DEDENT><DEDENT>return await super(SessionSender, self).schedule(schedule_time, *messages)<EOL>
Send one or more messages to be enqueued at a specific time.

        Returns a list of the sequence numbers of the enqueued messages.
        If neither the Sender nor the message has a session ID, a `ValueError` will be raised.

        :param schedule_time: The date and time to enqueue the messages.
        :type schedule_time: ~datetime.datetime
        :param messages: The messages to schedule.
        :type messages: ~azure.servicebus.aio.async_message.Message
        :rtype: list[int]

        Example:
            .. literalinclude:: ../examples/async_examples/test_examples_async.py
                :start-after: [START schedule_session_messages]
                :end-before: [END schedule_session_messages]
                :language: python
                :dedent: 4
                :caption: Schedule messages.