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:



3378
3379
3380
3381
3382
# File 'lib/infrawrench/client.rb', line 3378

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:



3372
3373
3374
# File 'lib/infrawrench/client.rb', line 3372

def pending
  @pending
end

#secret_requestsChatConversationsSecretRequestsNamespace (readonly)

Returns client.chat.conversations.secret_requests.

Returns:



3374
3375
3376
# File 'lib/infrawrench/client.rb', line 3374

def secret_requests
  @secret_requests
end