Skip to content

GramIO API Reference / gramio/dist / RepostStoryParams

Interface: RepostStoryParams

Defined in: @gramio/types/out/params.d.ts:3191

Params object for repostStory method

Properties

PropertyTypeDescriptionDefined in
active_periodRepostStoryActivePeriodPeriod after which the story is moved to the archive, in seconds; must be one of 6 * 3600, 12 * 3600, 86400, or 2 * 86400@gramio/types/out/params.d.ts:3207
business_connection_idstringUnique identifier of the business connection@gramio/types/out/params.d.ts:3195
from_chat_idnumberUnique identifier of the chat which posted the story that should be reposted@gramio/types/out/params.d.ts:3199
from_story_idnumberUnique identifier of the story that should be reposted@gramio/types/out/params.d.ts:3203
post_to_chat_page?booleanPass True to keep the story accessible after it expires@gramio/types/out/params.d.ts:3211
protect_content?booleanPass True if the content of the story must be protected from forwarding and screenshotting@gramio/types/out/params.d.ts:3215