Class TdApi.MessageCall

  • Enclosing class:
    TdApi

    public static class TdApi.MessageCall
    extends TdApi.MessageContent
    A message with information about an ended call.
    • Field Detail

      • duration

        public int duration
        Call duration, in seconds.
      • CONSTRUCTOR

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

      • MessageCall

        public MessageCall()
        Default constructor.
      • MessageCall

        public MessageCall​(TdApi.CallDiscardReason discardReason,
                           int duration)
        Constructor for initialization of all fields.
        Parameters:
        discardReason - Reason why the call was discarded.
        duration - Call duration, in seconds.