Various improvements

This commit is contained in:
Ilya Laktyushin
2025-06-08 18:28:49 +02:00
parent bc04d3c8e9
commit 41ae916106
60 changed files with 3715 additions and 2865 deletions

View File

@@ -21,6 +21,7 @@ public enum AttachmentButtonType: Equatable {
case gallery
case file
case location
case todo
case quickReply
case contact
case poll
@@ -36,6 +37,8 @@ public enum AttachmentButtonType: Equatable {
return "file"
case .location:
return "location"
case .todo:
return "todo"
case .quickReply:
return "quickReply"
case .contact:
@@ -71,6 +74,12 @@ public enum AttachmentButtonType: Equatable {
} else {
return false
}
case .todo:
if case .todo = rhs {
return true
} else {
return false
}
case .quickReply:
if case .quickReply = rhs {
return true