VideoChatEnded

class telegram.VideoChatEnded(duration, *, api_kwargs=None)[source]

Bases: telegram.TelegramObject

This object represents a service message about a video chat ended in the chat.

Objects of this class are comparable in terms of equality. Two objects of this class are considered equal, if their duration are equal.

Added in version 13.4.

Changed in version 20.0: This class was renamed from VoiceChatEnded in accordance to Bot API 6.0.

Parameters:

duration (int) – Voice chat duration in seconds.

duration[source]

Voice chat duration in seconds.

Type:

int