def exitChatRoom(user_key): return manager.process('exitChatRoom', user_key)
def removeFriend(user_key): return manager.process('removeFriend', user_key)
def message(): # data == user_key, type, content req = request.get_json() return manager.process('message', req)
def addFriend(): req = request.get_json() return manager.process('addFriend', req)
def keyboard(): return manager.process('keyboard')