def create(self, from_=None, **kwargs):
if "<STR_LIT>" in kwargs and kwargs["<STR_LIT>"]:<EOL><INDENT>response, instance = self.request("<STR_LIT:POST>", self.uri, data=kwargs)<EOL>return instance<EOL><DEDENT>if from_:<EOL><INDENT>kwargs["<STR_LIT>"] = from_<EOL><DEDENT>return self.create_instance(kwargs)<EOL>
Create and send a new outbound message.
Returns :class:`Message` object contains next attributes: 'id', 'href', 'type',
'sessionId', 'bulkId', 'messageId', 'scheduledId'.

:Example:

message = client.messages.create(from_="447624800500", phones="999000001", text="Hello!", lists="1909100")

:param str text:         Message text. Required if templateId is not set.
:param str templateId:   Template used instead of message text. Required if text is not set.
:param str sendingTime:  Message sending time in unix timestamp format. Default is now.
                         Optional (required with rrule set).
:param str contacts:     Contacts ids, separated by comma, message will be sent to.
:param str lists:        Lists ids, separated by comma, message will be sent to.
:param str phones:       Phone numbers, separated by comma, message will be sent to.
:param int cutExtra:     Should sending method cut extra characters
                         which not fit supplied partsCount or return 400 Bad request response instead.
                         Default is false.
:param int partsCount:   Maximum message parts count (TextMagic allows sending 1 to 6 message parts).
                         Default is 6.
:param str referenceId:  Custom message reference id which can be used in your application infrastructure.
:param str from_:        One of allowed Sender ID (phone number or alphanumeric sender ID).
:param str rrule:        iCal RRULE parameter to create recurrent scheduled messages.
                         When used, sendingTime is mandatory as start point of sending.
:param int dummy:        If 1, just return message pricing. Message will not send.