示例#1
0
        public async Task RemoveWebHook()
        {
            var data = new
            {
                url = "",
            };

            _weebHookResult = await Execute <WeebHookResult>("set_webhook", data);
        }
示例#2
0
        public async Task SetWebHook()
        {
            var data = new
            {
                url        = "https://1005f80041f8.ngrok.io",
                send_name  = true,
                send_photo = true,
            };

            _weebHookResult = await Execute <WeebHookResult>("set_webhook", data);
        }