File tree 1 file changed +9
-0
lines changed
1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -45,6 +45,9 @@ final class MessageEntityType implements Enum
45
45
46
46
private const MENTION = 'mention ' ;
47
47
48
+
49
+ private const CUSTOM_EMOJI = 'custom_emoji ' ;
50
+
48
51
private const UNDERLINE = 'underline ' ;
49
52
50
53
private const SPOILER = 'spoiler ' ;
@@ -65,6 +68,7 @@ final class MessageEntityType implements Enum
65
68
self ::TEXT_LINK ,
66
69
self ::TEXT_MENTION ,
67
70
self ::MENTION ,
71
+ self ::CUSTOM_EMOJI ,
68
72
self ::UNDERLINE ,
69
73
self ::SPOILER ,
70
74
self ::STRIKETHROUGH
@@ -150,6 +154,11 @@ public static function mention(): self
150
154
return new self (self ::MENTION );
151
155
}
152
156
157
+ public static function customEmoji (): self
158
+ {
159
+ return new self (self ::CUSTOM_EMOJI );
160
+ }
161
+
153
162
public static function underline (): self
154
163
{
155
164
return new self (self ::UNDERLINE );
You can’t perform that action at this time.
0 commit comments