src/LINEBot.php
public function linkRichMenu($userId, $richMenuId)
    {
        $url = sprintf(
            '%s/v2/bot/user/%s/richmenu/%s',
            $this->endpointBase,
            urlencode($userId),
            urlencode($richMenuId)
        );
        return $this->httpClient->post($url, []);
    }
public function linkRichMenu($userId, $richMenuId)
    {
        $url = sprintf(
            '%s/v2/bot/user/%s/richmenu/%s',
            $this->endpointBase,
            urlencode($userId),
            urlencode($richMenuId)
        );
        return $this->httpClient->post($url, []);
    }
public function linkRichMenu ( $ userId , $ richMenuId ) { $ url = sprintf ( '%s/v2/bot/user/%s/richmenu/%s' , $ this -> endpointBase , urlencode ( $ userId ) , urlencode ( $ richMenuId ) ) ; return $ this -> httpClient -> post ( $ url , [ ] ) ; }
Links a rich menu to a user. Only one rich menu can be linked to a user at one time.

@param string $userId User ID. Found in the source object of webhook event objects.
@param string $richMenuId ID of an uploaded rich menu
@return Response
Links a rich menu to a user . Only one rich menu can be linked to a user at one time .