public <T extends BaseRequest<T, R>, R extends BaseResponse> R execute(BaseRequest<T, R> request) {
        return api.send(request);
    }
@Test
    public void restrictChatMember() {
        ChatPermissions permissions = new ChatPermissions()
                .canChangeInfo(true)
                .canInviteUsers(true)
                .canPinMessages(true)
                .canSendAudios(true)
                .canSendDocuments(true)
                .canSendPhotos(true)
                .canSendVideos(true)
                .canSendVideoNotes(true)
                .canSendVoiceNotes(true)
                .canSendPolls(true); // implies can_send_messages

        BaseResponse response = bot.execute(
                new RestrictChatMember(groupId, memberBot, permissions)
                        .untilDate((int) (System.currentTimeMillis() / 1000) + 5)
                        .useIndependentChatPermissions(false)
        );
        assertTrue(response.isOk());
    }