This repository was archived by the owner on Jan 28, 2019. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +2
-11
lines changed
Expand file tree Collapse file tree 2 files changed +2
-11
lines changed Original file line number Diff line number Diff line change @@ -205,15 +205,4 @@ public struct NetworkInterface {
205205 return " slackkit.boundary. \( arc4random ( ) ) \( arc4random ( ) ) "
206206 #endif
207207 }
208-
209- // MARK: - Filter Nil Parameters
210- private func filterNilParameters( _ parameters: [ String : Any ? ] ) -> [ String : Any ] {
211- var finalParameters = [ String: Any] ( )
212- for (key, value) in parameters {
213- if let unwrapped = value {
214- finalParameters [ key] = unwrapped
215- }
216- }
217- return finalParameters
218- }
219208}
Original file line number Diff line number Diff line change @@ -225,6 +225,7 @@ extension WebAPI {
225225 channel: String ,
226226 thread: String ,
227227 text: String ,
228+ broadcastReply: Bool = false ,
228229 username: String ? = nil ,
229230 asUser: Bool ? = nil ,
230231 parse: ParseMode ? = nil ,
@@ -242,6 +243,7 @@ extension WebAPI {
242243 " channel " : channel,
243244 " thread_ts " : thread,
244245 " text " : text. slackFormatEscaping,
246+ " broadcastReply " : broadcastReply,
245247 " as_user " : asUser,
246248 " parse " : parse? . rawValue,
247249 " link_names " : linkNames,
You can’t perform that action at this time.
0 commit comments