Skip to main content

Module common

Module common 

Source
Expand description

Common enums and shared structs (media types, reply controls, attachments).

Structs§

ChildPost
A child post in a carousel.
ChildrenData
Children data for carousel posts.
ContainerStatus
Status of a media container.
GifAttachment
GIF attachment for text posts.
PollAttachment
Poll options when creating a post with a poll.
PollResult
Poll results and voting statistics.
PostOwner
Owner of a post.
PublishingLimits
Current API quota usage and limits.
QuotaConfig
Quota configuration for a specific operation type.
RecentSearch
A recently searched keyword with timestamp.
RepostContent
Content for creating a repost.
TextAttachment
Text attachment with optional styling (up to 10,000 chars).
TextEntitiesResponse
Response wrapper for text entities.
TextEntity
Spoiler entity within text content.
TextStylingInfo
Styling information for a range of text.

Enums§

ApprovalStatus
Approval status for pending replies.
GifProvider
GIF provider.
HideStatus
Visibility/moderation status of a post.
MediaType
Media type for posts.
ReplyAudience
Reply audience setting returned by the API (UPPERCASE values).
ReplyControl
Controls who can reply to a post.
SearchMode
Search mode selector.
SearchType
Search result ordering.