public static class TdApi.GroupCall extends TdApi.Object
Modifier and Type | Field and Description |
---|---|
boolean |
canBeManaged
True, if the current user can manage the group call.
|
boolean |
canEnableVideo
True, if the current user can broadcast video or share screen.
|
boolean |
canToggleMuteNewParticipants
True, if the current user can enable or disable muteNewParticipants setting.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
int |
duration
Call duration, in seconds; for ended calls only.
|
boolean |
enabledStartNotification
True, if the group call is scheduled and the current user will receive a notification when the group call will start.
|
int |
id
Group call identifier.
|
boolean |
isActive
True, if the call is active.
|
boolean |
isJoined
True, if the call is joined.
|
boolean |
isMyVideoEnabled
True, if the current user's video is enabled.
|
boolean |
isMyVideoPaused
True, if the current user's video is paused.
|
boolean |
isVideoRecorded
True, if a video file is being recorded for the call.
|
boolean |
loadedAllParticipants
True, if all group call participants are loaded.
|
boolean |
muteNewParticipants
True, if only group call administrators can unmute new participants.
|
boolean |
needRejoin
True, if user was kicked from the call because of network loss and the call needs to be rejoined.
|
int |
participantCount
Number of participants in the group call.
|
TdApi.GroupCallRecentSpeaker[] |
recentSpeakers
At most 3 recently speaking users in the group call.
|
int |
recordDuration
Duration of the ongoing group call recording, in seconds; 0 if none.
|
int |
scheduledStartDate
Point in time (Unix timestamp) when the group call is supposed to be started by an administrator; 0 if it is already active or was ended.
|
java.lang.String |
title
Group call title.
|
Constructor and Description |
---|
GroupCall()
Describes a group call.
|
GroupCall(int id,
java.lang.String title,
int scheduledStartDate,
boolean enabledStartNotification,
boolean isActive,
boolean isJoined,
boolean needRejoin,
boolean canBeManaged,
int participantCount,
boolean loadedAllParticipants,
TdApi.GroupCallRecentSpeaker[] recentSpeakers,
boolean isMyVideoEnabled,
boolean isMyVideoPaused,
boolean canEnableVideo,
boolean muteNewParticipants,
boolean canToggleMuteNewParticipants,
int recordDuration,
boolean isVideoRecorded,
int duration)
Describes a group call.
|
Modifier and Type | Method and Description |
---|---|
int |
getConstructor() |
toString
public int id
public java.lang.String title
public int scheduledStartDate
public boolean enabledStartNotification
public boolean isActive
public boolean isJoined
public boolean needRejoin
public boolean canBeManaged
public int participantCount
public boolean loadedAllParticipants
public TdApi.GroupCallRecentSpeaker[] recentSpeakers
public boolean isMyVideoEnabled
public boolean isMyVideoPaused
public boolean canEnableVideo
public boolean muteNewParticipants
public boolean canToggleMuteNewParticipants
public int recordDuration
public boolean isVideoRecorded
public int duration
public static final int CONSTRUCTOR
public GroupCall()
public GroupCall(int id, java.lang.String title, int scheduledStartDate, boolean enabledStartNotification, boolean isActive, boolean isJoined, boolean needRejoin, boolean canBeManaged, int participantCount, boolean loadedAllParticipants, TdApi.GroupCallRecentSpeaker[] recentSpeakers, boolean isMyVideoEnabled, boolean isMyVideoPaused, boolean canEnableVideo, boolean muteNewParticipants, boolean canToggleMuteNewParticipants, int recordDuration, boolean isVideoRecorded, int duration)
id
- Group call identifier.title
- Group call title.scheduledStartDate
- Point in time (Unix timestamp) when the group call is supposed to be started by an administrator; 0 if it is already active or was ended.enabledStartNotification
- True, if the group call is scheduled and the current user will receive a notification when the group call will start.isActive
- True, if the call is active.isJoined
- True, if the call is joined.needRejoin
- True, if user was kicked from the call because of network loss and the call needs to be rejoined.canBeManaged
- True, if the current user can manage the group call.participantCount
- Number of participants in the group call.loadedAllParticipants
- True, if all group call participants are loaded.recentSpeakers
- At most 3 recently speaking users in the group call.isMyVideoEnabled
- True, if the current user's video is enabled.isMyVideoPaused
- True, if the current user's video is paused.canEnableVideo
- True, if the current user can broadcast video or share screen.muteNewParticipants
- True, if only group call administrators can unmute new participants.canToggleMuteNewParticipants
- True, if the current user can enable or disable muteNewParticipants setting.recordDuration
- Duration of the ongoing group call recording, in seconds; 0 if none. An updateGroupCall update is not triggered when value of this field changes, but the same recording goes on.isVideoRecorded
- True, if a video file is being recorded for the call.duration
- Call duration, in seconds; for ended calls only.public int getConstructor()
getConstructor
in class TdApi.Object