-
Notifications
You must be signed in to change notification settings - Fork 137
New issue
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
Add support for message reactions #111
Conversation
|
||
protected const DELETE_PATH = "/v1/message-actions/%s/channel/%s/message/%s/action/%s"; | ||
protected string $channel; | ||
protected int | float $messageTimetoken; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why float is used here?
In other operations like AddMessageAction or GeMessageAction there is no float for timetokens definitions.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
int or float is compatible with PNMessageAction
DTO class
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is float needed in PNMessageAction
DTO class?
What value it brings?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it is carried from publish response where it's cast to float. int is also valid hence the union type. it is later cast to string to concat with other requests value
b689e5d
to
87962c5
Compare
@pubnub-release-bot release |
🚀 Release successfully completed 🚀 |
feat: Support for adding, getting and deleting message reactions