Add supports_streaming to send_file and update docs/errors

This commit is contained in:
Lonami Exo
2019-01-21 19:46:33 +01:00
parent b0883148f5
commit 8f44364c6c
5 changed files with 23 additions and 9 deletions

View File

@@ -247,6 +247,7 @@ USER_NOT_MUTUAL_CONTACT,400 403,The provided user is not a mutual contact
USER_NOT_PARTICIPANT,400,The target user is not a member of the specified megagroup or channel
USER_PRIVACY_RESTRICTED,403,The user's privacy settings do not allow you to do this
USER_RESTRICTED,403,"You're spamreported, you can't create channels or chats."
VIDEO_CONTENT_TYPE_INVALID,400,The video content type is not supported with the given parameters (i.e. supports_streaming)
WC_CONVERT_URL_INVALID,400,WC convert URL invalid
WEBPAGE_CURL_FAILED,400,Failure while fetching the webpage with cURL
WEBPAGE_MEDIA_EMPTY,400,Webpage media empty
1 name codes description
247 USER_NOT_PARTICIPANT 400 The target user is not a member of the specified megagroup or channel
248 USER_PRIVACY_RESTRICTED 403 The user's privacy settings do not allow you to do this
249 USER_RESTRICTED 403 You're spamreported, you can't create channels or chats.
250 VIDEO_CONTENT_TYPE_INVALID 400 The video content type is not supported with the given parameters (i.e. supports_streaming)
251 WC_CONVERT_URL_INVALID 400 WC convert URL invalid
252 WEBPAGE_CURL_FAILED 400 Failure while fetching the webpage with cURL
253 WEBPAGE_MEDIA_EMPTY 400 Webpage media empty