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
chatIdIdentifier of the chat
messageIdIdentifier of the new pinned message
disableNotificationTrue, if there should be no notification about the pinned message
View on GitHub
Install in Dash
PinChatMessage Structure Reference