예제 #1
0
 /// <summary>
 /// Pins an item to a channel.
 /// </summary>
 public Task <SlackBaseResponse> PinAsync(PinItem pinItem)
 => SendPostFormUrlEncodedAsync("add", pinItem);
예제 #2
0
 /// <inheritdoc cref="PinsClient.PinAsync(PinItem)"/>
 public Task <SlackBaseResponse> PinMessageAsync(PinItem pinItem)
 => Pins.PinAsync(pinItem);