Skip to main content

message-pinning-properties

expirationDate

The expiration date of the pinning. Infinite expiration in case it is nil.

public let expirationDate: Date?

noExpiration

Pins a message with infinite expiration.

public static let noExpiration 

Methods

expirationDate(_:)

Pins a message.

public static func expirationDate(_ date: Date) -> Self 

Parameters

  • date: The date when the message will be unpinned.

expirationTime(_:)

Pins a message.

public static func expirationTime(_ time: TimeInterval) -> Self 

Parameters

Did you find this page helpful?