class Telegram::API::VoiceChatEnded

Overview

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

Defined in:

telegram/api/generated/types.cr

Constructors

Instance Method Summary

Instance methods inherited from class Telegram::API::Type

==(other) ==, client client

Constructor methods inherited from class Telegram::API::Type

new(pull : JSON::PullParser) new

Constructor Detail

def self.new(pull : JSON::PullParser) #

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


[View source]
def self.new(duration : Int32) #

[View source]

Instance Method Detail

def duration : Int32 #

Voice chat duration in seconds


[View source]
def duration=(duration : Int32) #

Voice chat duration in seconds


[View source]