Package org.drinkless.tdlib
Class TdApi.GroupCall
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.GroupCall
- Enclosing class:
- TdApi
Describes a group call.
-
Field Summary
FieldsModifier and TypeFieldDescriptionbooleanTrue, if the current user can manage the group call.booleanTrue, if the current user can broadcast video or share screen.booleanTrue, if the current user can enable or disable muteNewParticipants setting.static final intIdentifier uniquely determining type of the object.intCall duration, in seconds; for ended calls only.booleanTrue, if the group call is scheduled and the current user will receive a notification when the group call starts.booleanTrue, if group call participants, which are muted, aren't returned in participant list.intGroup call identifier.booleanTrue, if the call is active.booleanTrue, if the call is joined.booleanTrue, if the current user's video is enabled.booleanTrue, if the current user's video is paused.booleanTrue, if the chat is an RTMP stream instead of an ordinary video chat.booleanTrue, if a video file is being recorded for the call.booleanTrue, if all group call participants are loaded.booleanTrue, if only group call administrators can unmute new participants.booleanTrue, if user was kicked from the call because of network loss and the call needs to be rejoined.intNumber of participants in the group call.At most 3 recently speaking users in the group call.intDuration of the ongoing group call recording, in seconds; 0 if none.intPoint 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.Group call title. -
Constructor Summary
ConstructorsConstructorDescriptionDescribes a group call.GroupCall(int id, String title, int scheduledStartDate, boolean enabledStartNotification, boolean isActive, boolean isRtmpStream, boolean isJoined, boolean needRejoin, boolean canBeManaged, int participantCount, boolean hasHiddenListeners, 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. -
Method Summary
Modifier and TypeMethodDescriptionintReturns an identifier uniquely determining type of the object.Methods inherited from class org.drinkless.tdlib.TdApi.Object
toString
-
Field Details
-
id
public int idGroup call identifier. -
title
Group call title. -
scheduledStartDate
public int scheduledStartDatePoint 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
public boolean enabledStartNotificationTrue, if the group call is scheduled and the current user will receive a notification when the group call starts. -
isActive
public boolean isActiveTrue, if the call is active. -
isRtmpStream
public boolean isRtmpStreamTrue, if the chat is an RTMP stream instead of an ordinary video chat. -
isJoined
public boolean isJoinedTrue, if the call is joined. -
needRejoin
public boolean needRejoinTrue, if user was kicked from the call because of network loss and the call needs to be rejoined. -
canBeManaged
public boolean canBeManagedTrue, if the current user can manage the group call. -
participantCount
public int participantCountNumber of participants in the group call. -
hasHiddenListeners
public boolean hasHiddenListenersTrue, if group call participants, which are muted, aren't returned in participant list. -
loadedAllParticipants
public boolean loadedAllParticipantsTrue, if all group call participants are loaded. -
recentSpeakers
At most 3 recently speaking users in the group call. -
isMyVideoEnabled
public boolean isMyVideoEnabledTrue, if the current user's video is enabled. -
isMyVideoPaused
public boolean isMyVideoPausedTrue, if the current user's video is paused. -
canEnableVideo
public boolean canEnableVideoTrue, if the current user can broadcast video or share screen. -
muteNewParticipants
public boolean muteNewParticipantsTrue, if only group call administrators can unmute new participants. -
canToggleMuteNewParticipants
public boolean canToggleMuteNewParticipantsTrue, if the current user can enable or disable muteNewParticipants setting. -
recordDuration
public int recordDurationDuration 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
public boolean isVideoRecordedTrue, if a video file is being recorded for the call. -
duration
public int durationCall duration, in seconds; for ended calls only. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
GroupCall
public GroupCall()Describes a group call. -
GroupCall
public GroupCall(int id, String title, int scheduledStartDate, boolean enabledStartNotification, boolean isActive, boolean isRtmpStream, boolean isJoined, boolean needRejoin, boolean canBeManaged, int participantCount, boolean hasHiddenListeners, 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.- Parameters:
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 starts.isActive- True, if the call is active.isRtmpStream- True, if the chat is an RTMP stream instead of an ordinary video chat.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.hasHiddenListeners- True, if group call participants, which are muted, aren't returned in participant list.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.
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.ObjectReturns an identifier uniquely determining type of the object.- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-