mirror of
https://github.com/Sysbot-org/tgscraper.git
synced 2024-11-26 21:46:47 +01:00
deploy: 3eb29c5427
This commit is contained in:
parent
9356b16d12
commit
4dcc2a5505
@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"version": "7.6.0",
|
"version": "7.7.0",
|
||||||
"types": [
|
"types": [
|
||||||
{
|
{
|
||||||
"name": "Update",
|
"name": "Update",
|
||||||
@ -1304,6 +1304,14 @@
|
|||||||
"optional": true,
|
"optional": true,
|
||||||
"description": "Optional. Message is a service message about a successful payment, information about the payment. More about payments »"
|
"description": "Optional. Message is a service message about a successful payment, information about the payment. More about payments »"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "refunded_payment",
|
||||||
|
"types": [
|
||||||
|
"RefundedPayment"
|
||||||
|
],
|
||||||
|
"optional": true,
|
||||||
|
"description": "Optional. Message is a service message about a refunded payment, information about the payment. More about payments »"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "users_shared",
|
"name": "users_shared",
|
||||||
"types": [
|
"types": [
|
||||||
@ -10132,6 +10140,53 @@
|
|||||||
],
|
],
|
||||||
"extended_by": []
|
"extended_by": []
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "RefundedPayment",
|
||||||
|
"description": "This object contains basic information about a refunded payment.",
|
||||||
|
"fields": [
|
||||||
|
{
|
||||||
|
"name": "currency",
|
||||||
|
"types": [
|
||||||
|
"string"
|
||||||
|
],
|
||||||
|
"optional": false,
|
||||||
|
"description": "Three-letter ISO 4217 currency code, or “XTR” for payments in Telegram Stars. Currently, always “XTR”"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "total_amount",
|
||||||
|
"types": [
|
||||||
|
"int"
|
||||||
|
],
|
||||||
|
"optional": false,
|
||||||
|
"description": "Total refunded price in the smallest units of the currency (integer, not float/double). For example, for a price of US$ 1.45, total_amount = 145. See the exp parameter in currencies.json, it shows the number of digits past the decimal point for each currency (2 for the majority of currencies)."
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "invoice_payload",
|
||||||
|
"types": [
|
||||||
|
"string"
|
||||||
|
],
|
||||||
|
"optional": false,
|
||||||
|
"description": "Bot-specified invoice payload"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "telegram_payment_charge_id",
|
||||||
|
"types": [
|
||||||
|
"string"
|
||||||
|
],
|
||||||
|
"optional": false,
|
||||||
|
"description": "Telegram payment identifier"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "provider_payment_charge_id",
|
||||||
|
"types": [
|
||||||
|
"string"
|
||||||
|
],
|
||||||
|
"optional": true,
|
||||||
|
"description": "Optional. Provider payment identifier"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"extended_by": []
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "ShippingQuery",
|
"name": "ShippingQuery",
|
||||||
"description": "This object contains information about an incoming shipping query.",
|
"description": "This object contains information about an incoming shipping query.",
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
version: 7.6.0
|
version: 7.7.0
|
||||||
types:
|
types:
|
||||||
-
|
-
|
||||||
name: Update
|
name: Update
|
||||||
@ -983,6 +983,12 @@ types:
|
|||||||
- SuccessfulPayment
|
- SuccessfulPayment
|
||||||
optional: true
|
optional: true
|
||||||
description: 'Optional. Message is a service message about a successful payment, information about the payment. More about payments »'
|
description: 'Optional. Message is a service message about a successful payment, information about the payment. More about payments »'
|
||||||
|
-
|
||||||
|
name: refunded_payment
|
||||||
|
types:
|
||||||
|
- RefundedPayment
|
||||||
|
optional: true
|
||||||
|
description: 'Optional. Message is a service message about a refunded payment, information about the payment. More about payments »'
|
||||||
-
|
-
|
||||||
name: users_shared
|
name: users_shared
|
||||||
types:
|
types:
|
||||||
@ -7596,6 +7602,41 @@ types:
|
|||||||
optional: false
|
optional: false
|
||||||
description: 'Provider payment identifier'
|
description: 'Provider payment identifier'
|
||||||
extended_by: { }
|
extended_by: { }
|
||||||
|
-
|
||||||
|
name: RefundedPayment
|
||||||
|
description: 'This object contains basic information about a refunded payment.'
|
||||||
|
fields:
|
||||||
|
-
|
||||||
|
name: currency
|
||||||
|
types:
|
||||||
|
- string
|
||||||
|
optional: false
|
||||||
|
description: 'Three-letter ISO 4217 currency code, or “XTR” for payments in Telegram Stars. Currently, always “XTR”'
|
||||||
|
-
|
||||||
|
name: total_amount
|
||||||
|
types:
|
||||||
|
- int
|
||||||
|
optional: false
|
||||||
|
description: 'Total refunded price in the smallest units of the currency (integer, not float/double). For example, for a price of US$ 1.45, total_amount = 145. See the exp parameter in currencies.json, it shows the number of digits past the decimal point for each currency (2 for the majority of currencies).'
|
||||||
|
-
|
||||||
|
name: invoice_payload
|
||||||
|
types:
|
||||||
|
- string
|
||||||
|
optional: false
|
||||||
|
description: 'Bot-specified invoice payload'
|
||||||
|
-
|
||||||
|
name: telegram_payment_charge_id
|
||||||
|
types:
|
||||||
|
- string
|
||||||
|
optional: false
|
||||||
|
description: 'Telegram payment identifier'
|
||||||
|
-
|
||||||
|
name: provider_payment_charge_id
|
||||||
|
types:
|
||||||
|
- string
|
||||||
|
optional: true
|
||||||
|
description: 'Optional. Provider payment identifier'
|
||||||
|
extended_by: { }
|
||||||
-
|
-
|
||||||
name: ShippingQuery
|
name: ShippingQuery
|
||||||
description: 'This object contains information about an incoming shipping query.'
|
description: 'This object contains information about an incoming shipping query.'
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
"info": {
|
"info": {
|
||||||
"title": "Telegram Bot API",
|
"title": "Telegram Bot API",
|
||||||
"description": "Auto-generated OpenAPI schema by TGScraper.",
|
"description": "Auto-generated OpenAPI schema by TGScraper.",
|
||||||
"version": "7.6.0"
|
"version": "7.7.0"
|
||||||
},
|
},
|
||||||
"servers": [
|
"servers": [
|
||||||
{
|
{
|
||||||
@ -735,6 +735,9 @@
|
|||||||
"successful_payment": {
|
"successful_payment": {
|
||||||
"$ref": "#/components/schemas/SuccessfulPayment"
|
"$ref": "#/components/schemas/SuccessfulPayment"
|
||||||
},
|
},
|
||||||
|
"refunded_payment": {
|
||||||
|
"$ref": "#/components/schemas/RefundedPayment"
|
||||||
|
},
|
||||||
"users_shared": {
|
"users_shared": {
|
||||||
"$ref": "#/components/schemas/UsersShared"
|
"$ref": "#/components/schemas/UsersShared"
|
||||||
},
|
},
|
||||||
@ -5851,6 +5854,33 @@
|
|||||||
},
|
},
|
||||||
"type": "object"
|
"type": "object"
|
||||||
},
|
},
|
||||||
|
"RefundedPayment": {
|
||||||
|
"description": "This object contains basic information about a refunded payment.",
|
||||||
|
"required": [
|
||||||
|
"currency",
|
||||||
|
"total_amount",
|
||||||
|
"invoice_payload",
|
||||||
|
"telegram_payment_charge_id"
|
||||||
|
],
|
||||||
|
"properties": {
|
||||||
|
"currency": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"total_amount": {
|
||||||
|
"type": "integer"
|
||||||
|
},
|
||||||
|
"invoice_payload": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"telegram_payment_charge_id": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"provider_payment_charge_id": {
|
||||||
|
"type": "string"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"type": "object"
|
||||||
|
},
|
||||||
"ShippingQuery": {
|
"ShippingQuery": {
|
||||||
"description": "This object contains information about an incoming shipping query.",
|
"description": "This object contains information about an incoming shipping query.",
|
||||||
"required": [
|
"required": [
|
||||||
|
@ -2,7 +2,7 @@ openapi: 3.0.0
|
|||||||
info:
|
info:
|
||||||
title: 'Telegram Bot API'
|
title: 'Telegram Bot API'
|
||||||
description: 'Auto-generated OpenAPI schema by TGScraper.'
|
description: 'Auto-generated OpenAPI schema by TGScraper.'
|
||||||
version: 7.6.0
|
version: 7.7.0
|
||||||
servers:
|
servers:
|
||||||
-
|
-
|
||||||
url: 'https://api.telegram.org/bot{token}'
|
url: 'https://api.telegram.org/bot{token}'
|
||||||
@ -496,6 +496,8 @@ components:
|
|||||||
$ref: '#/components/schemas/Invoice'
|
$ref: '#/components/schemas/Invoice'
|
||||||
successful_payment:
|
successful_payment:
|
||||||
$ref: '#/components/schemas/SuccessfulPayment'
|
$ref: '#/components/schemas/SuccessfulPayment'
|
||||||
|
refunded_payment:
|
||||||
|
$ref: '#/components/schemas/RefundedPayment'
|
||||||
users_shared:
|
users_shared:
|
||||||
$ref: '#/components/schemas/UsersShared'
|
$ref: '#/components/schemas/UsersShared'
|
||||||
chat_shared:
|
chat_shared:
|
||||||
@ -4012,6 +4014,25 @@ components:
|
|||||||
provider_payment_charge_id:
|
provider_payment_charge_id:
|
||||||
type: string
|
type: string
|
||||||
type: object
|
type: object
|
||||||
|
RefundedPayment:
|
||||||
|
description: 'This object contains basic information about a refunded payment.'
|
||||||
|
required:
|
||||||
|
- currency
|
||||||
|
- total_amount
|
||||||
|
- invoice_payload
|
||||||
|
- telegram_payment_charge_id
|
||||||
|
properties:
|
||||||
|
currency:
|
||||||
|
type: string
|
||||||
|
total_amount:
|
||||||
|
type: integer
|
||||||
|
invoice_payload:
|
||||||
|
type: string
|
||||||
|
telegram_payment_charge_id:
|
||||||
|
type: string
|
||||||
|
provider_payment_charge_id:
|
||||||
|
type: string
|
||||||
|
type: object
|
||||||
ShippingQuery:
|
ShippingQuery:
|
||||||
description: 'This object contains information about an incoming shipping query.'
|
description: 'This object contains information about an incoming shipping query.'
|
||||||
required:
|
required:
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
"name": "Telegram Bot API",
|
"name": "Telegram Bot API",
|
||||||
"description": "Auto-generated Postman collection by TGScraper.",
|
"description": "Auto-generated Postman collection by TGScraper.",
|
||||||
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
|
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
|
||||||
"version": "7.6.0"
|
"version": "7.7.0"
|
||||||
},
|
},
|
||||||
"variable": {
|
"variable": {
|
||||||
"key": "token",
|
"key": "token",
|
||||||
|
Loading…
Reference in New Issue
Block a user