sketchub icon

TeleReporter - library

AbrorGo
65 Likes
22 Comments
482 Downloads

Screenshots

About

A report library that use telegram api to send app's bugs using bots to a specific chat. It supports English and Arabic lang. This lib was fully created by me using CodeAssist 100%. and works for CodeAssist, Sketchware pro.

Permission required || اذونات مطلوبة:

<uses-permission name="android.permission.INTERNET" />

Documentation || طريقة الاستخدام:

TeleReporter reporter = new TeleReporter(this, TeleReporter.ARABIC); // ENGLISH
reporter.setBotToken("bot's token here|توكن البوت هنا");
reporter.setTargetChatId("@SmithDev|معرف المحادثة هنا");
reporter.setReportMessage("error (stacktrace) here|رسالة الخطا هنا");
reporter.setUserMessage("user message goes here|رسالة من المستخدم هنا");
reporter.setAdditionalInfo("More info you input they goes here|مزيد من المعلومات انت تجمعها");
reporter.enableEmailInReport(true); // optional
reporter.setUserEmail("[email protected]");
reporter.sendReport(new ReporterListener() {
@Override public void onFail(String message) {
showMessage(message);
}
@Override public void onSuccess(String message) {
showMessage(message);
}
});

You guys are not allowed to modify this lib. غير مسموح لأي شخص بتعديل المكتبة. © 2022, Smith

©2025 Sketchub | User Policy