Skip to content

Commit

Permalink
Added TelegramBotClient.Token
Browse files Browse the repository at this point in the history
  • Loading branch information
wiz0u committed Dec 24, 2024
1 parent 926dd07 commit ffe78ab
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Telegram.Bot/TelegramBotClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ public class TelegramBotClient : ITelegramBotClient

private readonly HttpClient _httpClient;

/// <summary>Bot token</summary>
public string Token => _options.Token;

/// <inheritdoc/>
public long BotId => _options.BotId;

Expand Down

0 comments on commit ffe78ab

Please # to comment.