We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GetConversationHistory returns the following error: json: cannot unmarshal number into Go struct field Message.messages.blocks of type string
json: cannot unmarshal number into Go struct field Message.messages.blocks of type string
Use conversation with date Slack block that includes timestamp
{ "type": "date", "timestamp": 1666933200, "format": "{date} at {time}", "fallback": "not available", "style": { "bold": true } },
api := slack.New("YOUR_TOKEN") resp, err := api.GetConversationHistory(&slack.GetConversationHistoryParameters{ ChannelID: "ChannelID", Inclusive: true, Limit: 1, Oldest: "timestamp_of_message_above", })
The text was updated successfully, but these errors were encountered:
➕ getting the same error
Sorry, something went wrong.
It will be fixed in v0.12.
Successfully merging a pull request may close this issue.
What happened
GetConversationHistory returns the following error:
json: cannot unmarshal number into Go struct field Message.messages.blocks of type string
Expected behavior
Steps to reproduce
Use conversation with date Slack block that includes timestamp
reproducible code
manifest.yaml
Versions
The text was updated successfully, but these errors were encountered: