Class: Telnyx::Lib::WebSocket::StreamMessage Private

Inherits:
Struct
  • Object
show all
Defined in:
lib/telnyx/lib/websocket/text_to_speech_ws.rb

Overview

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

WebSocket stream message types for async iteration.

Instance Attribute Summary collapse

Instance Attribute Details

#errorObject

Returns the value of attribute error

Returns:

  • (Object)

    the current value of error



15
16
17
# File 'lib/telnyx/lib/websocket/text_to_speech_ws.rb', line 15

def error
  @error
end

#messageObject

Returns the value of attribute message

Returns:

  • (Object)

    the current value of message



15
16
17
# File 'lib/telnyx/lib/websocket/text_to_speech_ws.rb', line 15

def message
  @message
end

#typeObject

Returns the value of attribute type

Returns:

  • (Object)

    the current value of type



15
16
17
# File 'lib/telnyx/lib/websocket/text_to_speech_ws.rb', line 15

def type
  @type
end