DefaultBehaviourContext

class DefaultBehaviourContext(bot: TelegramBot, scope: CoroutineScope, flowsUpdatesFilter: FlowsUpdatesFilter) : FlowsUpdatesFilter, RequestsExecutor, CoroutineScope, BehaviourContext

Functions

close
Link copied to clipboard
common
open override fun close()
copy
Link copied to clipboard
common
open override fun copy(bot: TelegramBot, scope: CoroutineScope, flowsUpdatesFilter: FlowsUpdatesFilter): DefaultBehaviourContext
execute
Link copied to clipboard
common
open suspend override fun <T : Any> execute(request: Request<T>): T

Properties

allowedUpdates
Link copied to clipboard
common
open override val allowedUpdates: List<String>
allUpdatesFlow
Link copied to clipboard
common
open override val allUpdatesFlow: Flow<Update>
common
open override val allUpdatesWithoutMediaGroupsGroupingFlow: Flow<Update>
asUpdateReceiver
Link copied to clipboard
common
open override val asUpdateReceiver: UpdateReceiver<Update>
bot
Link copied to clipboard
common
open override val bot: TelegramBot
callbackQueryFlow
Link copied to clipboard
common
open override val callbackQueryFlow: Flow<CallbackQueryUpdate>
channelPostFlow
Link copied to clipboard
common
open override val channelPostFlow: Flow<ChannelPostUpdate>
channelPostMediaGroupFlow
Link copied to clipboard
common
open override val channelPostMediaGroupFlow: Flow<ChannelPostMediaGroupUpdate>
chatMemberUpdatedFlow
Link copied to clipboard
common
open override val chatMemberUpdatedFlow: Flow<CommonChatMemberUpdatedUpdate>
chosenInlineResultFlow
Link copied to clipboard
common
open override val chosenInlineResultFlow: Flow<ChosenInlineResultUpdate>
coroutineContext
Link copied to clipboard
common
open override val coroutineContext: CoroutineContext
editedChannelPostFlow
Link copied to clipboard
common
open override val editedChannelPostFlow: Flow<EditChannelPostUpdate>
editedChannelPostMediaGroupFlow
Link copied to clipboard
common
open override val editedChannelPostMediaGroupFlow: Flow<EditChannelPostMediaGroupUpdate>
editedMessageFlow
Link copied to clipboard
common
open override val editedMessageFlow: Flow<EditMessageUpdate>
editedMessageMediaGroupFlow
Link copied to clipboard
common
open override val editedMessageMediaGroupFlow: Flow<EditMessageMediaGroupUpdate>
flowsUpdatesFilter
Link copied to clipboard
common
open override val flowsUpdatesFilter: FlowsUpdatesFilter
This parameter will be used to subscribe on different types of update
inlineQueryFlow
Link copied to clipboard
common
open override val inlineQueryFlow: Flow<InlineQueryUpdate>
messageFlow
Link copied to clipboard
common
open override val messageFlow: Flow<MessageUpdate>
messageMediaGroupFlow
Link copied to clipboard
common
open override val messageMediaGroupFlow: Flow<MessageMediaGroupUpdate>
myChatMemberUpdatedFlow
Link copied to clipboard
common
open override val myChatMemberUpdatedFlow: Flow<MyChatMemberUpdatedUpdate>
pollAnswerFlow
Link copied to clipboard
common
open override val pollAnswerFlow: Flow<PollAnswerUpdate>
pollFlow
Link copied to clipboard
common
open override val pollFlow: Flow<PollUpdate>
preCheckoutQueryFlow
Link copied to clipboard
common
open override val preCheckoutQueryFlow: Flow<PreCheckoutQueryUpdate>
scope
Link copied to clipboard
common
open override val scope: CoroutineScope
Will be used for creating of some subscriptions inside of methods, updates listening and different other things in context of working with CoroutineScope and coroutines.
shippingQueryFlow
Link copied to clipboard
common
open override val shippingQueryFlow: Flow<ShippingQueryUpdate>
unknownUpdateTypeFlow
Link copied to clipboard
common
open override val unknownUpdateTypeFlow: Flow<UnknownUpdate>