Class TdApi.MessageCall

  • Enclosing class:
    TdApi

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

      • isVideo

        public boolean isVideo
        True, if the call was a video call.
      • 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()
        A message with information about an ended call.
      • MessageCall

        public MessageCall​(boolean isVideo,
                           TdApi.CallDiscardReason discardReason,
                           int duration)
        A message with information about an ended call.
        Parameters:
        isVideo - True, if the call was a video call.
        discardReason - Reason why the call was discarded.
        duration - Call duration, in seconds.