def post(message,owner_id=NerdID, attach=""): if attach=="": return api.call("wall.post",{'owner_id':owner_id, 'message':message, 'signed':'1', 'from_group':'1'}) else: return api.call("wall.post",{'owner_id':owner_id, 'message':message, 'signed':'1', 'from_group':'1', 'attachments':str(attach)})
def getById(mid): return api.call("messages.getById", {'mid':'mid'})
def get(filters="1",count='40'): return api.call("messages.get", {'filters':filters, 'count':count} )
def markAsRead(mids): return api.call("messages.markAsRead", {'mids':mids})
def send(uid, message): return api.call("messages.send", {'uid':uid, 'message':message})