voipms-python/voipms/api/voicemail/messages.py

13 lines
368 B
Python
Raw Normal View History

class Messages():
def __init__(self, base):
self.method = ""
self.base = base
2020-03-17 02:58:09 +00:00
def fetch(self, params={}):
self.method = "getVoicemailMessages"
return self.base.request(self.method, params=params)
def delete(self, params={}):
self.method = "delMessages"
2020-03-17 02:58:09 +00:00
return self.base.request(self.method, params=params)