slack-api-android icon indicating copy to clipboard operation
slack-api-android copied to clipboard

superfluous_charset warning

Open keerthiprasad opened this issue 8 years ago • 1 comments

Hi,

I am trying to post a message in the SlackBot using the postMessage(Im_Id,message,"slackbot",false) but I am getting the following warning.

{"ok":true,"channel":"D4Y1VP0G0","ts":"1501758978.758433","message":{"text":"hi","username":"slackbot","bot_id":"B5029JKK3","type":"message","subtype":"bot_message","ts":"1501758978.758433"},"warning":"superfluous_charset","response_metadata":{"warnings":["superfluous_charset"]}}

channel is the IM id of slackbot

let me if i have to use meMessage or postMessage to send the message in the slackbot.

keerthiprasad avatar Aug 03 '17 11:08 keerthiprasad

Confirmed,

Will specify the charset recommended in the docs: https://api.slack.com/methods/chat.postMessage

This is just a warning though and your message should still be posted.

pschroen avatar Aug 09 '17 12:08 pschroen