Class PinChatMessage
java.lang.Object
io.github.natanimn.telebof.requests.AbstractBaseRequest<PinChatMessage, Boolean>
io.github.natanimn.telebof.requests.pin_and_unpin.PinChatMessage
PinChatMessage class. Returns True on success.
- Since:
- 3 March 2025
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbusinessConnectionId
(String business_connection_id) OptionaldisableNotification
(boolean disable_notification) OptionalMethods inherited from class io.github.natanimn.telebof.requests.AbstractBaseRequest
exec
-
Constructor Details
-
PinChatMessage
-
-
Method Details
-
disableNotification
Optional- Parameters:
disable_notification
- Pass True if it is not necessary to send a notification to all chat members about the new pinned message. Notifications are always disabled in channels and private chats.- Returns:
PinChatMessage
-
businessConnectionId
Optional- Parameters:
business_connection_id
- Unique identifier of the business connection on behalf of which the message will be pinned- Returns:
PinChatMessage
-