2021-03-09 11:59:28 +01:00
|
|
|
package org.telegram.telegrambots.meta.api.objects;
|
|
|
|
|
|
|
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
|
|
|
import lombok.AllArgsConstructor;
|
|
|
|
import lombok.EqualsAndHashCode;
|
|
|
|
import lombok.Getter;
|
|
|
|
import lombok.NoArgsConstructor;
|
|
|
|
import lombok.Setter;
|
|
|
|
import lombok.ToString;
|
|
|
|
import org.telegram.telegrambots.meta.api.interfaces.BotApiObject;
|
|
|
|
|
|
|
|
/**
|
2022-11-04 17:23:27 +01:00
|
|
|
* This object represents a service message about a change in auto-delete timer settings.
|
2021-03-09 11:59:28 +01:00
|
|
|
* @author Ruben Bermudez
|
|
|
|
* @version 5.1
|
|
|
|
*/
|
|
|
|
@EqualsAndHashCode(callSuper = false)
|
|
|
|
@Getter
|
|
|
|
@Setter
|
|
|
|
@ToString
|
|
|
|
@NoArgsConstructor
|
|
|
|
@AllArgsConstructor
|
|
|
|
public class MessageAutoDeleteTimerChanged implements BotApiObject {
|
|
|
|
private static final String MESSAGEAUTODELETETIME_FIELD = "message_auto_delete_time";
|
|
|
|
|
2022-11-04 17:23:27 +01:00
|
|
|
/**
|
|
|
|
* New auto-delete time for messages in the chat
|
|
|
|
*/
|
2021-03-09 11:59:28 +01:00
|
|
|
@JsonProperty(MESSAGEAUTODELETETIME_FIELD)
|
2022-11-04 17:23:27 +01:00
|
|
|
private Integer messageAutoDeleteTime;
|
2021-03-09 11:59:28 +01:00
|
|
|
}
|