I’m currently working on a Weechat plugin to connect to Mattermost through the Python driver.
Unfortunately, I can’t find a way to get connected user private message through the v4 API.
Get channels for user returns public channels in the team and direct messages but not private channels.
I can access the private channels by its names through Get a channel by name and team name but can’t find a way to get these name before.
Am I missing something or is it not possible with the API ?