Copy Messages Action
class CopyMessagesAction(fromChatId: Identifier, messageIds: List<Long>) : Action<List<MessageId>> , OptionsFeature<CopyMessagesAction, CopyMessagesOptions>
Properties
Link copied to clipboard
Functions
Link copied to clipboard
Link copied to clipboard
open suspend override fun Request<List<MessageId>>.doRequestReturning(bot: TelegramBot): Deferred<Response<out List<MessageId>>>
Link copied to clipboard
Lambda function to change options
Link copied to clipboard
Make a request for action.
Link copied to clipboard
Make a request for action returning its Response.
Link copied to clipboard
inline suspend fun sendReturning(to: User, via: TelegramBot): Deferred<Response<out List<MessageId>>>
inline suspend fun sendReturning(to: Chat, via: TelegramBot): Deferred<Response<out List<MessageId>>>
inline suspend fun sendReturning(to: Long, via: TelegramBot): Deferred<Response<out List<MessageId>>>
inline suspend fun sendReturning(to: String, via: TelegramBot): Deferred<Response<out List<MessageId>>>
Link copied to clipboard
Payload to make response for the webhook request as described there.