File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Expand file tree Collapse file tree 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
5454
5555 private const STRIKETHROUGH = 'strikethrough ' ;
5656
57+ private const BLOCKQUOTE = 'blockquote ' ;
58+
5759 private const LIST = [
5860 self ::HASH_TAG ,
5961 self ::CASH_TAG ,
@@ -71,7 +73,8 @@ final class MessageEntityType implements Enum
7173 self ::CUSTOM_EMOJI ,
7274 self ::UNDERLINE ,
7375 self ::SPOILER ,
74- self ::STRIKETHROUGH
76+ self ::STRIKETHROUGH ,
77+ self ::BLOCKQUOTE
7578 ];
7679
7780 /**
@@ -174,6 +177,11 @@ public static function strikethrough(): self
174177 return new self (self ::STRIKETHROUGH );
175178 }
176179
180+ public static function blockquote (): self
181+ {
182+ return new self (self ::BLOCKQUOTE );
183+ }
184+
177185 public function equals (MessageEntityType $ type ): bool
178186 {
179187 return $ this ->value === $ type ->value ;
You can’t perform that action at this time.
0 commit comments