public <T extends BaseRequest<T, R>, R extends BaseResponse> R execute(BaseRequest<T, R> request) {
        return api.send(request);
    }
@Test
    public void setChatMenuButton() {
        BaseResponse response = bot.execute(new SetChatMenuButton().chatId(chatId)
                .menuButton(new MenuButtonWebApp("webapp", new WebAppInfo("https://core.telegram.org"))));
        assertTrue(response.isOk());

        response = bot.execute(new SetChatMenuButton().chatId(chatId)
                .menuButton(new MenuButtonCommands()));
        assertTrue(response.isOk());

        response = bot.execute(new SetChatMenuButton().chatId(chatId)
                .menuButton(new MenuButtonDefault()));
        assertTrue(response.isOk());
    }