Exemple #1
0
 @Override
 public String makeRequest(ApiRequest<?> request, TelegramApi api) {
   return api.makeMultipartRequest(request.getMethodName(), request.getArgs(), fieldName, file);
 }
Exemple #2
0
 @Override
 public String makeRequest(ApiRequest<?> request, TelegramApi api) {
   return api.makePostRequest(request.getMethodName(), request.getArgs());
 }