Interface MessageGroupCall

A message with information about a group call not bound to a chat. If the message is incoming, the call isn't active, isn't missed, and has no duration, and getOption("can_accept_calls") is true, then incoming call screen must be shown to the user. Use joinGroupCall to accept the call or declineGroupCallInvitation to decline it. If the call become active or missed, then the call screen must be hidden. Subtype of MessageContent.

interface MessageGroupCall {
    @type: "messageGroupCall";
    duration: number;
    is_active?: boolean;
    is_video?: boolean;
    other_participant_ids: MessageSender[];
    was_missed?: boolean;
}

Properties

@type: "messageGroupCall"
duration: number

Call duration, in seconds; for left calls only.

is_active?: boolean

True, if the call is active, i.e. the called user joined the call.

is_video?: boolean

True, if the call is a video call.

other_participant_ids: MessageSender[]

Identifiers of some other call participants.

was_missed?: boolean

True, if the called user missed or declined the call.