[WIP] Topics

This commit is contained in:
Ali
2022-10-11 18:38:58 +04:00
parent 9a08911483
commit db4b73ae6b
92 changed files with 1900 additions and 909 deletions

View File

@@ -18,6 +18,17 @@ public extension ChatLocation {
return nil
}
}
var threadId: Int64? {
switch self {
case .peer:
return nil
case let .replyThread(replyThreadMessage):
return Int64(replyThreadMessage.messageId.id)
case .feed:
return nil
}
}
}
public enum ChatPresentationInputQueryKind: Int32 {