-
Notifications
You must be signed in to change notification settings - Fork 65
add support for create MMS #34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
@@ -110,6 +111,16 @@ def message_delete(self, id): | |||
"""Delete a message from the dashboard.""" | |||
self.request_plain_text('messages/' + str(id), 'DELETE') | |||
|
|||
def mms_create(self, originator, recipients, body, mediaUrls, subject = None, reference = None, scheduledDatetime = None): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure where the documentation is or how explicit it may be, but there could be more info on the parameters of these methods I think. Now the user has to figure out by reading through the code what the exact format is for scheduledDatetime
. Adding a small docstring here would help
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added docstring to the function
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good but I'm not sure if the user will easily know what types/format to provide for all the method parameters.
Added functions for creare mms and some other changes