Sha256: e1b31c759f9b51603ad69128529a190fc8e20ed27c6a77ce68474fb41015df91

Contents?: true

Size: 497 Bytes

Versions: 3

Compression:

Stored size: 497 Bytes

Contents

module TD::Types
  # A message with information about an ended call.
  #
  # @attr is_video [Boolean] True, if the call was a video call.
  # @attr discard_reason [TD::Types::CallDiscardReason] Reason why the call was discarded.
  # @attr duration [Integer] Call duration, in seconds.
  class MessageContent::Call < MessageContent
    attribute :is_video, TD::Types::Bool
    attribute :discard_reason, TD::Types::CallDiscardReason
    attribute :duration, TD::Types::Coercible::Integer
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
tdlib-schema-1.7.0.4 lib/tdlib/types/message_content/call.rb
tdlib-schema-1.7.0.3 lib/tdlib/types/message_content/call.rb
tdlib-schema-1.7.0.2 lib/tdlib/types/message_content/call.rb