Sitelet https://github.com/langchain-ai/agent-protocol/blob/main/client-python/docs/MessageTextBlock.md
Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 976 Bytes

File metadata and controls

31 lines (22 loc) · 976 Bytes

MessageTextBlock

Properties

Name Type Description Notes
text str
type object
metadata object [optional]

Example

from ap_client.models.message_text_block import MessageTextBlock

# TODO update the JSON string below
json = "{}"
# create an instance of MessageTextBlock from a JSON string
message_text_block_instance = MessageTextBlock.from_json(json)
# print the JSON string representation of the object
print(MessageTextBlock.to_json())

# convert the object into a dict
message_text_block_dict = message_text_block_instance.to_dict()
# create an instance of MessageTextBlock from a dict
message_text_block_from_dict = MessageTextBlock.from_dict(message_text_block_dict)

[Back to Model list] [Back to API list] [Back to README]