ActivityVariables is an interface representing the variables for the ActivityQuery. It includes optional id, userId, messengerId, mediaId, type, isFollowing, hasReplies, hasRepliesOrTypeText, createdAt, id_not, id_in, id_not_in, userId_not, userId_in, userId_not_in, messengerId_not, messengerId_in, messengerId_not_in, mediaId_not, mediaId_in, mediaId_not_in, type_not, type_in, type_not_in, createdAt_greater, sort, and asHtml.

interface ActivityVariables {
    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[];
    sort?: ActivitySort[];
    type?: ActivityType;
    type_in?: ActivityType[];
    type_not?: ActivityType;
    type_not_in?: ActivityType[];
    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 of the activities.

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 of the activities that should be included.

id_not?: number

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

id_not_in?: number[]

id_not_in is an array of numbers representing the ids of the activities 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 ids of the media that should be included.

mediaId_not?: number

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

mediaId_not_in?: number[]

mediaId_not_in is an array of numbers representing the ids of the media 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 ids of the messengers that should be included.

messengerId_not?: number

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

messengerId_not_in?: number[]

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

sort?: ActivitySort[]

sort is an array of strings representing the sort order.

type is a string representing the type of the activity.

type_in?: ActivityType[]

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

type_not?: ActivityType

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

type_not_in?: ActivityType[]

type_not_in is an array of strings representing the types of the activities 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 ids of the users that should be included.

userId_not?: number

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

userId_not_in?: number[]

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