Support the thread-quote special case

This commit is contained in:
Ali
2023-10-25 17:59:55 +04:00
parent 8b545edc14
commit a6e5098be0
29 changed files with 176 additions and 154 deletions

View File

@@ -226,6 +226,7 @@ public extension TelegramEngine {
public func enqueueOutgoingMessage(
to peerId: EnginePeer.Id,
replyTo replyToMessageId: EngineMessageReplySubject?,
threadId: Int64? = nil,
storyId: StoryId? = nil,
content: EngineOutgoingMessageContent,
silentPosting: Bool = false,
@@ -261,6 +262,7 @@ public extension TelegramEngine {
attributes: attributes,
inlineStickers: [:],
mediaReference: mediaReference,
threadId: threadId,
replyToMessageId: replyToMessageId,
replyToStoryId: storyId,
localGroupingKey: nil,
@@ -269,8 +271,6 @@ public extension TelegramEngine {
)
}
guard let message = message else {
return .complete()
}