From 8c148952a95ee756038bc0e7afbf52f63249227f Mon Sep 17 00:00:00 2001 From: ilotterytea Date: Wed, 30 Apr 2025 00:49:05 +0500 Subject: feat: emote visibility --- src/emote.php | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'src/emote.php') diff --git a/src/emote.php b/src/emote.php index b10fbeb..63d5746 100644 --- a/src/emote.php +++ b/src/emote.php @@ -8,8 +8,9 @@ class Emote public int $created_at; public mixed $rating; public bool $is_in_user_set; + public int $visibility; - function __construct($id, $code, $ext, $created_at, $uploaded_by, $is_in_user_set, $rating) + function __construct($id, $code, $ext, $created_at, $uploaded_by, $is_in_user_set, $rating, $visibility) { $this->id = $id; $this->code = $code; @@ -18,6 +19,7 @@ class Emote $this->uploaded_by = $uploaded_by; $this->is_in_user_set = $is_in_user_set; $this->rating = $rating; + $this->visibility = $visibility; } function get_id() @@ -54,4 +56,9 @@ class Emote { return $this->rating; } + + function get_visibility() + { + return $this->visibility; + } } -- cgit v1.2.3