2022-04-17 21:40:17 +02:00
|
|
|
package org.telegram.telegrambots.meta.api.objects.videochat;
|
2021-03-09 11:59:28 +01:00
|
|
|
|
|
|
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
2022-04-17 21:40:17 +02:00
|
|
|
import lombok.*;
|
2021-03-09 11:59:28 +01:00
|
|
|
import org.telegram.telegrambots.meta.api.interfaces.BotApiObject;
|
|
|
|
import org.telegram.telegrambots.meta.api.objects.User;
|
|
|
|
|
|
|
|
import java.util.List;
|
|
|
|
|
|
|
|
/**
|
2022-11-04 17:23:27 +01:00
|
|
|
* This object represents a service message about new members invited to a video chat.
|
2021-03-09 11:59:28 +01:00
|
|
|
* @author Ruben Bermudez
|
2022-04-17 21:40:17 +02:00
|
|
|
* @version 6.0
|
2021-03-09 11:59:28 +01:00
|
|
|
*/
|
|
|
|
@EqualsAndHashCode(callSuper = false)
|
|
|
|
@Getter
|
|
|
|
@Setter
|
|
|
|
@ToString
|
|
|
|
@NoArgsConstructor
|
|
|
|
@AllArgsConstructor
|
2022-04-17 21:40:17 +02:00
|
|
|
public class VideoChatParticipantsInvited implements BotApiObject {
|
2021-03-09 11:59:28 +01:00
|
|
|
private static final String USERS_FIELD = "users";
|
|
|
|
|
2022-11-04 17:23:27 +01:00
|
|
|
/**
|
|
|
|
* Optional.
|
|
|
|
* New members that were invited to the voice chat
|
|
|
|
*/
|
2021-03-09 11:59:28 +01:00
|
|
|
@JsonProperty(USERS_FIELD)
|
2022-11-04 17:23:27 +01:00
|
|
|
private List<User> users;
|
2021-03-09 11:59:28 +01:00
|
|
|
}
|