restrictChatMember(chat_id, user_id, permissions, other, signal) {
        return this.raw.restrictChatMember({
            chat_id,
            user_id,
            permissions,
            ...other,
        }, signal);
    }
/**
     * Use this method to restrict a user in a supergroup. The bot must be an administrator in the supergroup for this to work and must have the appropriate administrator rights. Pass True for all permissions to lift restrictions from a user. Returns True on success.
     *
     * @param chat_id Unique identifier for the target chat or username of the target supergroup (in the format @supergroupusername)
     * @param user_id Unique identifier of the target user
     * @param permissions An object for new user permissions
     * @param other Optional remaining parameters, confer the official reference below
     * @param signal Optional `AbortSignal` to cancel the request
     *
     * **Official reference:** https://core.telegram.org/bots/api#restrictchatmember
     */
Use this method to restrict a user in a supergroup. The bot must be an administrator in the supergroup for this to work and must have the appropriate administrator rights. Pass True for all permissions to lift restrictions from a user. Returns True on success.


Use this method to restrict a user in a supergroup . The bot must be an administrator in the supergroup for this to work and must have the appropriate administrator rights . Pass True for all permissions to lift restrictions from a user . Returns True on success .
restrictChatMember(chat_id, user_id, permissions, other, signal) {
        return this.raw.restrictChatMember({
            chat_id,
            user_id,
            permissions,
            ...other,
        }, signal);
    }
restrictChatMember ( chat_id , user_id , permissions , other , signal ) { return this . raw . restrictChatMember ( { chat_id , user_id , permissions , ... other , } , signal ) ; }
Use this method to restrict a user in a supergroup.
Use this method to restrict a user in a supergroup .