Comments (3)
Funny I just ran into this as well. It showed up when I @ mentioned
the bot in a channel it was not subscribed to, and then instructed slack to send them a message to the mention. The response has "ts":"1469909830.000018"
in the attachment section.
I changed the json serializer to a string
and this fixed the issue. Tests pass as well. But not sure what this breaks in reality.
It looks like the slack docs do call for an integer but now they are returning a string (as well?).
To replicate follow the NewRTM example, connect to slack, @ mention
the bot, then have slackbot send them a link to your message
.
The other thing of interest that I have not figured out is after this happens restarting the bot causes ConnectingEventErrors
and then you get throttled. It goes away but not sure if it was because of time passing or me messing with /inviting
and /kicking
the bot.
from slack.
I changed to to string as well but it crashed in some other place, not sure if in different person's DM or @yourownnick. Will have to check it tomorrow but I think that changing the type doesn't solve the underlying issue. Is there a way to decode to int even if it's string (or from int to string)? Some custom dynamic mapping in go?
from slack.
use interface{} as data type
see https://github.com/nlopes/slack/issues/115
from slack.
Related Issues (20)
- Get Block data from webhook payload
- request for a release cut HOT 2
- Release 0.21.4 breaks slash commands in socket mode
- Slash Command returns "bad_error_message" HOT 7
- file_input feature support in slack-go HOT 2
- Unable to render buttons using slack.Attachment HOT 2
- Receiving no payload on websocket based events HOT 2
- Custom http client Resty retry function does not work
- Not possible to set initial value of RichTextInputBlockElement due to wrong type HOT 2
- bug: Missing `team_id` param HOT 1
- Why doesn't the getFile method return []body HOT 2
- Unable to post messages when in deployment HOT 4
- files.upload is getting deprecated by Slack HOT 1
- Upload Files V2: Ability to upload multiple files in one message HOT 1
- UploadFileV2 uploads incorrectly when using text `Content` parameter
- conversations.history unmarshall bug HOT 1
- AddRemoteFile fails because of token in querystring HOT 4
- Slack Functions HOT 2
- Events API Reconciliation HOT 3
- conversations.invite force argument request
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from slack.