Provide full channel object in INTERACTION_CREATE
instead of only an inconsistent partial one
#6270
Unanswered
mccoderpy
asked this question in
API Feature Requests & Ideas
Replies: 1 comment 1 reply
-
I think you would be more likely to get what you need if you request the specific fields you need, with use cases, instead of the whole object |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
As the interactions model is meant to be used in both ways, with and without gateway, it is very uncomfortable that we only get a partial
channel
object in theinteraction
object.Especially for pure HTTP interactions it would be useful to get this full object instead of only a partial one where you don't even know
what fields you can get from it except the "guarantied" ones:
type
andid
For example, a user of my Lib got an exception because the
parent_id
in a thread was missing, but when I tested it, it was present:So I think it would be the best to give a full channel object or at least do not (sometime) skip fields that are not optional for a channel type.
Beta Was this translation helpful? Give feedback.
All reactions