Interface MessageCall

A message with information about an ended call. Subtype of MessageContent.

interface MessageCall {
    @type: "messageCall";
    discard_reason: CallDiscardReason;
    duration: number;
    is_video?: boolean;
}

Properties

@type: "messageCall"
discard_reason: CallDiscardReason

Reason why the call was discarded.

duration: number

Call duration, in seconds.

is_video?: boolean

True, if the call was a video call.