mirror of https://github.com/oxen-io/session-ios
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
1.1 KiB
Swift
18 lines
1.1 KiB
Swift
|
|
public protocol MessageReceiverDelegate {
|
|
|
|
func isBlocked(_ publicKey: String) -> Bool
|
|
func updateProfile(for publicKey: String, from profile: VisibleMessage.Profile, using transaction: Any)
|
|
func showTypingIndicatorIfNeeded(for senderPublicKey: String)
|
|
func hideTypingIndicatorIfNeeded(for senderPublicKey: String)
|
|
func cancelTypingIndicatorsIfNeeded(for senderPublicKey: String)
|
|
func notifyUserIfNeeded(forMessageWithID messageID: String, threadID: String)
|
|
func markMessagesAsRead(_ timestamps: [UInt64], from senderPublicKey: String, at timestamp: UInt64)
|
|
func setExpirationTimer(to duration: UInt32, for senderPublicKey: String, groupPublicKey: String?, using transaction: Any)
|
|
func disableExpirationTimer(for senderPublicKey: String, groupPublicKey: String?, using transaction: Any)
|
|
func handleNewGroup(_ message: ClosedGroupUpdate, using transaction: Any)
|
|
func handleGroupUpdate(_ message: ClosedGroupUpdate, using transaction: Any)
|
|
func handleSenderKeyRequest(_ message: ClosedGroupUpdate, using transaction: Any)
|
|
func handleSenderKey(_ message: ClosedGroupUpdate, using transaction: Any)
|
|
}
|