TDLightTelegramBots/telegrambots-meta/src/main/java/org/telegram/telegrambots/meta/api/objects/videochat/VideoChatScheduled.java

28 lines
769 B
Java
Raw Normal View History

2022-04-17 21:40:17 +02:00
package org.telegram.telegrambots.meta.api.objects.videochat;
2021-04-26 21:55:00 +02:00
import com.fasterxml.jackson.annotation.JsonProperty;
2022-04-17 21:40:17 +02:00
import lombok.*;
2021-04-26 21:55:00 +02:00
import org.telegram.telegrambots.meta.api.interfaces.BotApiObject;
/**
* This object represents a service message about a video chat scheduled in the chat.
2021-04-26 21:55:00 +02:00
* @author Ruben Bermudez
2022-04-17 21:40:17 +02:00
* @version 6.0
2021-04-26 21:55:00 +02:00
*/
@EqualsAndHashCode(callSuper = false)
@Getter
@Setter
@ToString
@NoArgsConstructor
@AllArgsConstructor
2022-04-17 21:40:17 +02:00
public class VideoChatScheduled implements BotApiObject {
2021-04-26 21:55:00 +02:00
private static final String STARTDATE_FIELD = "start_date";
/**
* Point in time (Unix timestamp) when the voice chat is supposed to be started by a chat administrator
*/
2021-04-26 21:55:00 +02:00
@JsonProperty(STARTDATE_FIELD)
@NonNull
private Integer startDate;
2021-04-26 21:55:00 +02:00
}