Class UnpinChatMessage
java.lang.Object
io.github.natanimn.telebof.requests.AbstractBaseRequest<UnpinChatMessage,Boolean>
io.github.natanimn.telebof.requests.pin_and_unpin.UnpinChatMessage
UnpinChatMessage class. Returns true on success.
- Since:
- 3 March 2025
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbusinessConnectionId(String businessConnectionId) OptionalmessageId(int messageId) OptionalMethods inherited from class io.github.natanimn.telebof.requests.AbstractBaseRequest
exec
-
Constructor Details
-
UnpinChatMessage
Required- Parameters:
chatId- chat idapi- api
-
-
Method Details
-
messageId
Optional- Parameters:
messageId- Identifier of the message to pin_and_unpin. Required ifbusinessConnectionId(java.lang.String)is specified. If not specified, the most recent pinned message (by sending date) will be unpinned.- Returns:
UnpinChatMessage
-
businessConnectionId
Optional- Parameters:
businessConnectionId- Unique identifier of the business connection on behalf of which the message will be unpinned- Returns:
UnpinChatMessage
-