Class SavePreparedInlineMessage
java.lang.Object
io.github.natanimn.telebof.requests.AbstractBaseRequest<SavePreparedInlineMessage,PreparedInlineMessage>
io.github.natanimn.telebof.requests.service.SavePreparedInlineMessage
public class SavePreparedInlineMessage
extends AbstractBaseRequest<SavePreparedInlineMessage,PreparedInlineMessage>
- Since:
- July 25, 2025
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionallowBotChats(boolean allowBotChats) OptionalallowChannelChats(boolean allowChannelChats) OptionalallowGroupChats(boolean allowGroupChats) OptionalallowUserChats(boolean allowUserChats) OptionalMethods inherited from class io.github.natanimn.telebof.requests.AbstractBaseRequest
exec
-
Constructor Details
-
SavePreparedInlineMessage
- Parameters:
userId- Unique identifier of the target user that can use the prepared messageresult- AInlineQueryResultobject describing the message to be sentrs-Apiobject
-
-
Method Details
-
allowUserChats
Optional- Parameters:
allowUserChats- Pass True if the message can be sent to private chats with users- Returns:
SavePreparedInlineMessage
-
allowBotChats
Optional- Parameters:
allowBotChats- Pass True if the message can be sent to private chats with bots.- Returns:
SavePreparedInlineMessage
-
allowGroupChats
Optional- Parameters:
allowGroupChats- Pass True if the message can be sent to group and supergroup chats- Returns:
SavePreparedInlineMessage
-
allowChannelChats
Optional- Parameters:
allowChannelChats- Pass True if the message can be sent to channel chats- Returns:
SavePreparedInlineMessage
-