docs
4.1.1
common
docs
/
dev.inmo.tgbotapi.requests.send
/
SendAction
Send
Action
@
Serializable
data
class
SendAction
(
val
chatId
:
ChatIdentifier
,
val
action
:
BotAction
)
:
SendChatMessageRequest
<
Boolean
>
Send notification to user which will be shown for 5 seconds or while user have no messages from bot
Constructors
Functions
Properties
Constructors
Send
Action
Link copied to clipboard
fun
SendAction
(
chatId
:
ChatIdentifier
,
action
:
BotAction
)
Functions
method
Link copied to clipboard
open
override
fun
method
(
)
:
String
Properties
action
Link copied to clipboard
val
action
:
BotAction
chat
Id
Link copied to clipboard
open
override
val
chatId
:
ChatIdentifier
request
Serializer
Link copied to clipboard
open
override
val
requestSerializer
:
SerializationStrategy
<
*
>
result
Deserializer
Link copied to clipboard
open
override
val
resultDeserializer
:
DeserializationStrategy
<
Boolean
>