Class: Knockapi::Models::Messages::BatchGetContentResponseItem::Data::MessageChatContent::Template

Inherits:
Internal::Type::BaseModel
  • Object
show all
Defined in:
lib/knockapi/models/messages/batch_get_content_response.rb

Overview

See Also:

Defined Under Namespace

Classes: Block

Instance Attribute Summary collapse

Method Summary

Methods inherited from Internal::Type::BaseModel

#==, ==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, #initialize, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml

Methods included from Internal::Type::Converter

#coerce, coerce, #dump, dump, inspect, #inspect, meta_info, new_coerce_state, type_info

Methods included from Internal::Util::SorbetRuntimeSupport

#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type

Constructor Details

This class inherits a constructor from Knockapi::Internal::Type::BaseModel

Instance Attribute Details

#blocksArray<Knockapi::Models::Messages::BatchGetContentResponseItem::Data::MessageChatContent::Template::Block>?

The blocks of the message in a chat.



259
260
261
# File 'lib/knockapi/models/messages/batch_get_content_response.rb', line 259

optional :blocks,
-> { Knockapi::Internal::Type::ArrayOf[Knockapi::Models::Messages::BatchGetContentResponseItem::Data::MessageChatContent::Template::Block] },
nil?: true

#json_contentHash{Symbol=>Object}?

The JSON content of the message.

Returns:



267
268
269
# File 'lib/knockapi/models/messages/batch_get_content_response.rb', line 267

optional :json_content,
Knockapi::Internal::Type::HashOf[Knockapi::Internal::Type::Unknown],
nil?: true

#summaryString?

The summary of the chat message.

Returns:

  • (String, nil)


275
# File 'lib/knockapi/models/messages/batch_get_content_response.rb', line 275

optional :summary, String, nil?: true