Closed zmarushchak-hs closed 4 years ago
V2 Slack app doesn't support as_user param for chat.postEphemeral method. Here is the error:
as_user
{ "ok" : false, "error" : "invalid_arguments", "deprecated_argument" : "as_user", "warning" : "missing_charset", "response_metadata" : { "warnings" : [ "missing_charset" ] }
This PR adds annotation to not include as_user param if it's value is not present. It'll be treated as false in such case.
false
Please see also: https://api.slack.com/authentication/quickstart#calling
V2 Slack app doesn't support
as_user
param for chat.postEphemeral method.Here is the error:
This PR adds annotation to not include
as_user
param if it's value is not present. It'll be treated asfalse
in such case.Please see also: https://api.slack.com/authentication/quickstart#calling