You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: twilio/rest/api/v2010/account/message/__init__.py
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -63,7 +63,7 @@ class UpdateStatus(object):
63
63
:ivar body: The message text. Can be up to 1,600 characters long.
64
64
:ivar num_segments: The number of segments that make up the complete message. A message body that is too large to be sent in a single SMS message is segmented and charged as multiple messages. Inbound messages over 160 characters are reassembled when the message is received. Note: When using a Messaging Service to send messages, `num_segments` will always be 0 in Twilio's response to your API request.
65
65
:ivar direction:
66
-
:ivar _from: The phone number (in [E.164](https://en.wikipedia.org/wiki/E.164) format), [alphanumeric sender ID](https://www.twilio.com/docs/sms/send-messages#use-an-alphanumeric-sender-id), or [Wireless SIM](https://www.twilio.com/docs/wireless/tutorials/communications-guides/how-to-send-and-receive-text-messages) that initiated the message. For incoming messages, this will be the number of the sending phone. For outgoing messages, this value will be one of your Twilio phone numbers or the alphanumeric sender ID used.
66
+
:ivar from_: The phone number (in [E.164](https://en.wikipedia.org/wiki/E.164) format), [alphanumeric sender ID](https://www.twilio.com/docs/sms/send-messages#use-an-alphanumeric-sender-id), or [Wireless SIM](https://www.twilio.com/docs/wireless/tutorials/communications-guides/how-to-send-and-receive-text-messages) that initiated the message. For incoming messages, this will be the number of the sending phone. For outgoing messages, this value will be one of your Twilio phone numbers or the alphanumeric sender ID used.
67
67
:ivar to: The phone number in [E.164](https://en.wikipedia.org/wiki/E.164) format that received the message. For incoming messages, this will be one of your Twilio phone numbers. For outgoing messages, this will be the sending phone.
68
68
:ivar date_updated: The date and time in GMT that the resource was last updated specified in [RFC 2822](https://www.ietf.org/rfc/rfc2822.txt) format.
69
69
:ivar price: The amount billed for the message, in the currency specified by `price_unit`. Note that your account is charged for each segment we send to the handset. Populated after the message has been sent. May not be immediately available.
The results are returned as a generator, so this operation is memory efficient.
684
681
685
-
:param str start_date: Start date or time in ISO8601 format for filtering list of Conversations. If a date is provided, the start time of the date is used (YYYY-MM-DDT00:00:00Z). Can be combined with other filters.
686
-
:param str end_date: End date or time in ISO8601 format for filtering list of Conversations. If a date is provided, the end time of the date is used (YYYY-MM-DDT23:59:59Z). Can be combined with other filters.
687
-
:param "ConversationInstance.State" state: State for sorting and filtering list of Conversations. Can be `active`, `inactive` or `closed`
688
682
:param limit: Upper limit for the number of records to return. stream()
689
683
guarantees to never return more than limit. Default is no limit
690
684
:param page_size: Number of records to fetch per request, when not set will use
@@ -695,20 +689,12 @@ def stream(
695
689
:returns: Generator that will yield up to limit results
The results are returned as a generator, so this operation is memory efficient.
720
706
721
-
:param str start_date: Start date or time in ISO8601 format for filtering list of Conversations. If a date is provided, the start time of the date is used (YYYY-MM-DDT00:00:00Z). Can be combined with other filters.
722
-
:param str end_date: End date or time in ISO8601 format for filtering list of Conversations. If a date is provided, the end time of the date is used (YYYY-MM-DDT23:59:59Z). Can be combined with other filters.
723
-
:param "ConversationInstance.State" state: State for sorting and filtering list of Conversations. Can be `active`, `inactive` or `closed`
724
707
:param limit: Upper limit for the number of records to return. stream()
725
708
guarantees to never return more than limit. Default is no limit
726
709
:param page_size: Number of records to fetch per request, when not set will use
@@ -731,20 +714,12 @@ async def stream_async(
731
714
:returns: Generator that will yield up to limit results
Unlike stream(), this operation is eager and will load `limit` records into
754
729
memory before returning.
755
730
756
-
:param str start_date: Start date or time in ISO8601 format for filtering list of Conversations. If a date is provided, the start time of the date is used (YYYY-MM-DDT00:00:00Z). Can be combined with other filters.
757
-
:param str end_date: End date or time in ISO8601 format for filtering list of Conversations. If a date is provided, the end time of the date is used (YYYY-MM-DDT23:59:59Z). Can be combined with other filters.
758
-
:param "ConversationInstance.State" state: State for sorting and filtering list of Conversations. Can be `active`, `inactive` or `closed`
759
731
:param limit: Upper limit for the number of records to return. list() guarantees
760
732
never to return more than limit. Default is no limit
761
733
:param page_size: Number of records to fetch per request, when not set will use
Unlike stream(), this operation is eager and will load `limit` records into
789
755
memory before returning.
790
756
791
-
:param str start_date: Start date or time in ISO8601 format for filtering list of Conversations. If a date is provided, the start time of the date is used (YYYY-MM-DDT00:00:00Z). Can be combined with other filters.
792
-
:param str end_date: End date or time in ISO8601 format for filtering list of Conversations. If a date is provided, the end time of the date is used (YYYY-MM-DDT23:59:59Z). Can be combined with other filters.
793
-
:param "ConversationInstance.State" state: State for sorting and filtering list of Conversations. Can be `active`, `inactive` or `closed`
794
757
:param limit: Upper limit for the number of records to return. list() guarantees
795
758
never to return more than limit. Default is no limit
796
759
:param page_size: Number of records to fetch per request, when not set will use
Retrieve a single page of ConversationInstance records from the API.
825
782
Request is executed immediately
826
783
827
-
:param start_date: Start date or time in ISO8601 format for filtering list of Conversations. If a date is provided, the start time of the date is used (YYYY-MM-DDT00:00:00Z). Can be combined with other filters.
828
-
:param end_date: End date or time in ISO8601 format for filtering list of Conversations. If a date is provided, the end time of the date is used (YYYY-MM-DDT23:59:59Z). Can be combined with other filters.
829
-
:param state: State for sorting and filtering list of Conversations. Can be `active`, `inactive` or `closed`
830
784
:param page_token: PageToken provided by the API
831
785
:param page_number: Page Number, this value is simply for client state
832
786
:param page_size: Number of records to return, defaults to 50
Asynchronously retrieve a single page of ConversationInstance records from the API.
861
809
Request is executed immediately
862
810
863
-
:param start_date: Start date or time in ISO8601 format for filtering list of Conversations. If a date is provided, the start time of the date is used (YYYY-MM-DDT00:00:00Z). Can be combined with other filters.
864
-
:param end_date: End date or time in ISO8601 format for filtering list of Conversations. If a date is provided, the end time of the date is used (YYYY-MM-DDT23:59:59Z). Can be combined with other filters.
865
-
:param state: State for sorting and filtering list of Conversations. Can be `active`, `inactive` or `closed`
866
811
:param page_token: PageToken provided by the API
867
812
:param page_number: Page Number, this value is simply for client state
868
813
:param page_size: Number of records to return, defaults to 50
0 commit comments