Class TdApi.Call

Enclosing class:
TdApi

public static class TdApi.Call
extends TdApi.Object
Describes a call.
  • Field Details

    • id

      public int id
      Call identifier, not persistent.
    • userId

      public int userId
      Peer user identifier.
    • isOutgoing

      public boolean isOutgoing
      True, if the call is outgoing.
    • isVideo

      public boolean isVideo
      True, if the call is a video call.
    • state

      public TdApi.CallState state
      Call state.
    • CONSTRUCTOR

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

    • Call

      public Call()
      Describes a call.
    • Call

      public Call​(int id, int userId, boolean isOutgoing, boolean isVideo, TdApi.CallState state)
      Describes a call.
      Parameters:
      id - int Call identifier, not persistent.
      userId - int Peer user identifier.
      isOutgoing - boolean True, if the call is outgoing.
      isVideo - boolean True, if the call is a video call.
      state - CallState Call state.
    • Call

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