ActivitiesVariables is an interface representing the variables for the ActivitiesQuery. It includes optional page, per page, id, user id, messenger id, media id, type, is following, has replies, has replies or type text, created at, id not, id in, id not in, user id not, user id in, user id not in, messenger id not, messenger id in, messenger id not in, media id not, media id in, media id not in, type not, type in, type not in, created at greater, sort, and as html.

interface ActivitiesVariables {
    asHtml?: boolean;
    createdAt?: number;
    createdAt_greater?: number;
    hasReplies?: boolean;
    hasRepliesOrTypeText?: boolean;
    id?: number;
    id_in?: number[];
    id_not?: number;
    id_not_in?: number[];
    isFollowing?: boolean;
    mediaId?: number;
    mediaId_in?: number[];
    mediaId_not?: number;
    mediaId_not_in?: number[];
    messengerId?: number;
    messengerId_in?: number[];
    messengerId_not?: number;
    messengerId_not_in?: number[];
    page?: number;
    perPage?: number;
    sort?: string[];
    type?: string;
    type_in?: string[];
    type_not?: string;
    type_not_in?: string[];
    userId?: number;
    userId_in?: number[];
    userId_not?: number;
    userId_not_in?: number[];
}

Properties

asHtml?: boolean

asHtml is a boolean representing whether to return the result as HTML.

createdAt?: number

createdAt is a number representing the creation time of the activity.

createdAt_greater?: number

createdAt_greater is a number representing the minimum creation time.

hasReplies?: boolean

hasReplies is a boolean representing whether the activity has replies.

hasRepliesOrTypeText?: boolean

hasRepliesOrTypeText is a boolean representing whether the activity has replies or type text.

id?: number

id is a number representing the id of the activity.

id_in?: number[]

id_in is an array of numbers representing the ids that should be included.

id_not?: number

id_not is a number representing the id that should not be included.

id_not_in?: number[]

id_not_in is an array of numbers representing the ids that should not be included.

isFollowing?: boolean

isFollowing is a boolean representing whether the user is following.

mediaId?: number

mediaId is a number representing the id of the media.

mediaId_in?: number[]

mediaId_in is an array of numbers representing the media ids that should be included.

mediaId_not?: number

mediaId_not is a number representing the media id that should not be included.

mediaId_not_in?: number[]

mediaId_not_in is an array of numbers representing the media ids that should not be included.

messengerId?: number

messengerId is a number representing the id of the messenger.

messengerId_in?: number[]

messengerId_in is an array of numbers representing the messenger ids that should be included.

messengerId_not?: number

messengerId_not is a number representing the messenger id that should not be included.

messengerId_not_in?: number[]

messengerId_not_in is an array of numbers representing the messenger ids that should not be included.

page?: number

page is a number representing the page number.

perPage?: number

perPage is a number representing the number of items per page.

sort?: string[]

sort is an array of strings representing the sort order.

type?: string

type is a string representing the type of the activity.

type_in?: string[]

type_in is an array of strings representing the types that should be included.

type_not?: string

type_not is a string representing the type that should not be included.

type_not_in?: string[]

type_not_in is an array of strings representing the types that should not be included.

userId?: number

userId is a number representing the id of the user.

userId_in?: number[]

userId_in is an array of numbers representing the user ids that should be included.

userId_not?: number

userId_not is a number representing the user id that should not be included.

userId_not_in?: number[]

userId_not_in is an array of numbers representing the user ids that should not be included.