Hier ist mein Code: < /p>
from telegram import Bot
bot = Bot(
token="XXX"
)
def send_video(chat_id, video_path):
print(f"Sending '{video_path}' to {chat_id}...")
bot.send_video(
chat_id=chat_id,
video=open(video_path, 'rb'),
timeout=10000,
supports_streaming=True,
)
print("Video sent!")
< /code>
Mit dieser Methode kann ich nur Videos bis zu 50 MB hochladen. Was sollte ich tun, um größere Größe von größeren Größe hochzuladen? < /p>
Bearbeiten: Sie können dies tun Ich verstehe einfach nicht, wie: https://core.telegram.org/bots/api#usin ... api-server
Wie sende ich ein großes Video auf einem Kanal mit einem Telegrammbot? ⇐ Python
-
- Similar Topics
- Replies
- Views
- Last post