Skip to content

Commit

Permalink
Override ChatId.ToString()
Browse files Browse the repository at this point in the history
  • Loading branch information
ronnygunawan committed Jan 31, 2024
1 parent e493b6f commit f8f95d4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions BotNet.Commands/ChatAggregate/ChatId.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,6 @@ public static implicit operator ChatId(Telegram.Bot.Types.ChatId chatId) {
}

public static implicit operator Telegram.Bot.Types.ChatId(ChatId chatId) => new(chatId.Value);
public override string ToString() => Value.ToString();
}
}

0 comments on commit f8f95d4

Please sign in to comment.