File tree 2 files changed +12
-0
lines changed
src/Symfony/Component/Notifier/Bridge/Slack
2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -181,4 +181,14 @@ public function username(string $username): self
181
181
182
182
return $ this ;
183
183
}
184
+
185
+ /**
186
+ * @return $this
187
+ */
188
+ public function threadTs (string $ threadTs ): self
189
+ {
190
+ $ this ->options ['thread_ts ' ] = $ threadTs ;
191
+
192
+ return $ this ;
193
+ }
184
194
}
Original file line number Diff line number Diff line change @@ -70,6 +70,7 @@ public function toArraySimpleOptionsProvider(): iterable
70
70
yield [['unfurl_links ' => true ]];
71
71
yield [['unfurl_media ' => true ]];
72
72
yield [['username ' => 'baz ' ]];
73
+ yield [['thread_ts ' => '1503435956.000247 ' ]];
73
74
}
74
75
75
76
/**
@@ -111,6 +112,7 @@ public function setProvider(): iterable
111
112
yield ['unfurlLinks ' , 'unfurl_links ' , true ];
112
113
yield ['unfurlMedia ' , 'unfurl_media ' , true ];
113
114
yield ['username ' , 'username ' , 'baz ' ];
115
+ yield ['threadTs ' , 'thread_ts ' , '1503435956.000247 ' ];
114
116
}
115
117
116
118
public function testSetBlock ()
You can’t perform that action at this time.
0 commit comments