Get direct chat
Get direct chat
GET http://h1.eko12.local/bot/v2/groups/users/:uid
Get the a direct chat between bot and a given user. If not found, a new one will be created.
curl --location '{process.env.EKO_HTTP_URI}/bot/v2/groups/users/677e46a5e2e09e162843f948' \
--header 'Authorization: Bearer {token}Path Parameters
Name
Type
Description
uid
string
User ID
{
"gid": 123,
"tid": 456
}Last updated