Skip to main content

TmPostInfo

Properties

NameTypeRequiredDescription
id_strInternal identifier of a post
group_idstrInternal identifier of a group a post belongs to
type_TmPostInfoTypeType of post
textstrFor 'TextMessage' post type only. Text of a message
creator_idstrInternal identifier of a user - author of a post
added_person_idsList[str]For 'PersonsAdded' post type only. Identifiers of persons added to a group
creation_timestrPost creation datetime in ISO 8601 format
last_modified_timestrPost last modification datetime in ISO 8601 format
attachmentsList[TmMessageAttachmentInfo]List of posted attachments
mentionsList[TmMentionsInfo]
activitystrLabel of activity type
titlestrTitle of a message. (Can be set for bot's messages only)
icon_uristrLink to an image used as an icon for this message
icon_emojistrEmoji used as an icon for this message

TmPostInfoType

Type of post

Properties

NameTypeRequiredDescription
TEXTMESSAGEstr"TextMessage"
PERSONJOINEDstr"PersonJoined"
PERSONSADDEDstr"PersonsAdded"

Build Your Own SDKs with  liblab

Build developer friendly SDKs in minutes from your APIs

Start for Free →