Skip to content

Commit

Permalink
Fix message_thread_id field for copyMessage, copyMessages
Browse files Browse the repository at this point in the history
  • Loading branch information
swamp-agr committed Nov 16, 2024
1 parent 7c51dc4 commit e82b541
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ copyMessage = client (Proxy @CopyMessage)
-- | Request parameters for 'copyMessage'.
data CopyMessageRequest = CopyMessageRequest
{ copyMessageChatId :: SomeChatId -- ^ Unique identifier for the target chat or username of the target channel (in the format @channelusername).
, copyMessageMessageThreadId :: Maybe Message -- ^ Unique identifier for the target message thread (topic) of the forum; for forum supergroups only.
, copyMessageMessageThreadId :: Maybe MessageThreadId -- ^ Unique identifier for the target message thread (topic) of the forum; for forum supergroups only.
, copyMessageFromChatId :: SomeChatId -- ^ Unique identifier for the chat where the original message was sent (or channel username in the format @channelusername)
, copyMessageMessageId :: MessageId -- ^ Message identifier in the chat specified in from_chat_id
, copyMessageCaption :: Maybe Text -- ^ New caption for media, 0-1024 characters after entities parsing. If not specified, the original caption is kept
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ copyMessages = client (Proxy @CopyMessages)
-- | Request parameters for 'copyMessages'.
data CopyMessagesRequest = CopyMessagesRequest
{ copyMessagesChatId :: SomeChatId -- ^ Unique identifier for the target chat or username of the target channel (in the format @channelusername).
, copyMessagesMessageThreadId :: Maybe Message -- ^ Unique identifier for the target message thread (topic) of the forum; for forum supergroups only.
, copyMessagesMessageThreadId :: Maybe MessageThreadId -- ^ Unique identifier for the target message thread (topic) of the forum; for forum supergroups only.
, copyMessagesFromChatId :: SomeChatId -- ^ Unique identifier for the chat where the original message was sent (or channel username in the format \@channelusername).
, copyMessagesMessageIds :: [MessageId] -- ^ Identifiers of 1-100 messages in the chat @from_chat_id@ to copy. The identifiers must be specified in a strictly increasing order.
, copyMessagesCaption :: Maybe Text -- ^ New caption for media, 0-1024 characters after entities parsing. If not specified, the original caption is kept
Expand Down

0 comments on commit e82b541

Please sign in to comment.