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 business_connection_id) OptionalmessageId
(int message_id) OptionalMethods inherited from class io.github.natanimn.telebof.requests.AbstractBaseRequest
exec
-
Constructor Details
-
UnpinChatMessage
-
-
Method Details
-
messageId
Optional- Parameters:
message_id
- 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:
business_connection_id
- Unique identifier of the business connection on behalf of which the message will be unpinned- Returns:
UnpinChatMessage
-