All URIs are relative to https://open.douyin.com
Method | HTTP request | Description |
---|---|---|
EnterpriseImCardDelete | Post /enterprise/im/card/delete | 删除消息卡片 |
EnterpriseImCardList | Get /enterprise/im/card/list | 获取消息卡片列表 |
EnterpriseImCardSave | Post /enterprise/im/card/save | 创建/更新消息卡片 |
EnterpriseImCardDeleteRsp EnterpriseImCardDelete(ctx, accessToken, openId, optional)
删除消息卡片
删除消息卡片
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
accessToken | string | 调用/oauth/access_token/生成的token,此token需要用户授权。 | |
openId | string | 通过/oauth/access_token/获取,用户唯一标志 | |
optional | *EnterpriseImCardDeleteOpts | optional parameters | nil if no parameters |
Optional parameters are passed through a pointer to a EnterpriseImCardDeleteOpts struct
Name | Type | Description | Notes |
---|
body | optional.Interface of EnterpriseImCardDeleteReq| |
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
EnterpriseImCardListRsp EnterpriseImCardList(ctx, accessToken, openId, cursor, count)
获取消息卡片列表
获取消息卡片列表
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
accessToken | string | 调用/oauth/access_token/生成的token,此token需要用户授权。 | |
openId | string | 通过/oauth/access_token/获取,用户唯一标志 | |
cursor | int64 | 分页游标, 第一页请求cursor是0, response中会返回下一页请求用到的cursor, 同时response还会返回has_more来表明是否有更多的数据。 | |
count | int64 | 每页数量 |
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
EnterpriseImCardSaveRsp EnterpriseImCardSave(ctx, accessToken, openId, optional)
创建/更新消息卡片
创建/更新消息卡片
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
accessToken | string | 调用/oauth/access_token/生成的token,此token需要用户授权。 | |
openId | string | 通过/oauth/access_token/获取,用户唯一标志 | |
optional | *EnterpriseImCardSaveOpts | optional parameters | nil if no parameters |
Optional parameters are passed through a pointer to a EnterpriseImCardSaveOpts struct
Name | Type | Description | Notes |
---|
body | optional.Interface of EnterpriseImCardSaveReq| |
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]