Skip to main content

功能说明

查询Bot列表

请求说明

请求鉴权:接口需要增加验证 Header,请查看 鉴权说明

请求类型GET

请求限频100次/秒

请求地址:https://请求域名/jim/telegrambots/list

Content-Typeapplication/json

请求参数

参数数据类型是否必填参数说明
offsetstring用于分页,查询Bot列表的起始位置
countint单页数量,默认20,最大不超过50

请求示例

GET /jim/telegrambots/list?count=50 HTTP/1.1
appkey: appkey
Authorization: xxxxxxxxxxxxxxxxxx
Content-Type: application/json

响应示例

{
"code":0,
"msg":"sucess",
"data":{
"items":[
{
"bot_id":"botid1",
"bot_name":"bot1",
"bot_token":"xxxxxxxx",
"created_time":1732123456789
},{
"user_id":"botid2",
"bot_name":"bot2",
"bot_token":"xxxxxxxx",
"created_time":1751234567876
}
],
"offset":"xxxx"
}
}