com.pengrad.telegrambot.response.GetChatMembersCountResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of java-telegram-bot-api Show documentation
Show all versions of java-telegram-bot-api Show documentation
Java API for Telegram Bot API
package com.pengrad.telegrambot.response;
/**
* Stas Parshin
* 29 May 2016
*
* @deprecated from BOT API v5.3 you should use getChatMemberCount instead, which returns a GetChatMemberCountResponse object
*/
@Deprecated
public class GetChatMembersCountResponse extends BaseResponse {
private int result;
public int count() {
return result;
}
@Override
public String toString() {
return "GetChatMembersCountResponse{" +
"result=" + result +
'}';
}
}