Class: TD::Types::CallState::Discarded

Inherits:
TD::Types::CallState show all
Defined in:
lib/tdlib/types/call_state/discarded.rb

Overview

The call has ended successfully.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#need_debug_informationBoolean

True, if the call debug information should be sent to the server.

Returns:

  • (Boolean)

    the current value of need_debug_information



7
8
9
# File 'lib/tdlib/types/call_state/discarded.rb', line 7

def need_debug_information
  @need_debug_information
end

#need_ratingBoolean

True, if the call rating should be sent to the server.

Returns:

  • (Boolean)

    the current value of need_rating



7
8
9
# File 'lib/tdlib/types/call_state/discarded.rb', line 7

def need_rating
  @need_rating
end

#reasonTD::Types::CallDiscardReason

The reason, why the call has ended.

Returns:



7
8
9
# File 'lib/tdlib/types/call_state/discarded.rb', line 7

def reason
  @reason
end