Class TdApi.GroupCall

java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.GroupCall
Enclosing class:
TdApi

public static class TdApi.GroupCall
extends TdApi.Object
Describes a group call.
  • Field Summary

    Fields
    Modifier and Type Field Description
    boolean canBeManaged
    True, if the current user can manage the group call.
    boolean canChangeMuteNewParticipants
    True, if the current user can enable or disable muteNewParticipants setting.
    boolean canEnableVideo
    True, if the current user can broadcast video or share screen.
    static int CONSTRUCTOR  
    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 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
    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.
    String title
    Group call title.
  • Constructor Summary

    Constructors
    Constructor Description
    GroupCall()
    Describes a group call.
    GroupCall​(int id, 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 canChangeMuteNewParticipants, int recordDuration, int duration)
    Describes a group call.
    GroupCall​(DataInput input)  
  • Method Summary

    Modifier and Type Method Description
    boolean equals​(Object o)  
    int getConstructor()  
    int hashCode()  
    void serialize​(DataOutput output)  

    Methods inherited from class it.tdlight.jni.TdApi.Object

    serialize, toString

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Field Details

    • id

      public int id
      Group call identifier.
    • title

      public String title
      Group call title.
    • scheduledStartDate

      public 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.
    • enabledStartNotification

      public boolean enabledStartNotification
      True, if the group call is scheduled and the current user will receive a notification when the group call will start.
    • isActive

      public boolean isActive
      True, if the call is active.
    • isJoined

      public boolean isJoined
      True, if the call is joined.
    • needRejoin

      public boolean needRejoin
      True, if user was kicked from the call because of network loss and the call needs to be rejoined.
    • canBeManaged

      public boolean canBeManaged
      True, if the current user can manage the group call.
    • participantCount

      public int participantCount
      Number of participants in the group call.
    • loadedAllParticipants

      public boolean loadedAllParticipants
      True, if all group call participants are loaded.
    • recentSpeakers

      public TdApi.GroupCallRecentSpeaker[] recentSpeakers
      Recently speaking users in the group call.
    • isMyVideoEnabled

      public boolean isMyVideoEnabled
      True, if the current user's video is enabled.
    • isMyVideoPaused

      public boolean isMyVideoPaused
      True, if the current user's video is paused.
    • canEnableVideo

      public boolean canEnableVideo
      True, if the current user can broadcast video or share screen.
    • muteNewParticipants

      public boolean muteNewParticipants
      True, if only group call administrators can unmute new participants.
    • canChangeMuteNewParticipants

      public boolean canChangeMuteNewParticipants
      True, if the current user can enable or disable muteNewParticipants setting.
    • recordDuration

      public int 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.
    • duration

      public int duration
      Call duration, in seconds; for ended calls only.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      See Also:
      Constant Field Values
  • Constructor Details

    • GroupCall

      public GroupCall()
      Describes a group call.
    • GroupCall

      public GroupCall​(int id, 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 canChangeMuteNewParticipants, int recordDuration, int duration)
      Describes a group call.
      Parameters:
      id - int Group call identifier.
      title - String Group call title.
      scheduledStartDate - int 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 - boolean True, if the group call is scheduled and the current user will receive a notification when the group call will start.
      isActive - boolean True, if the call is active.
      isJoined - boolean True, if the call is joined.
      needRejoin - boolean True, if user was kicked from the call because of network loss and the call needs to be rejoined.
      canBeManaged - boolean True, if the current user can manage the group call.
      participantCount - int Number of participants in the group call.
      loadedAllParticipants - boolean True, if all group call participants are loaded.
      recentSpeakers - GroupCallRecentSpeaker[] Recently speaking users in the group call.
      isMyVideoEnabled - boolean True, if the current user's video is enabled.
      isMyVideoPaused - boolean True, if the current user's video is paused.
      canEnableVideo - boolean True, if the current user can broadcast video or share screen.
      muteNewParticipants - boolean True, if only group call administrators can unmute new participants.
      canChangeMuteNewParticipants - boolean True, if the current user can enable or disable muteNewParticipants setting.
      recordDuration - int 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.
      duration - int Call duration, in seconds; for ended calls only.
    • GroupCall

      public GroupCall​(DataInput input) throws IOException
      Throws:
      IOException
  • Method Details