TextPart Class

Plain text content.

Constructor

TextPart(content: str)

Parameters

Name Description
content
Required

Attributes

content

content: str

type

type: str = 'text'