When using actionMeetinWithCmd I can send a userID of 0 and this will alway refer to myself. However with the new method pinVideoToFirstView this returns an invalidArgumentError
I haven’t tested the other new methods yet.
I can obviously work around this, but it would be nice if the methods were consitent!
Just to make sure, am I correct in understanding that this does not prevent you from using this method for your self video if you retrieve your self ID and pass that in? If that’s not the case, this will have a higher priority on our end, so please let me know.
No - I can still pin myself if I can find my full userID - on that note is there an easier way of finding my userID than iterating through every user and asking if it’s me?
Unfortunately I am not aware of an easier way to do this through the SDK.
There is probably a way to do this through our REST API. If you’d like to consider that approach, you may find our API docs and #api-and-webhooks category of the forum helpful.