< Summary

Information
Class: TeleFlow.Telegram.Internal.TelegramMessageTarget
Assembly: TeleFlow.Framework
File(s): /_/src/TeleFlow.Framework/Internal/TelegramMessageTarget.cs
Line coverage
100%
Covered lines: 2
Uncovered lines: 0
Coverable lines: 2
Total lines: 14
Line coverage: 100%
Branch coverage
N/A
Covered branches: 0
Total branches: 0
Branch coverage: N/A
Method coverage

Feature is only available for sponsors

Upgrade to PRO version

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity Line coverage
get_ChatId()100%11100%
get_IsEphemeral()100%11100%

File(s)

/_/src/TeleFlow.Framework/Internal/TelegramMessageTarget.cs

#LineLine coverage
 1using TeleFlow.Telegram.Schema.Types;
 2
 3namespace TeleFlow.Telegram.Internal;
 4
 5internal readonly record struct TelegramMessageTarget(
 6    Chat Chat,
 7    long MessageId,
 8    long? EphemeralMessageId,
 9    long? ReceiverUserId)
 10{
 511    public long ChatId => Chat.Id;
 12
 513    public bool IsEphemeral => EphemeralMessageId is not null;
 14}

Methods/Properties

get_ChatId()
get_IsEphemeral()