VideoChatEnded¶
- class telegram.VideoChatEnded(duration, *, api_kwargs=None)[source]¶
Bases:
telegram.TelegramObjectThis 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
durationare equal.Available In
Added in version 13.4.
Changed in version 20.0: This class was renamed from
VoiceChatEndedin accordance to Bot API 6.0.- Parameters:
duration (
int) – Voice chat duration in seconds.