{"id":13796720,"url":"https://github.com/a-gubskiy/X.Extensions.Logging.Telegram","last_synced_at":"2025-05-13T00:31:03.521Z","repository":{"id":41865883,"uuid":"332720313","full_name":"a-gubskiy/X.Extensions.Logging.Telegram","owner":"a-gubskiy","description":"Telegram logging provider","archived":true,"fork":false,"pushed_at":"2024-10-27T15:19:10.000Z","size":401,"stargazers_count":43,"open_issues_count":0,"forks_count":5,"subscribers_count":4,"default_branch":"main","last_synced_at":"2024-10-27T17:46:19.138Z","etag":null,"topics":["aspnet","aspnetcore","logging","netcore","telegram-bot"],"latest_commit_sha":null,"homepage":"https://nuget.org/packages/X.Extensions.Logging.Telegram","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/a-gubskiy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":["a-gubskiy"],"buy_me_a_coffee":"g.andrew","custom":["http://andrew.gubskiy.com/donate"]}},"created_at":"2021-01-25T11:10:48.000Z","updated_at":"2024-10-27T15:19:35.000Z","dependencies_parsed_at":"2024-05-08T11:30:50.524Z","dependency_job_id":"91ec8325-4658-4721-b642-cb9e1267da0e","html_url":"https://github.com/a-gubskiy/X.Extensions.Logging.Telegram","commit_stats":{"total_commits":255,"total_committers":10,"mean_commits":25.5,"dds":0.5098039215686274,"last_synced_commit":"ecee5f76dfe3cabc72e8c213dc75d395b3bc0247"},"previous_names":["a-gubskiy/x.extensions.logging.telegram"],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a-gubskiy%2FX.Extensions.Logging.Telegram","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a-gubskiy%2FX.Extensions.Logging.Telegram/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a-gubskiy%2FX.Extensions.Logging.Telegram/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a-gubskiy%2FX.Extensions.Logging.Telegram/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/a-gubskiy","download_url":"https://codeload.github.com/a-gubskiy/X.Extensions.Logging.Telegram/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225159877,"owners_count":17430202,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["aspnet","aspnetcore","logging","netcore","telegram-bot"],"created_at":"2024-08-03T23:01:14.202Z","updated_at":"2025-05-13T00:31:03.511Z","avatar_url":"https://github.com/a-gubskiy.png","language":"C#","funding_links":["https://github.com/sponsors/a-gubskiy","https://buymeacoffee.com/g.andrew","http://andrew.gubskiy.com/donate"],"categories":[],"sub_categories":[],"readme":"# Telegram logging extensions\n\n* X.Extensions.Logging.Telegram \n* X.Extensions.Serilog.Sinks.Telegram\n\nTelegram logging providers for Serilog and standard .NET logging.\n\n## What is Telegram?\nWhat is Telegram? What do I do here?\nTelegram is a messaging app with a focus on speed and security, it’s super-fast, simple and free. You can use Telegram on all your devices at the same time — your messages sync seamlessly across any number of your phones, tablets or computers. Telegram has over 500 million monthly active users and is one of the 10 most downloaded apps in the world.\n\n## Why do you need to write logs to Telegram?\nBecause it is very comfortable - you can receive important messages directly to your smartphone or laptop.\n\n## Prepare Telegram bot\nFor sending log messages into telegram channel or chat, you need to create telegram bot before. [Here](https://core.telegram.org/bots#3-how-do-i-create-a-bot) you can find how to do it.\nAfter you create bot, add it to a channel with admin role and allow bot to post messages.\n\n## Prepare Telegram channel\nIn the telegram, there are two types of channels: public and private. For public channel you can use channel name as *ChatId* in configuration. \n\nFor private channel you can use [@JsonDumpBot](https://t.me/jsondumpbot) to get private channel id. Just forward any message from private channelto this bot. Additional information you can find [here](https://botostore.com/c/jsondumpbot/).\n\n**Do not forget** to add your bot as admin with _write messages_ permission to channel.\n\n## Logger implementations\n\n### X.Extensions.Logging.Telegram\nRead library documentation [here](./src/X.Extensions.Logging.Telegram/README.md).\n\n### X.Extensions.Serilog.Sinks.Telegram\nRead library documentation [here](./src/X.Extensions.Serilog.Sinks.Telegram/README.md).\n\n# Examples\n\nThis repository includes several example projects that demonstrate how to use both libraries  in various scenarios. \nThese examples can be helpful if you're starting or looking to use a specific feature.\n\n\n# Contributing\nFeel free to add any improvements you want via pull requests. All pull requests must be linked to an issue.\n\n# License\nThis project is licensed under the MIT License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fa-gubskiy%2FX.Extensions.Logging.Telegram","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fa-gubskiy%2FX.Extensions.Logging.Telegram","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fa-gubskiy%2FX.Extensions.Logging.Telegram/lists"}