SlackAPI
SlackAPI copied to clipboard
Fix UpdateAsync (and Update) not to pass "as_user" unless specified
These methods currently post as_user: false if as_user is unspecified. They should follow the pattern defined in the PostMessage methods, which allow omitting as_user. Per slack docs, the as_user argument results in an error for new (non-bot) slack apps, even when it's set to false.