Skip to content

Subscriptions

Subscriptions Data Types used in Template Engine


TwitchChannel#

This data type describes all available data about Twitch user (channel).

Properties#
Property Type Description
id String Unique identifier
login String User's login name
url String URL of channel
displayName String User's display name
type String User's type:
  • staff
  • admin
  • global_mod
  • Will be empty if none
    broadcasterType String Streamer status:
  • partner
  • affiliate
  • Will be empty if none
    description String Channel description
    profileImageUrl String URL of the user’s profile image
    offlineImageUrl String URL of the user’s offline image
    viewCount Number Total number of views of the user’s channel

    TwitchStream#

    This data type describes all available data about Twitch stream.

    Properties#
    Property Type Description
    id String Unique identifier
    userId String ID of the user who is streaming
    gameId String ID of the game being played on the stream
    title String Stream title
    viewerCount Number Number of viewers watching the stream
    startedAt DateTime DateTime when stream is started
    language String Stream language
    thumbnailUrl String Thumbnail URL of the stream (1080p)
    thumbnailUrl720 String Thumbnail URL of the stream (720p)
    thumbnailUrl480 String Thumbnail URL of the stream (480p)

    TwitchGame#

    This data type describes all available data about Twitch game.

    Properties#
    Property Type Description
    id String Unique identifier
    name String Game name
    boxArtUrl String Box Art URL of the game (1080p)
    boxArtUrl720 String Box Art URL of the game (720p)
    boxArtUrl480 String Box Art URL of the game (480p)

    TrovoChannel#

    This data type describes all available data about Trovo user (channel).

    Properties#
    Property Type Description
    username String Username
    url String URL of channel
    audienceType String Target audience:
    • CHANNEL_AUDIENCE_TYPE_FAMILYFRIENDLY
    • CHANNEL_AUDIENCE_TYPE_TEEN
    • CHANNEL_AUDIENCE_TYPE_EIGHTEENPLUS
    description String Channel description
    profileImageUrl String URL of the user’s profile image
    followersAmount Number Amount of channel followers
    subscribersAmount Number Amount of channel subscribers
    socialLinks List<TrovoSocial> Streamer's social networks
    createdAt DateTime Channel creation

    TrovoStream#

    This data type describes all available data about Trovo stream.

    Properties#
    Property Type Description
    categoryId String Unique category identifier
    categoryName String Category name
    title String Stream title
    viewerCount Number Number of viewers watching the stream
    startedAt DateTime DateTime when stream is started
    language String Stream language
    thumbnailUrl String Thumbnail URL of the stream

    TrovoSocial#

    This data type describes all available data about Trovo social network link.

    Properties#
    Property Type Description
    type String Social network type
    url String URL of social network profile

    YouTubeChannel#

    This data type describes all available data about YouTube channel.

    Properties#
    Property Type Description
    id String Unique identifier
    title String Channel title
    url String URL of the channel

    YouTubeVideo#

    This data type describes all available data about YouTube video.

    Properties#
    Property Type Description
    id String Unique identifier
    title String Video title
    thumbnailUrl String Thumbnail URL of the video
    url String Page URL of the video
    publishedAt DateTime Date of publishing

    VkWallPost#

    This data type describes all available data about VK wall post.

    Properties#
    Property Type Description
    id Number Unique identifier
    text String Post content
    url String Page URL of the post
    type String Post Type:
  • post
  • copy
  • reply
  • postpone
  • suggest
  • groupId Number Public (Club) ID
    fromId Number Post author ID (could be negative if it is community ID)
    ownerId Number Wall owner's ID (could be negative if it is community ID)
    copyHistory List<VkWallPost> List of sub-posts (reposts)
    publishedAt DateTime Date of publishing
    editedAt DateTime Date of editing
    createdBy Number Post creator ID