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 allow_bot_chats) OptionalallowChannelChats(boolean allow_channel_chats) OptionalallowGroupChats(boolean allow_group_chats) OptionalallowUserChats(boolean allow_user_chats) OptionalMethods inherited from class io.github.natanimn.telebof.requests.AbstractBaseRequest
exec
-
Constructor Details
-
SavePreparedInlineMessage
- Parameters:
user_id- 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:
allow_user_chats- Pass True if the message can be sent to private chats with users- Returns:
SavePreparedInlineMessage
-
allowBotChats
Optional- Parameters:
allow_bot_chats- Pass True if the message can be sent to private chats with bots.- Returns:
SavePreparedInlineMessage
-
allowGroupChats
Optional- Parameters:
allow_group_chats- Pass True if the message can be sent to group and supergroup chats- Returns:
SavePreparedInlineMessage
-
allowChannelChats
Optional- Parameters:
allow_channel_chats- Pass True if the message can be sent to channel chats- Returns:
SavePreparedInlineMessage
-