小编Man*_*lik的帖子

当我尝试为电报设置 webhook 时出现错误

我想为某些用户输入设置电报的 webhook,以便电报自动回复预定义的问题,并且我能够编写运行良好的程序,但是当我尝试为该程序设置 webhook 时,它显示错误:

{
   "ok": false,"error_code": 400,"description": "Bad Request: bad webhook: Ip is reserved"
}  
Run Code Online (Sandbox Code Playgroud)

我试图这样设置 webhook:

https://api.telegram.org/bot<token>/setwebhook?url=https://localhost/Manisha/bot.php  
Run Code Online (Sandbox Code Playgroud)

php webhooks telegram-bot

3
推荐指数
1
解决办法
4890
查看次数

如何在unity3d中使用c#获取模型描述列表?

如何为3D角色模型定义模型描述列表(如颈部,脊柱,下唇等)?我试着编写一个脚本:

using UnityEngine;
using System.Collections;
public class Arrays : MonoBehaviour
{
    public GameObject[] players;

    void Start()
    {
        players = GameObject.FindGameObjectsWithTag("avatar_5");  
        for (int i = 0; i < players.Length; i++)
        {
            Debug.Log(players[i].name);
            Debug.Log("Player Number " + i + " is named " + players[i].name);
        }
    }
}
Run Code Online (Sandbox Code Playgroud)

但结果我收到此错误: UnityException:标签:avatar_5未定义

c# unity-game-engine

-4
推荐指数
1
解决办法
469
查看次数

标签 统计

c# ×1

php ×1

telegram-bot ×1

unity-game-engine ×1

webhooks ×1