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 SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbusinessConnectionId(String business_connection_id) OptionaldisableNotification(boolean disable_notification) OptionalMethods inherited from class io.github.natanimn.telebof.requests.AbstractBaseRequestexec
- 
Constructor Details- 
PinChatMessage
 
- 
- 
Method Details- 
disableNotificationOptional- 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
 
- 
businessConnectionIdOptional- Parameters:
- business_connection_id- Unique identifier of the business connection on behalf of which the message will be pinned
- Returns:
- PinChatMessage
 
 
-