mirror of
https://github.com/Sysbot-org/tgscraper.git
synced 2024-11-23 12:06:48 +01:00
deploy: 99529a30c5
This commit is contained in:
parent
9b9b0c47fe
commit
493c03a2c9
@ -9239,7 +9239,7 @@
|
||||
},
|
||||
{
|
||||
"name": "banChatSenderChat",
|
||||
"description": "Use this method to ban a channel chat in a supergroup or a channel. The owner of the chat will not be able to send messages and join live streams on behalf of the chat, unless it is unbanned first. The bot must be an administrator in the supergroup or channel for this to work and must have the appropriate administrator rights. Returns True on success.",
|
||||
"description": "Use this method to ban a channel chat in a supergroup or a channel. Until the chat is unbanned, the owner of the banned chat won't be able to send messages on behalf of any of their channels. The bot must be an administrator in the supergroup or channel for this to work and must have the appropriate administrator rights. Returns True on success.",
|
||||
"fields": [
|
||||
{
|
||||
"name": "chat_id",
|
||||
@ -9257,14 +9257,6 @@
|
||||
],
|
||||
"optional": false,
|
||||
"description": "Unique identifier of the target sender chat"
|
||||
},
|
||||
{
|
||||
"name": "until_date",
|
||||
"types": [
|
||||
"int"
|
||||
],
|
||||
"optional": true,
|
||||
"description": "Date when the sender chat will be unbanned, unix time. If the chat is banned for more than 366 days or less than 30 seconds from the current time they are considered to be banned forever."
|
||||
}
|
||||
],
|
||||
"return_types": [
|
||||
|
@ -6913,7 +6913,7 @@ methods:
|
||||
- bool
|
||||
-
|
||||
name: banChatSenderChat
|
||||
description: 'Use this method to ban a channel chat in a supergroup or a channel. The owner of the chat will not be able to send messages and join live streams on behalf of the chat, unless it is unbanned first. The bot must be an administrator in the supergroup or channel for this to work and must have the appropriate administrator rights. Returns True on success.'
|
||||
description: 'Use this method to ban a channel chat in a supergroup or a channel. Until the chat is unbanned, the owner of the banned chat won''t be able to send messages on behalf of any of their channels. The bot must be an administrator in the supergroup or channel for this to work and must have the appropriate administrator rights. Returns True on success.'
|
||||
fields:
|
||||
-
|
||||
name: chat_id
|
||||
@ -6928,12 +6928,6 @@ methods:
|
||||
- int
|
||||
optional: false
|
||||
description: 'Unique identifier of the target sender chat'
|
||||
-
|
||||
name: until_date
|
||||
types:
|
||||
- int
|
||||
optional: true
|
||||
description: 'Date when the sender chat will be unbanned, unix time. If the chat is banned for more than 366 days or less than 30 seconds from the current time they are considered to be banned forever.'
|
||||
return_types:
|
||||
- bool
|
||||
-
|
||||
|
@ -10549,7 +10549,7 @@
|
||||
}
|
||||
},
|
||||
"/banChatSenderChat": {
|
||||
"description": "Use this method to ban a channel chat in a supergroup or a channel. The owner of the chat will not be able to send messages and join live streams on behalf of the chat, unless it is unbanned first. The bot must be an administrator in the supergroup or channel for this to work and must have the appropriate administrator rights. Returns True on success.",
|
||||
"description": "Use this method to ban a channel chat in a supergroup or a channel. Until the chat is unbanned, the owner of the banned chat won't be able to send messages on behalf of any of their channels. The bot must be an administrator in the supergroup or channel for this to work and must have the appropriate administrator rights. Returns True on success.",
|
||||
"post": {
|
||||
"requestBody": {
|
||||
"required": true,
|
||||
@ -10574,9 +10574,6 @@
|
||||
},
|
||||
"sender_chat_id": {
|
||||
"type": "integer"
|
||||
},
|
||||
"until_date": {
|
||||
"type": "integer"
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -10601,9 +10598,6 @@
|
||||
},
|
||||
"sender_chat_id": {
|
||||
"type": "integer"
|
||||
},
|
||||
"until_date": {
|
||||
"type": "integer"
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -10628,9 +10622,6 @@
|
||||
},
|
||||
"sender_chat_id": {
|
||||
"type": "integer"
|
||||
},
|
||||
"until_date": {
|
||||
"type": "integer"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -6875,7 +6875,7 @@ paths:
|
||||
default:
|
||||
$ref: '#/components/responses/UnknownError'
|
||||
/banChatSenderChat:
|
||||
description: 'Use this method to ban a channel chat in a supergroup or a channel. The owner of the chat will not be able to send messages and join live streams on behalf of the chat, unless it is unbanned first. The bot must be an administrator in the supergroup or channel for this to work and must have the appropriate administrator rights. Returns True on success.'
|
||||
description: 'Use this method to ban a channel chat in a supergroup or a channel. Until the chat is unbanned, the owner of the banned chat won''t be able to send messages on behalf of any of their channels. The bot must be an administrator in the supergroup or channel for this to work and must have the appropriate administrator rights. Returns True on success.'
|
||||
post:
|
||||
requestBody:
|
||||
required: true
|
||||
@ -6895,8 +6895,6 @@ paths:
|
||||
type: string
|
||||
sender_chat_id:
|
||||
type: integer
|
||||
until_date:
|
||||
type: integer
|
||||
application/x-www-form-urlencoded:
|
||||
schema:
|
||||
type: object
|
||||
@ -6912,8 +6910,6 @@ paths:
|
||||
type: string
|
||||
sender_chat_id:
|
||||
type: integer
|
||||
until_date:
|
||||
type: integer
|
||||
multipart/form-data:
|
||||
schema:
|
||||
type: object
|
||||
@ -6929,8 +6925,6 @@ paths:
|
||||
type: string
|
||||
sender_chat_id:
|
||||
type: integer
|
||||
until_date:
|
||||
type: integer
|
||||
responses:
|
||||
200:
|
||||
description: 'Request was successful, the result is returned.'
|
||||
|
@ -2171,12 +2171,6 @@
|
||||
"disabled": false,
|
||||
"description": "Required. Unique identifier of the target sender chat",
|
||||
"type": "text"
|
||||
},
|
||||
{
|
||||
"key": "until_date",
|
||||
"disabled": true,
|
||||
"description": "Optional. Date when the sender chat will be unbanned, unix time. If the chat is banned for more than 366 days or less than 30 seconds from the current time they are considered to be banned forever.",
|
||||
"type": "text"
|
||||
}
|
||||
]
|
||||
},
|
||||
@ -2193,7 +2187,7 @@
|
||||
"banChatSenderChat"
|
||||
]
|
||||
},
|
||||
"description": "Use this method to ban a channel chat in a supergroup or a channel. The owner of the chat will not be able to send messages and join live streams on behalf of the chat, unless it is unbanned first. The bot must be an administrator in the supergroup or channel for this to work and must have the appropriate administrator rights. Returns True on success."
|
||||
"description": "Use this method to ban a channel chat in a supergroup or a channel. Until the chat is unbanned, the owner of the banned chat won't be able to send messages on behalf of any of their channels. The bot must be an administrator in the supergroup or channel for this to work and must have the appropriate administrator rights. Returns True on success."
|
||||
}
|
||||
},
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user