This commit is contained in:
Rubenlagus 2016-09-30 23:32:05 +02:00
parent 238125879a
commit ad120cf26c
3 changed files with 6 additions and 5 deletions

View File

@ -6,7 +6,7 @@
<packaging>jar</packaging> <packaging>jar</packaging>
<groupId>org.telegram</groupId> <groupId>org.telegram</groupId>
<artifactId>telegrambots</artifactId> <artifactId>telegrambots</artifactId>
<version>2.4.0.BETA4-SNAPSHOT</version> <version>2.4.0.BETA5-SNAPSHOT</version>
<name>Telegram Bots</name> <name>Telegram Bots</name>
<url>https://github.com/rubenlagus/TelegramBots</url> <url>https://github.com/rubenlagus/TelegramBots</url>

View File

@ -47,7 +47,10 @@ public class Chat implements IBotApiObject {
@JsonProperty(USERNAME_FIELD) @JsonProperty(USERNAME_FIELD)
private String userName; ///< Optional. Interlocutor's last name for private chats private String userName; ///< Optional. Interlocutor's last name for private chats
@JsonProperty(ALL_MEMBERS_ARE_ADMINISTRATORS_FIELD) @JsonProperty(ALL_MEMBERS_ARE_ADMINISTRATORS_FIELD)
private Boolean allMembersAreAdministrators; ///< Optional. True if admins are disabled in the chat /**
* Optional. True if the group or supergroup has All Members Are Admins enabled.
*/
private Boolean allMembersAreAdministrators;
public Chat() { public Chat() {
super(); super();

View File

@ -29,9 +29,7 @@ import java.io.IOException;
/** /**
* @author Ruben Bermudez * @author Ruben Bermudez
* @version 2.4 * @version 2.4
* @brief This object contains information about a game that will be returned as a response to a * @brief A placeholder, currently holds no information. Use BotFather to set up your game.
* callback query. It has no fields, use BotFather to setup your game,
* its short name will actt as an identifier.
* @date 16 of September of 2016 * @date 16 of September of 2016
*/ */
public class CallbackGame implements IBotApiObject { public class CallbackGame implements IBotApiObject {