Class News

Represents a News object from the Activity Feed

Hierarchy

  • News

Constructors

Properties

#client: Client<boolean>
#payload: APINews

Accessors

  • get banId(): null | string
  • The ID of the Ban associated with the News object

    Returns null | string

  • get banMessage(): null | string
  • The message associated with the Ban associated with the News object

    Returns null | string

  • get banType(): null | "chat_access" | "comment_creation" | "content_creation" | "profile_access" | "repubing" | "smiling" | "subscribing" | "other" | "collective_shadow"
  • The type of the Ban associated with the News object

    Returns null | "chat_access" | "comment_creation" | "content_creation" | "profile_access" | "repubing" | "smiling" | "subscribing" | "other" | "collective_shadow"

  • get countActiveStrike(): null | number
  • The current number of active strikes for the Client

    Returns null | number

  • get dateUntil(): null | Date
  • The date that the Ban or Strike will expire

    Returns null | Date

  • get imageUrl(): null | string
  • The URL of the image associated with the News object

    Returns null | string

  • get purchaseType(): null | string
  • The type of purchase associated with the News object

    Returns null | string

  • get smiles(): null | number
  • The number of smiles associated with the News object

    Returns null | number

  • get strikeId(): null | string
  • The ID of the strike associated with the News object

    Returns null | string

  • get text(): null | string
  • The message associated with the strike associated with the News object

    Returns null | string

  • get type(): "special" | "comment" | "mention_content" | "ban" | "ban_action" | "comment_for_repub" | "content_boost" | "user_deleted" | "featured" | "friend_registered" | "geo_friend_accepted" | "geo_friend_rejected" | "geo_friend_request" | "mention_user" | "purchase_onetime" | "purchase_subscription" | "rejected_by_customs" | "reply_for_comment" | "reported_comment_banned" | "reported_content_banned" | "reported_user_banned" | "repub" | "repub_of_repub" | "smile" | "smile_for_comment" | "smile_for_reply" | "smile_for_repub" | "smile_tracker" | "strike_action" | "expire_strike" | "subscribe" | "unban" | "unban_action" | "user_undeleted"
  • The type of the News object

    Returns "special" | "comment" | "mention_content" | "ban" | "ban_action" | "comment_for_repub" | "content_boost" | "user_deleted" | "featured" | "friend_registered" | "geo_friend_accepted" | "geo_friend_rejected" | "geo_friend_request" | "mention_user" | "purchase_onetime" | "purchase_subscription" | "rejected_by_customs" | "reply_for_comment" | "reported_comment_banned" | "reported_content_banned" | "reported_user_banned" | "repub" | "repub_of_repub" | "smile" | "smile_for_comment" | "smile_for_reply" | "smile_for_repub" | "smile_tracker" | "strike_action" | "expire_strike" | "subscribe" | "unban" | "unban_action" | "user_undeleted"

  • get username(): null | string
  • The username associated with the News object

    Returns null | string

Methods

Generated using TypeDoc