You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
NOTE: I have created the "random" channel and added the bot to it. Still, when adding the params to the sender, it still didn't send the message to the desired "random" channel. Instead, it sent it to the one corresponding to one of the tokens (I guess it must be C, not sure).
The text was updated successfully, but these errors were encountered:
Yeah, the Params overrides need to implemented in every service, and I think SMTP might be the only service that fully implements it.
Slack, like you used in your code above, does not handle them at all:
There should be a generic solution for all services to use by just adding a tag to their config.
Also, what parts can be overridden by params (and that it's that that they are used for) needs to be documented.
piksel
changed the title
passing *types.Params into the Sender doesn't override the corresponding token given from URL
Almost no services implements params overrides
Nov 26, 2020
So, I tried to test the sender creation feature.
The code looks like this:
NOTE: I have created the "random" channel and added the bot to it. Still, when adding the params to the sender, it still didn't send the message to the desired "random" channel. Instead, it sent it to the one corresponding to one of the tokens (I guess it must be C, not sure).
The text was updated successfully, but these errors were encountered: