import org.json.JSONObject;
import java.io.IOException;
public class SendChatAction extends BotApiMethod<Boolean>{
public static final String PATH = "sendChatAction";
public static final String CHATID_FIELD = "chat_id";
<BUG>private Integer chatId; ///< Unique identifier for the message recepient — User or GroupChat id
public static final String ACTION_FIELD = "action";</BUG>
private String action;
<BUG>public Integer getChatId() {
</BUG>
return chatId;

import org.json.JSONObject;
import java.io.IOException;
public class SendChatAction extends BotApiMethod<Boolean>{
public static final String PATH = "sendChatAction";
public static final String CHATID_FIELD = "chat_id";
private String chatId; ///< Unique identifier for the chat to send the message to (Or username for channels)
public static final String ACTION_FIELD = "action";
private String action;
public String getChatId() {
return chatId;
