TmPostInfo
Properties
Name | Type | Required | Description |
---|---|---|---|
id_ | str | ❌ | Internal identifier of a post |
group_id | str | ❌ | Internal identifier of a group a post belongs to |
type_ | TmPostInfoType | ❌ | Type of post |
text | str | ❌ | For 'TextMessage' post type only. Text of a message |
creator_id | str | ❌ | Internal identifier of a user - author of a post |
added_person_ids | List[str] | ❌ | For 'PersonsAdded' post type only. Identifiers of persons added to a group |
creation_time | str | ❌ | Post creation datetime in ISO 8601 format |
last_modified_time | str | ❌ | Post last modification datetime in ISO 8601 format |
attachments | List[TmMessageAttachmentInfo] | ❌ | List of posted attachments |
mentions | List[TmMentionsInfo] | ❌ | |
activity | str | ❌ | Label of activity type |
title | str | ❌ | Title of a message. (Can be set for bot's messages only) |
icon_uri | str | ❌ | Link to an image used as an icon for this message |
icon_emoji | str | ❌ | Emoji used as an icon for this message |
TmPostInfoType
Type of post
Properties
Name | Type | Required | Description |
---|---|---|---|
TEXTMESSAGE | str | ✅ | "TextMessage" |
PERSONJOINED | str | ✅ | "PersonJoined" |
PERSONSADDED | str | ✅ | "PersonsAdded" |
Build Your Own SDKs with liblab
Build developer friendly SDKs in minutes from your APIs