Comments (13)
Which VS Version?
I think it's because i used C# 6 features like Expression bodies
from telegram.bot.
Hi,
I am using visual studio 2013
i have 141 Errors
attached screen shots..
from telegram.bot.
Can you try VS 2015?
from telegram.bot.
I just tried to compile the project in visual studio 2015 => Build: 2 succeeded, 0 failed, 0 up-to-date, 0 skipped.
@fizmhd I think, you just need use Visual Studio 2015, because project contains C# 6 features :)
from telegram.bot.
Hi,
Excuse me Mr Round Robin.
I am Persian language and Iranian them. Please let me help her in Farsi.
سلام. دوست عزیز شما برای استفاده از این ای.پی.آی , باید از ویژوال استادیو 2015 به همراه دات نت فریم ورک 4.5 استفاده کنید.
بهترین راه حل برای استفاده از این ای.پی.آی استفاده از دستور زیر در کامندر خود ویژوال استادیو هستش.
چون نیازمندیهاش رو خودش نصب میکنه و در صورتی که آپدیت بشه راحت میتونی با جابجایی یه فایل دی.ال.ال سریعتر کارت رو پیش ببری.
Install as NuGet package:
Install-Package Telegram.Bot
installation link:
https://www.nuget.org/packages/Telegram.Bot/
from telegram.bot.
Hi,
Its about 10 hours that my bots are not working.I have been installed telegram.bot.dll and other categories from Mr.Round Robin Nugets post and use webhook method to receive and answer for my bots.
but unfortunately unexpectedly all my bots were stopped several hours ago.I checked my the SSL ,It was ok.I dont realy undrestand the problem
from telegram.bot.
so, do you have any errors, exceptions or other logs? can you confirm that your webhook receives any requests from telegram?
has this anything to do with this issue?
from telegram.bot.
from https://telegram.me/pwrtelegram
Hello.
Please reset the webhooks of all of your bots, because they were all reset by the telegram bot API.
This request applies both to bots that use the official bot API and bots that use the PWRTelegram bot API. You do not need to reset the webhook if you are using long polling (getUpdates).
The webhooks were probably reset because Telegram's making some server side changes or simply messed up the webhook database.
Share this message around to all of your groups and channels, please.
from telegram.bot.
hello MrRoundRobin
I dont receive any webhook request on my server from telegram so I dont get any errors.
I have reset one of my bots token ,actually i delete my bot and again create a bot with the same username , but still it doesnt work.
Mr Gorniv did you test it ?i thenk it doesnt work
from telegram.bot.
so if you have set the webhook correctly and don't get updates that is a problem is not related to the library. maybe check this faq and ping BotSupport
from telegram.bot.
Thanks for your reply.
yes it was not related to the library.
I had ping BotSupport and after several hours they replied me :
"Hi, we had an issue last night that caused this problems If you call again setWebhook, it should be solved."
I revoke my tokens and set them again and the problem solved easily.It seems it was not necessary to revoke but i have done that before getting BotSupport help.
from telegram.bot.
Hi MrRoundRobin, I try many times but unable to ping the bot to my code part, but earlier it was working fine now it's not working.
My code is in c# vs19.
from telegram.bot.
Anyone can help with this? Everything in the code is correct but still not getting a response from the bot? I check the windows firewall and Telegram.dll and bot.dll and every solution but still not working?
using System;
using Telegram.Bot;
using Telegram.Bot.Types.Enums;
namespace HelloBot
{
class Program
{
static string token= "******";
static TelegramBotClient Bot = new TelegramBotClient(token);
static void Main(string[] args)
{
Bot.StartReceiving();
Bot.OnMessage += botmessage;
Console.ReadLine();
}
private static async void botmessage(object sender, Telegram.Bot.Args.MessageEventArgs e)
{
if (e.Message.Type == MessageType.Text)
{
await Bot.SendTextMessageAsync(e.Message.Chat.Id, "Hello "+e.Message.Chat.Username);
Console.WriteLine(e.Message.ToString());
}
}
}
}
from telegram.bot.
Related Issues (20)
- ChatMemberLeft works, but join event not works HOT 14
- updateHandler is not invoked asynchronously HOT 2
- Bot API 6.8 (August 18, 2023)
- Missing documentation InputOnlineFile => InputFileUrl HOT 3
- Bot API 6.9 (September 22, 2023)
- Could we have InputMediaBase inherit from IAlbumInputMedia? HOT 3
- Erro não autorizado HOT 2
- Bug Report - Lack of Graceful Shutdown in Message Updates Handling HOT 4
- Replace Newtonsoft.Json with System.Text.Json with proper source generation HOT 10
- Release 19.0.1 HOT 3
- Bot API 7.0 (December 29, 2023)
- Calling MakeRequestAsync with Stream content more then once results in error HOT 2
- Looks like this source generator is completely non incremental HOT 3
- telegram.bot is missing NuGet package README file
- Telegram.Bot.dll PUA classification with ESET problem HOT 5
- Send v20.0.0-alpha.3 to nuget plz HOT 1
- Project is not compatible with net8.0 (.NETCoreApp,Version=v8.0) HOT 5
- System.Text.Json deserialization issue HOT 5
- Temporary alternative NuGet feed due to AV software false positives
- GetStickerSetAsync() fails: Required property 'is_animated' not found in JSON HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from telegram.bot.