YouTube数据API评论:在回复中插入提及@username

YouTube数据API评论:在回复中插入提及@username,youtube,youtube-api,youtube-data-api,Youtube,Youtube Api,Youtube Data Api,问题: There're COMMENT THREADS (parent comments) under a YouTube Video. There're COMMENT REPLIES (replies to parent comments) under a comment thread. I want to post a COMMENT REPLY including (mentioning) the @author of the comment I'm replying to. 只是作

问题:

There're COMMENT THREADS (parent comments) under a YouTube Video. There're COMMENT REPLIES (replies to parent comments) under a comment thread. I want to post a COMMENT REPLY including (mentioning) the @author of the comment I'm replying to. 只是作为原始文本发布
代码块:

response = youtube.comments().insert(
    part="snippet",
    body={"snippet": {
        "parentId": "UgzpEQFrEGFZbvj3gZp4AaABAg",
        "textOriginal": textOriginal}}).execute()
文档:


据我所知,YouTube数据API不提供您所需的功能。请编辑您的问题,包括您的代码,并描述您当前解决方案中存在的任何问题。DaImTo,非常感谢您抽出时间。这段代码可能会让读者感到困惑,因为问题是关于谷歌API接受的文本原始参数内部格式/关键字,而不是原始文本。更新后
response = youtube.comments().insert(
    part="snippet",
    body={"snippet": {
        "parentId": "UgzpEQFrEGFZbvj3gZp4AaABAg",
        "textOriginal": textOriginal}}).execute()