create

Create a post

client.post.create('POST_TYPE', 'EXTERNAL_ID', 'TITLE')

post_type [str]

Can be POST (with description and image) or CHAT (chat with character)

external_id [str]

topic_id when POST, char when CHAT

title [str]

Post title

text [str] (optional)

Post text

post_visibility [str] (optional)

Who can view your post, can be PUBLIC or UNLISTED

post_num_messages_loaded [int] (optional)

The number of messages that will be in the post

image_rel_path [str] (optional)

PATH to image in CAI servers

token [str] (optional)

You can set a specific token for the function, it will be executed from the specified token

Last updated