File tree 1 file changed +9
-1
lines changed
1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -54,6 +54,8 @@ final class MessageEntityType implements Enum
54
54
55
55
private const STRIKETHROUGH = 'strikethrough ' ;
56
56
57
+ private const BLOCKQUOTE = 'blockquote ' ;
58
+
57
59
private const LIST = [
58
60
self ::HASH_TAG ,
59
61
self ::CASH_TAG ,
@@ -71,7 +73,8 @@ final class MessageEntityType implements Enum
71
73
self ::CUSTOM_EMOJI ,
72
74
self ::UNDERLINE ,
73
75
self ::SPOILER ,
74
- self ::STRIKETHROUGH
76
+ self ::STRIKETHROUGH ,
77
+ self ::BLOCKQUOTE
75
78
];
76
79
77
80
/**
@@ -174,6 +177,11 @@ public static function strikethrough(): self
174
177
return new self (self ::STRIKETHROUGH );
175
178
}
176
179
180
+ public static function blockquote (): self
181
+ {
182
+ return new self (self ::BLOCKQUOTE );
183
+ }
184
+
177
185
public function equals (MessageEntityType $ type ): bool
178
186
{
179
187
return $ this ->value === $ type ->value ;
You can’t perform that action at this time.
0 commit comments