Skip to content

Commit 7bd49cd

Browse files
committed
add the opportunity to delete messages in business-chats,
1 parent faf12d1 commit 7bd49cd

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

Sources/Falko.Talkie.Platforms.Telegram/Controllers/MessageControllers/TelegramMessageController.cs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -359,11 +359,6 @@ public async Task UnpublishMessageAsync
359359
throw new ArgumentException("Message id is required.");
360360
}
361361

362-
if (telegramMessageIdentifier.ConnectionIdentifier is not null)
363-
{
364-
throw new NotSupportedException("Business connection id is not supported.");
365-
}
366-
367362
var deleteMessage = new TelegramDeleteMessageRequest
368363
(
369364
telegramMessageIdentifier.MessageIdentifier,

0 commit comments

Comments
 (0)