Class: TD::Types::Call

Inherits:
Base
  • Object
show all
Defined in:
lib/tdlib/types/call.rb

Overview

Describes a call.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#idInteger

Call identifier, not persistent.

Returns:

  • (Integer)

    the current value of id



8
9
10
# File 'lib/tdlib/types/call.rb', line 8

def id
  @id
end

#is_outgoingBoolean

True, if the call is outgoing.

Returns:

  • (Boolean)

    the current value of is_outgoing



8
9
10
# File 'lib/tdlib/types/call.rb', line 8

def is_outgoing
  @is_outgoing
end

#stateTD::Types::CallState

Call state.

Returns:



8
9
10
# File 'lib/tdlib/types/call.rb', line 8

def state
  @state
end

#user_idInteger

Peer user identifier.

Returns:

  • (Integer)

    the current value of user_id



8
9
10
# File 'lib/tdlib/types/call.rb', line 8

def user_id
  @user_id
end