def METHOD_NAME(self) -> AllowedMentionsPayload:
    parse = []
    data = {}
    if self.everyone:
        parse.append("everyone")
    if self.users == True:  # noqa: E712
        parse.append("users")
    elif self.users != False:  # noqa: E712
        data["users"] = [x.id for x in self.users]
    if self.roles == True:  # noqa: E712
        parse.append("roles")
    elif self.roles != False:  # noqa: E712
        data["roles"] = [x.id for x in self.roles]
    if self.replied_user:
        data["replied_user"] = True
    data["parse"] = parse
    return data  # type: ignore