Fix #512
This commit is contained in:
parent
7f8df47f0b
commit
3e5f12a4c4
@ -9,6 +9,7 @@ import org.telegram.telegrambots.meta.api.interfaces.BotApiObject;
|
|||||||
* @version 1.0
|
* @version 1.0
|
||||||
* This object represents a Telegram chat with an user or a group
|
* This object represents a Telegram chat with an user or a group
|
||||||
*/
|
*/
|
||||||
|
@SuppressWarnings("WeakerAccess")
|
||||||
public class Chat implements BotApiObject {
|
public class Chat implements BotApiObject {
|
||||||
|
|
||||||
private static final String ID_FIELD = "id";
|
private static final String ID_FIELD = "id";
|
||||||
@ -64,7 +65,7 @@ public class Chat implements BotApiObject {
|
|||||||
@JsonProperty(STICKERSETNAME_FIELD)
|
@JsonProperty(STICKERSETNAME_FIELD)
|
||||||
private String stickerSetName; ///< Optional. For supergroups, name of Group sticker set. Returned only in getChat.
|
private String stickerSetName; ///< Optional. For supergroups, name of Group sticker set. Returned only in getChat.
|
||||||
@JsonProperty(CANSETSTICKERSET_FIELD)
|
@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() {
|
public Chat() {
|
||||||
super();
|
super();
|
||||||
@ -130,7 +131,7 @@ public class Chat implements BotApiObject {
|
|||||||
return stickerSetName;
|
return stickerSetName;
|
||||||
}
|
}
|
||||||
|
|
||||||
public Message getCanSetStickerSet() {
|
public Boolean getCanSetStickerSet() {
|
||||||
return canSetStickerSet;
|
return canSetStickerSet;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user