This commit is contained in:
levina 2021-09-13 07:18:26 +07:00 committed by GitHub
parent 365ce33725
commit e972291388
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -41,7 +41,7 @@ async def inline(client: Client, query: InlineQuery):
result["duration"], result["viewCount"]["short"] result["duration"], result["viewCount"]["short"]
), ),
input_message_content=InputTextMessageContent( input_message_content=InputTextMessageContent(
"/vstream https://www.youtube.com/watch?v={}".format(result["id"]) "/vplay https://www.youtube.com/watch?v={}".format(result["id"])
), ),
thumb_url=result["thumbnails"][0]["url"], thumb_url=result["thumbnails"][0]["url"],
) )