SendChatSetTtlMessage
public struct SendChatSetTtlMessage : Codable, Equatable, TDFunction
Changes the current TTL setting (sets a new self-destruct timer) in a secret chat and sends the corresponding message
-
Undocumented
Declaration
Swift
public typealias Result = Message -
Chat identifier
Declaration
Swift
public let chatId: Int53 -
New TTL value, in seconds
Declaration
Swift
public let ttl: Int32 -
Changes the current TTL setting (sets a new self-destruct timer) in a secret chat and sends the corresponding message
Declaration
Swift
public init(chatId: Int53, ttl: Int32)Parameters
chatIdChat identifier
ttlNew TTL value, in seconds
View on GitHub
Install in Dash
SendChatSetTtlMessage Structure Reference