Class: TD::Types::CallState::Pending

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

Overview

The call is pending, waiting to be accepted by a user.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#is_createdBoolean

True, if the call has already been created by the server.

Returns:

  • (Boolean)

    the current value of is_created



6
7
8
# File 'lib/tdlib/types/call_state/pending.rb', line 6

def is_created
  @is_created
end

#is_receivedBoolean

True, if the call has already been received by the other party.

Returns:

  • (Boolean)

    the current value of is_received



6
7
8
# File 'lib/tdlib/types/call_state/pending.rb', line 6

def is_received
  @is_received
end