Class: Infrawrench::ChatConversationsNamespace

Inherits:
Object
  • Object
show all
Defined in:
lib/infrawrench/client.rb,
sig/infrawrench/sdk.rbs

Overview

client.chat.conversations

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(transport) ⇒ ChatConversationsNamespace

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

Returns a new instance of ChatConversationsNamespace.

Parameters:



3123
3124
3125
3126
3127
# File 'lib/infrawrench/client.rb', line 3123

def initialize(transport)
  @transport = transport
  @pending = ChatConversationsPendingNamespace.new(@transport)
  @secret_requests = ChatConversationsSecretRequestsNamespace.new(@transport)
end

Instance Attribute Details

#pendingChatConversationsPendingNamespace (readonly)

Returns client.chat.conversations.pending.

Returns:



3117
3118
3119
# File 'lib/infrawrench/client.rb', line 3117

def pending
  @pending
end

#secret_requestsChatConversationsSecretRequestsNamespace (readonly)

Returns client.chat.conversations.secret_requests.

Returns:



3119
3120
3121
# File 'lib/infrawrench/client.rb', line 3119

def secret_requests
  @secret_requests
end