File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/Web/Telegram/API/Bot/API Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -267,11 +267,11 @@ sendDocumentM = run_ sendDocument_
267267-- - If the bot is an administrator of a group, it can delete any message there.
268268-- - If the bot has can_delete_messages permission in a supergroup or a channel, it can delete any message there.
269269-- Returns True on success.
270- deleteMessage :: Token -> DeleteMessageRequest -> Manager -> IO (Either ClientError Bool )
270+ deleteMessage :: Token -> DeleteMessageRequest -> Manager -> IO (Either ClientError ( Response Bool ) )
271271deleteMessage = runM deleteMessageM
272272
273273-- | See 'deleteMessage'
274- deleteMessageM :: DeleteMessageRequest -> TelegramClient Bool
274+ deleteMessageM :: DeleteMessageRequest -> TelegramClient ( Response Bool )
275275deleteMessageM = run_ deleteMessage_
276276
277277-- | Use this method to upload and send .webp stickers. On success, the sent 'Message' is returned.
You can’t perform that action at this time.
0 commit comments