Class: Aws::Chime::Types::SendChannelMessageRequest

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-chime/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[:content, :metadata, :client_request_token]

Instance Attribute Summary collapse

Instance Attribute Details

#channel_arnString

The ARN of the channel.

Returns:

  • (String)

7392
7393
7394
7395
7396
7397
7398
7399
7400
7401
7402
# File 'lib/aws-sdk-chime/types.rb', line 7392

class SendChannelMessageRequest < Struct.new(
  :channel_arn,
  :content,
  :type,
  :persistence,
  :metadata,
  :client_request_token,
  :chime_bearer)
  SENSITIVE = [:content, :metadata, :client_request_token]
  include Aws::Structure
end

#chime_bearerString

The `AppInstanceUserArn` of the user that makes the API call.

Returns:

  • (String)

7392
7393
7394
7395
7396
7397
7398
7399
7400
7401
7402
# File 'lib/aws-sdk-chime/types.rb', line 7392

class SendChannelMessageRequest < Struct.new(
  :channel_arn,
  :content,
  :type,
  :persistence,
  :metadata,
  :client_request_token,
  :chime_bearer)
  SENSITIVE = [:content, :metadata, :client_request_token]
  include Aws::Structure
end

#client_request_tokenString

The `Idempotency` token for each client request.

**A suitable default value is auto-generated.** You should normally not need to pass this option.

Returns:

  • (String)

7392
7393
7394
7395
7396
7397
7398
7399
7400
7401
7402
# File 'lib/aws-sdk-chime/types.rb', line 7392

class SendChannelMessageRequest < Struct.new(
  :channel_arn,
  :content,
  :type,
  :persistence,
  :metadata,
  :client_request_token,
  :chime_bearer)
  SENSITIVE = [:content, :metadata, :client_request_token]
  include Aws::Structure
end

#contentString

The content of the message.

Returns:

  • (String)

7392
7393
7394
7395
7396
7397
7398
7399
7400
7401
7402
# File 'lib/aws-sdk-chime/types.rb', line 7392

class SendChannelMessageRequest < Struct.new(
  :channel_arn,
  :content,
  :type,
  :persistence,
  :metadata,
  :client_request_token,
  :chime_bearer)
  SENSITIVE = [:content, :metadata, :client_request_token]
  include Aws::Structure
end

#metadataString

The optional metadata for each message.

Returns:

  • (String)

7392
7393
7394
7395
7396
7397
7398
7399
7400
7401
7402
# File 'lib/aws-sdk-chime/types.rb', line 7392

class SendChannelMessageRequest < Struct.new(
  :channel_arn,
  :content,
  :type,
  :persistence,
  :metadata,
  :client_request_token,
  :chime_bearer)
  SENSITIVE = [:content, :metadata, :client_request_token]
  include Aws::Structure
end

#persistenceString

Boolean that controls whether the message is persisted on the back end. Required.

Returns:

  • (String)

7392
7393
7394
7395
7396
7397
7398
7399
7400
7401
7402
# File 'lib/aws-sdk-chime/types.rb', line 7392

class SendChannelMessageRequest < Struct.new(
  :channel_arn,
  :content,
  :type,
  :persistence,
  :metadata,
  :client_request_token,
  :chime_bearer)
  SENSITIVE = [:content, :metadata, :client_request_token]
  include Aws::Structure
end

#typeString

The type of message, `STANDARD` or `CONTROL`.

Returns:

  • (String)

7392
7393
7394
7395
7396
7397
7398
7399
7400
7401
7402
# File 'lib/aws-sdk-chime/types.rb', line 7392

class SendChannelMessageRequest < Struct.new(
  :channel_arn,
  :content,
  :type,
  :persistence,
  :metadata,
  :client_request_token,
  :chime_bearer)
  SENSITIVE = [:content, :metadata, :client_request_token]
  include Aws::Structure
end