PinChatMessage
public struct PinChatMessage : Codable, Equatable, TDFunction
Pins a message in a chat; requires can_pin_messages rights
-
Undocumented
Declaration
Swift
public typealias Result = Ok
-
Identifier of the chat
Declaration
Swift
public let chatId: Int53
-
Identifier of the new pinned message
Declaration
Swift
public let messageId: Int53
-
True, if there should be no notification about the pinned message
Declaration
Swift
public let disableNotification: Bool
-
Pins a message in a chat; requires can_pin_messages rights
Parameters
chatId
Identifier of the chat
messageId
Identifier of the new pinned message
disableNotification
True, if there should be no notification about the pinned message