mirror of
https://github.com/tdlight-team/tdlight-telegram-bot-api.git
synced 2024-12-24 19:25:49 +01:00
deploy: 5a032f0af8
This commit is contained in:
parent
8e41bc7f14
commit
0c192b5764
2
dist/swagger-ui-bundle.js
vendored
2
dist/swagger-ui-bundle.js
vendored
File diff suppressed because one or more lines are too long
2
dist/swagger-ui-es-bundle-core.js
vendored
2
dist/swagger-ui-es-bundle-core.js
vendored
File diff suppressed because one or more lines are too long
2
dist/swagger-ui-es-bundle-core.js.map
vendored
2
dist/swagger-ui-es-bundle-core.js.map
vendored
File diff suppressed because one or more lines are too long
2
dist/swagger-ui-es-bundle.js
vendored
2
dist/swagger-ui-es-bundle.js
vendored
File diff suppressed because one or more lines are too long
2
dist/swagger-ui-standalone-preset.js
vendored
2
dist/swagger-ui-standalone-preset.js
vendored
File diff suppressed because one or more lines are too long
2
dist/swagger-ui.css
vendored
2
dist/swagger-ui.css
vendored
File diff suppressed because one or more lines are too long
2
dist/swagger-ui.css.map
vendored
2
dist/swagger-ui.css.map
vendored
File diff suppressed because one or more lines are too long
2
dist/swagger-ui.js
vendored
2
dist/swagger-ui.js
vendored
File diff suppressed because one or more lines are too long
2
dist/swagger-ui.js.map
vendored
2
dist/swagger-ui.js.map
vendored
File diff suppressed because one or more lines are too long
@ -854,90 +854,6 @@ paths:
|
|||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
$ref: '#/components/schemas/Error'
|
$ref: '#/components/schemas/Error'
|
||||||
/getNearbyChats:
|
|
||||||
post:
|
|
||||||
tags:
|
|
||||||
- added
|
|
||||||
- user-only
|
|
||||||
description: |-
|
|
||||||
*ONLY FOR USERS*
|
|
||||||
|
|
||||||
Returns a list of chats nearby the specified location. Telegram may send old results if you change your location too quick.
|
|
||||||
requestBody:
|
|
||||||
content:
|
|
||||||
application/x-www-form-urlencoded:
|
|
||||||
schema:
|
|
||||||
type: object
|
|
||||||
properties:
|
|
||||||
latitude:
|
|
||||||
description: Latitude of the location
|
|
||||||
type: number
|
|
||||||
longitude:
|
|
||||||
description: Longitude of the location
|
|
||||||
type: number
|
|
||||||
horizontal_accuracy:
|
|
||||||
description: 'The radius of uncertainty for the location, measured in meters; 0-1500'
|
|
||||||
type: number
|
|
||||||
required:
|
|
||||||
- latitude
|
|
||||||
- longitude
|
|
||||||
multipart/form-data:
|
|
||||||
schema:
|
|
||||||
type: object
|
|
||||||
properties:
|
|
||||||
latitude:
|
|
||||||
description: Latitude of the location
|
|
||||||
type: number
|
|
||||||
longitude:
|
|
||||||
description: Longitude of the location
|
|
||||||
type: number
|
|
||||||
horizontal_accuracy:
|
|
||||||
description: 'The radius of uncertainty for the location, measured in meters; 0-1500'
|
|
||||||
type: number
|
|
||||||
required:
|
|
||||||
- latitude
|
|
||||||
- longitude
|
|
||||||
application/json:
|
|
||||||
schema:
|
|
||||||
type: object
|
|
||||||
properties:
|
|
||||||
latitude:
|
|
||||||
description: Latitude of the location
|
|
||||||
type: number
|
|
||||||
longitude:
|
|
||||||
description: Longitude of the location
|
|
||||||
type: number
|
|
||||||
horizontal_accuracy:
|
|
||||||
description: 'The radius of uncertainty for the location, measured in meters; 0-1500'
|
|
||||||
type: number
|
|
||||||
required:
|
|
||||||
- latitude
|
|
||||||
- longitude
|
|
||||||
required: true
|
|
||||||
responses:
|
|
||||||
'200':
|
|
||||||
description: ''
|
|
||||||
content:
|
|
||||||
application/json:
|
|
||||||
schema:
|
|
||||||
type: object
|
|
||||||
properties:
|
|
||||||
ok:
|
|
||||||
default: true
|
|
||||||
type: boolean
|
|
||||||
result:
|
|
||||||
type: array
|
|
||||||
items:
|
|
||||||
$ref: '#/components/schemas/Chat'
|
|
||||||
required:
|
|
||||||
- ok
|
|
||||||
- result
|
|
||||||
default:
|
|
||||||
description: ''
|
|
||||||
content:
|
|
||||||
application/json:
|
|
||||||
schema:
|
|
||||||
$ref: '#/components/schemas/Error'
|
|
||||||
/searchPublicChats:
|
/searchPublicChats:
|
||||||
post:
|
post:
|
||||||
tags:
|
tags:
|
||||||
|
Loading…
Reference in New Issue
Block a user