Class TdApi.Call

  • Enclosing class:
    TdApi

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

      • id

        public int id
        Call identifier, not persistent.
      • userId

        public long 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.
      • CONSTRUCTOR

        public static final int CONSTRUCTOR
        Identifier uniquely determining type of the object.
        See Also:
        Constant Field Values
    • Constructor Detail

      • Call

        public Call()
        Describes a call.
      • Call

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