Interface ThreadMessagePayload

interface ThreadMessagePayload {
    animated_media?: AnimatedMediaItem;
    itemId: string;
    item_id: string;
    item_type: ThreadItemType;
    media?: RegularMediaItem;
    media_share?: MediaShareItem;
    op: string;
    path: string;
    reactions?: {
        emojis: {
            client_context: string;
            emoji: string;
            sender_id: number;
            timestamp: number;
        }[];
        likes: {
            client_context: string;
            sender_id: BigInteger;
            timestamp: BigInteger;
        }[];
        likes_count: number;
    };
    text?: string;
    thread_id?: string;
    user_id: BigInteger;
    visual_media?: VisualMedia;
    voice_media?: VoiceMediaItem;
}

Properties

animated_media?: AnimatedMediaItem
itemId: string
item_id: string
item_type: ThreadItemType
media_share?: MediaShareItem
op: string
path: string
reactions?: {
    emojis: {
        client_context: string;
        emoji: string;
        sender_id: number;
        timestamp: number;
    }[];
    likes: {
        client_context: string;
        sender_id: BigInteger;
        timestamp: BigInteger;
    }[];
    likes_count: number;
}
text?: string
thread_id?: string
user_id: BigInteger
visual_media?: VisualMedia
voice_media?: VoiceMediaItem