File tree Expand file tree Collapse file tree 4 files changed +5
-7
lines changed Expand file tree Collapse file tree 4 files changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ language: python
3
3
python :
4
4
# - "2.7"
5
5
# - "3.2"
6
- - " 3.3"
6
+ # - "3.3"
7
7
- " 3.4"
8
8
- " 3.5"
9
9
# - "3.5-dev" # 3.5 development branch
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ Name | Type | Description | Notes
5
5
------------ | ------------- | ------------- | -------------
6
6
** sender** | ** str** | Name of the sender. Only alphanumeric characters. No more than 11 characters |
7
7
** recipient** | ** str** | Mobile number to send SMS with the country code |
8
- ** content** | ** str** | Content of the message. If more than 160 characters long, multiple text messages will be sent |
8
+ ** content** | ** str** | Content of the message. If more than 160 characters long, will be sent as multiple text messages |
9
9
** type** | ** str** | Type of the SMS | [ optional] [ default to 'transactional']
10
10
** tag** | ** str** | Tag of the message | [ optional]
11
11
** web_url** | ** str** | Webhook to call for each event triggered by the message (delivered etc.) | [ optional]
Original file line number Diff line number Diff line change 15
15
from setuptools import setup , find_packages
16
16
17
17
NAME = "sib-api-v3-sdk"
18
- VERSION = "4.0.0 "
18
+ VERSION = "4.0.1 "
19
19
# To install the library, run the following
20
20
#
21
21
# python setup.py install
Original file line number Diff line number Diff line change @@ -125,7 +125,7 @@ def recipient(self, recipient):
125
125
def content (self ):
126
126
"""Gets the content of this SendTransacSms. # noqa: E501
127
127
128
- Content of the message. If more than 160 characters long, multiple text messages will be sent # noqa: E501
128
+ Content of the message. If more than 160 characters long, will be sent as multiple text messages # noqa: E501
129
129
130
130
:return: The content of this SendTransacSms. # noqa: E501
131
131
:rtype: str
@@ -136,15 +136,13 @@ def content(self):
136
136
def content (self , content ):
137
137
"""Sets the content of this SendTransacSms.
138
138
139
- Content of the message. If more than 160 characters long, multiple text messages will be sent # noqa: E501
139
+ Content of the message. If more than 160 characters long, will be sent as multiple text messages # noqa: E501
140
140
141
141
:param content: The content of this SendTransacSms. # noqa: E501
142
142
:type: str
143
143
"""
144
144
if content is None :
145
145
raise ValueError ("Invalid value for `content`, must not be `None`" ) # noqa: E501
146
- if content is not None and len (content ) > 160 :
147
- raise ValueError ("Invalid value for `content`, length must be less than or equal to `160`" ) # noqa: E501
148
146
149
147
self ._content = content
150
148
You can’t perform that action at this time.
0 commit comments