Closed amirsafiallah closed 7 years ago
For those who want to fix this problem quickly, instantiate and override 'getMethod' like this:
RestrictChatMember restrictChatMember = new RestrictChatMember() {
@Override
public String getMethod() {
return "restrictchatmember";
}
};
Hello, the "PATH" field in the following class has wrong value:
Current Value:
public static final String PATH = "kickchatmember";
Correct Value:public static final String PATH = "restrictchatmember";