Interface IStreamingContextPayload

interface IStreamingContextPayload {
    action: "new" | "update" | "delete" | "restore";
    action_time: number;
    attachments: object[];
    author: {
        author_url: string;
        id: number;
        platform?: number;
        shared_post_author_id?: number;
        shared_post_author_url?: string;
    };
    creation_time: number;
    event_id: {
        comment_id?: number;
        post_id?: number;
        post_owner_id?: number;
        shared_post_id?: number;
        topic_id?: number;
        topic_owner_id?: number;
        topic_post_id?: number;
    };
    event_type: "comment" | "post" | "share" | "topic_post";
    event_url: string;
    geo: Record<string, any>;
    shared_post_creation_time?: number;
    shared_post_text?: string;
    signer_id: number;
    tags: string[];
    text?: string;
}

Properties

action: "new" | "update" | "delete" | "restore"
action_time: number
attachments: object[]
author: {
    author_url: string;
    id: number;
    platform?: number;
    shared_post_author_id?: number;
    shared_post_author_url?: string;
}

Type declaration

  • author_url: string
  • id: number
  • Optional platform?: number
  • Optional shared_post_author_id?: number
  • Optional shared_post_author_url?: string
creation_time: number
event_id: {
    comment_id?: number;
    post_id?: number;
    post_owner_id?: number;
    shared_post_id?: number;
    topic_id?: number;
    topic_owner_id?: number;
    topic_post_id?: number;
}

Type declaration

  • Optional comment_id?: number
  • Optional post_id?: number
  • Optional post_owner_id?: number
  • Optional shared_post_id?: number
  • Optional topic_id?: number
  • Optional topic_owner_id?: number
  • Optional topic_post_id?: number
event_type: "comment" | "post" | "share" | "topic_post"
event_url: string
geo: Record<string, any>
shared_post_creation_time?: number
shared_post_text?: string
signer_id: number
tags: string[]
text?: string

Generated using TypeDoc