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

12 lines
371 B
Python

class Messages():
def __init__(self, base):
self.method = ""
self.base = base
def fetch(self, params={}):
self.method = "getVoicemailMessages"
return self.base.request(self.method, params=params)
def delete(self, params={}):
self.method = "delMessages"
return self.base.request(self.method, params=params)