Class TdApi.MessageCall

Enclosing class:
TdApi

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

    • isVideo

      public boolean isVideo
      True, if the call was a video call.
    • discardReason

      public TdApi.CallDiscardReason discardReason
      Reason why the call was discarded.
    • duration

      public int duration
      Call duration, in seconds.
    • CONSTRUCTOR

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

    • 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 - boolean True, if the call was a video call.
      discardReason - CallDiscardReason Reason why the call was discarded.
      duration - int Call duration, in seconds.
    • MessageCall

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