public <T extends BaseRequest<T, R>, R extends BaseResponse> R execute(BaseRequest<T, R> request) {
        return api.send(request);
    }
@Test
    public void sendSpoilerMessage() {
        SendResponse response = bot.execute(new SendMessage(chatId, "ok this is spoiler ha-ha-ha")
                .entities(new MessageEntity(MessageEntity.Type.spoiler, 19, 8)));

        MessageEntity entity = response.message().entities()[0];
        assertEquals(MessageEntity.Type.spoiler, entity.type());
        assertEquals((Integer) 19, entity.offset());
        assertEquals((Integer) 8, entity.length());
    }