import abc


class RequestData(metaclass=abc.ABCMeta):
    """请求信息"""
    pass


class FriendRequestData(RequestData):
    """加好友请求"""

    def __init__(self, user_id, comment):
        self.user_id: str = user_id
        self.comment: str = comment


class JoinGroupRequestData(RequestData):
    """加群请求 - 自己是管理员"""

    def __init__(self, user_id, group_id, comment):
        self.user_id: str = user_id
        self.group_id: str = group_id
        self.comment: str = comment


class InviteGroupRequestData(RequestData):
    """邀请加群请求"""

    def __init__(self, user_id, group_id, comment):
        self.user_id: str = user_id
        self.group_id: str = group_id
        self.comment: str = comment
