Beispiel #1
0
def profile_detach_member(e: TextMessageEventObject, name: str,
                          target_oid: ObjectId):
    return _output_detach_outcome_(
        ProfileManager.detach_profile_name(e.channel_oid, name,
                                           e.user_model.id, target_oid))
Beispiel #2
0
def profile_detach_self(e: TextMessageEventObject, name: str):
    return _output_detach_outcome_(
        ProfileManager.detach_profile_name(e.channel_oid, name,
                                           e.user_model.id))