# 消息接口/AllTick

## 生成TG绑定地址

> 说明：登录客户请求获取TG绑定地址\
> \`\`\`\
> version=0.0.1\
> bizType=message.app.CustomerTgBindApiService.createTgQrCode\
> \`\`\`

````json
{"openapi":"3.0.1","info":{"title":"默认模块","version":"1.0.0"},"tags":[{"name":"消息接口/AllTick"}],"servers":[{"url":"https://prewppc-3.cmfbl.com/api","description":"PRE测试公司439"}],"security":[],"paths":{"/global/message.app.CustomerTgBindApiService.createTgQrCode":{"post":{"summary":"生成TG绑定地址","deprecated":false,"description":"说明：登录客户请求获取TG绑定地址\n```\nversion=0.0.1\nbizType=message.app.CustomerTgBindApiService.createTgQrCode\n```","tags":["消息接口/AllTick"],"parameters":[{"name":"companyId","in":"header","description":"","required":false,"schema":{"type":"string"}},{"name":"lang","in":"header","description":"","required":false,"schema":{"type":"string"}},{"name":"trace","in":"header","description":"","required":false,"schema":{"type":"string"}},{"name":"version","in":"header","description":"","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{}}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"bizCode":{"type":"string","title":"模块标识码","description":"模块标识码"},"code":{"type":"string","title":"状态返回码","description":"状态返回码"},"msg":{"type":"string","title":"状态描述","description":"状态描述"},"tm":{"type":"integer","format":"int64","title":"处理时长（毫秒）","description":"处理时长（毫秒）"},"trace":{"type":"string","title":"跟踪码","description":"跟踪码"},"msgParams":{"type":"string","title":"返回描述中占位符参数串，多个参数间以,分割","description":"返回描述中占位符参数串，多个参数间以,分割"},"ok":{"type":"boolean"},"fail":{"type":"boolean"},"data":{"type":"string","title":"绑定地址","description":"绑定地址"}}}}},"headers":{}}}}}}}
````

## 解绑TG账号

> 说明：登录客户解绑已经绑定过的TG账号\
> \`\`\`\
> version=0.0.1\
> bizType=message.app.CustomerTgBindApiService.unbindTg\
> \`\`\`

````json
{"openapi":"3.0.1","info":{"title":"默认模块","version":"1.0.0"},"tags":[{"name":"消息接口/AllTick"}],"servers":[{"url":"https://prewppc-3.cmfbl.com/api","description":"PRE测试公司439"}],"security":[],"paths":{"/global/message.app.CustomerTgBindApiService.unbindTg":{"post":{"summary":"解绑TG账号","deprecated":false,"description":"说明：登录客户解绑已经绑定过的TG账号\n```\nversion=0.0.1\nbizType=message.app.CustomerTgBindApiService.unbindTg\n```","tags":["消息接口/AllTick"],"parameters":[{"name":"companyId","in":"header","description":"","required":false,"schema":{"type":"string"}},{"name":"lang","in":"header","description":"","required":false,"schema":{"type":"string"}},{"name":"trace","in":"header","description":"","required":false,"schema":{"type":"string"}},{"name":"version","in":"header","description":"","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"chatId":{"type":"string","title":"TG账号Id"}},"required":["chatId"]}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"bizCode":{"type":"string","title":"模块标识码","description":"模块标识码"},"code":{"type":"string","title":"状态返回码","description":"状态返回码"},"msg":{"type":"string","title":"状态描述","description":"状态描述"},"tm":{"type":"integer","format":"int64","title":"处理时长（毫秒）","description":"处理时长（毫秒）"},"trace":{"type":"string","title":"跟踪码","description":"跟踪码"},"msgParams":{"type":"string","title":"返回描述中占位符参数串，多个参数间以,分割","description":"返回描述中占位符参数串，多个参数间以,分割"},"ok":{"type":"boolean"},"fail":{"type":"boolean"},"data":{"type":"boolean","title":"解绑结果"}}}}},"headers":{}}}}}}}
````

## 查询已绑定TG列表

> 说明：登录客户请求获取TG绑定地址\
> \`\`\`\
> version=0.0.1\
> bizType=message.app.CustomerTgBindApiService.queryCustomerTgBindList\
> \`\`\`

````json
{"openapi":"3.0.1","info":{"title":"默认模块","version":"1.0.0"},"tags":[{"name":"消息接口/AllTick"}],"servers":[{"url":"https://prewppc-3.cmfbl.com/api","description":"PRE测试公司439"}],"security":[],"paths":{"/global/message.app.CustomerTgBindApiService.queryCustomerTgBindList":{"post":{"summary":"查询已绑定TG列表","deprecated":false,"description":"说明：登录客户请求获取TG绑定地址\n```\nversion=0.0.1\nbizType=message.app.CustomerTgBindApiService.queryCustomerTgBindList\n```","tags":["消息接口/AllTick"],"parameters":[{"name":"companyId","in":"header","description":"","required":false,"schema":{"type":"string"}},{"name":"lang","in":"header","description":"","required":false,"schema":{"type":"string"}},{"name":"trace","in":"header","description":"","required":false,"schema":{"type":"string"}},{"name":"version","in":"header","description":"","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{}}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"bizCode":{"type":"string","title":"模块标识码","description":"模块标识码"},"code":{"type":"string","title":"状态返回码","description":"状态返回码"},"msg":{"type":"string","title":"状态描述","description":"状态描述"},"tm":{"type":"integer","format":"int64","title":"处理时长（毫秒）","description":"处理时长（毫秒）"},"trace":{"type":"string","title":"跟踪码","description":"跟踪码"},"msgParams":{"type":"string","title":"返回描述中占位符参数串，多个参数间以,分割","description":"返回描述中占位符参数串，多个参数间以,分割"},"ok":{"type":"boolean"},"fail":{"type":"boolean"},"data":{"type":"array","items":{"type":"object","properties":{"chatId":{"type":"string","title":"TG用户Id"},"firstName":{"type":"string","title":"TG用户名"},"lastName":{"type":"string","title":"TG用户姓"}}},"title":"绑定TG账号列表"}}}}},"headers":{}}}}}}}
````

## 分页查询已绑定TG列表

> 说明：登录客户请求获取TG绑定地址\
> \`\`\`\
> version=0.0.1\
> bizType=message.app.CustomerTgBindApiService.queryCustomerTgBindListByPage\
> \`\`\`

````json
{"openapi":"3.0.1","info":{"title":"默认模块","version":"1.0.0"},"tags":[{"name":"消息接口/AllTick"}],"servers":[{"url":"https://prewppc-3.cmfbl.com/api","description":"PRE测试公司439"}],"security":[],"paths":{"/global/message.app.CustomerTgBindApiService.queryCustomerTgBindListByPage":{"post":{"summary":"分页查询已绑定TG列表","deprecated":false,"description":"说明：登录客户请求获取TG绑定地址\n```\nversion=0.0.1\nbizType=message.app.CustomerTgBindApiService.queryCustomerTgBindListByPage\n```","tags":["消息接口/AllTick"],"parameters":[{"name":"companyId","in":"header","description":"","required":false,"schema":{"type":"string"}},{"name":"lang","in":"header","description":"","required":false,"schema":{"type":"string"}},{"name":"trace","in":"header","description":"","required":false,"schema":{"type":"string"}},{"name":"version","in":"header","description":"","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"size":{"type":"integer","format":"long","title":"每页条数","description":"默认20"},"current":{"type":"integer","format":"long","title":"当前页","description":"默认1"}}}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"bizCode":{"type":"string","title":"模块标识码","description":"模块标识码"},"code":{"type":"string","title":"状态返回码","description":"状态返回码"},"msg":{"type":"string","title":"状态描述","description":"状态描述"},"tm":{"type":"integer","format":"int64","title":"处理时长（毫秒）","description":"处理时长（毫秒）"},"trace":{"type":"string","title":"跟踪码","description":"跟踪码"},"msgParams":{"type":"string","title":"返回描述中占位符参数串，多个参数间以,分割","description":"返回描述中占位符参数串，多个参数间以,分割"},"ok":{"type":"boolean"},"fail":{"type":"boolean"},"data":{"type":"object","properties":{"total":{"type":"integer","format":"long","title":"总数"},"size":{"type":"integer","format":"long","title":"每页条数"},"current":{"type":"integer","format":"long","title":"当前页"},"records":{"type":"array","items":{"type":"object","properties":{"chatId":{"type":"string","title":"TG用户id"},"firstName":{"type":"string","title":"TG用户名"},"lastName":{"type":"string","title":"TG用户姓"}}},"title":"绑定TG账号列表"}},"title":"分页信息"}}}}},"headers":{}}}}}}}
````


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs-cn.multimarkets.org/client-api/geng-duo-.../xiao-xi-jie-kou-alltick.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
