This commit is contained in:
Ruben Bermudez 2018-08-21 21:19:31 +01:00
parent 7f8df47f0b
commit 3e5f12a4c4

View File

@ -9,6 +9,7 @@ import org.telegram.telegrambots.meta.api.interfaces.BotApiObject;
* @version 1.0
* This object represents a Telegram chat with an user or a group
*/
@SuppressWarnings("WeakerAccess")
public class Chat implements BotApiObject {
private static final String ID_FIELD = "id";
@ -64,7 +65,7 @@ public class Chat implements BotApiObject {
@JsonProperty(STICKERSETNAME_FIELD)
private String stickerSetName; ///< Optional. For supergroups, name of Group sticker set. Returned only in getChat.
@JsonProperty(CANSETSTICKERSET_FIELD)
private Message canSetStickerSet; ///< Optional. True, if the bot can change group the sticker set. Returned only in getChat.
private Boolean canSetStickerSet; ///< Optional. True, if the bot can change group the sticker set. Returned only in getChat.
public Chat() {
super();
@ -130,7 +131,7 @@ public class Chat implements BotApiObject {
return stickerSetName;
}
public Message getCanSetStickerSet() {
public Boolean getCanSetStickerSet() {
return canSetStickerSet;
}