Module contents
Modules used in this bot
- class spotted.Application(*, bot, update_queue, updater, job_queue, update_processor, persistence, context_types, post_init, post_shutdown, post_stop)[source]
Bases:
AbstractAsyncContextManager[Application],Generic[BT,CCT,UD,CD,BD,JQ]This class dispatches all kinds of updates to its registered handlers, and is the entry point to a PTB application.
Tip
This class may not be initialized directly. Use
telegram.ext.ApplicationBuilderorbuilder()(for convenience).Instances of this class can be used as asyncio context managers, where
async with application: # code
is roughly equivalent to
try: await application.initialize() # code finally: await application.shutdown()
See also
__aenter__()and__aexit__().This class is a
Genericclass and accepts six type variables:The type of
bot. Must betelegram.Botor a subclass of that class.The type of the argument
contextof callback functions for (error) handlers and jobs. Must betelegram.ext.CallbackContextor a subclass of that class. This must be consistent with the following types.The type of the values of
user_data.The type of the values of
chat_data.The type of
bot_data.The type of
job_queue. Must either betelegram.ext.JobQueueor a subclass of that orNone.
Examples
Echo BotSee also
Your First Bot <Extensions---Your-first-Bot>,Architecture Overview <Architecture>Changed in version 20.0:
Initialization is now done through the
telegram.ext.ApplicationBuilder.Removed the attribute
groups.
- bot
The bot object that should be passed to the handlers.
- Type:
- update_queue
The synchronized queue that will contain the updates.
- Type:
- updater
Optional. The updater used by this application.
- Type:
- chat_data
A dictionary handlers can use to store data for the chat. For each integer chat id, the corresponding value of this mapping is available as
telegram.ext.CallbackContext.chat_datain handler callbacks for updates from that chat.Changed in version 20.0:
chat_datais now read-only. Note that the values of the mapping are still mutable, i.e. editingcontext.chat_datawithin a handler callback is possible (and encouraged), but editing the mappingapplication.chat_dataitself is not.Tip
Manually modifying
chat_datais almost never needed and unadvisable.Entries are never deleted automatically from this mapping. If you want to delete the data associated with a specific chat, e.g. if the bot got removed from that chat, please use
drop_chat_data().
- Type:
- user_data
A dictionary handlers can use to store data for the user. For each integer user id, the corresponding value of this mapping is available as
telegram.ext.CallbackContext.user_datain handler callbacks for updates from that user.Changed in version 20.0:
user_datais now read-only. Note that the values of the mapping are still mutable, i.e. editingcontext.user_datawithin a handler callback is possible (and encouraged), but editing the mappingapplication.user_dataitself is not.Tip
Manually modifying
user_datais almost never needed and unadvisable.Entries are never deleted automatically from this mapping. If you want to delete the data associated with a specific user, e.g. if that user blocked the bot, please use
drop_user_data().
- Type:
- persistence
The persistence class to store data that should be persistent over restarts.
- handlers
A dictionary mapping each handler group to the list of handlers registered to that group.
See also
- Type:
dict[
int, list[telegram.ext.BaseHandler]]
- error_handlers
A dictionary where the keys are error handlers and the values indicate whether they are to be run blocking.
See also
- Type:
dict[coroutine function,
bool]
- context_types
Specifies the types used by this dispatcher for the
contextargument of handler and job callbacks.
- post_init
Optional. A callback that will be executed by
Application.run_polling()andApplication.run_webhook()after initializing the application viainitialize().- Type:
- post_shutdown
Optional. A callback that will be executed by
Application.run_polling()andApplication.run_webhook()after shutting down the application viashutdown().- Type:
- post_stop
Optional. A callback that will be executed by
Application.run_polling()andApplication.run_webhook()after stopping the application viastop().Added in version 20.1.
- Type:
- add_error_handler(callback, block=True)[source]
Registers an error handler in the Application. This handler will receive every error which happens in your bot. See the docs of
process_error()for more details on how errors are handled.Note
Attempts to add the same callback multiple times will be ignored.
Examples
Errorhandler BotHint
This method currently has no influence on calls to
process_error()that are already in progress.Warning
This behavior should currently be considered an implementation detail and not as guaranteed behavior.
See also
Exceptions, Warnings and Logging <Exceptions%2C-Warnings-and-Logging>- Parameters:
callback (
Callable[[object,TypeVar(CCT, bound= CallbackContext[Any, Any, Any, Any])],Coroutine[Any,Any,None]]) –The callback function for this error handler. Will be called when an error is raised. Callback signature:
async def callback(update: Optional[object], context: CallbackContext)
The error that happened will be present in
telegram.ext.CallbackContext.error.block (
bool| DefaultValue[DVValueType], default:True) – Determines whether the return value of the callback should be awaited before processing the next error handler inprocess_error(). Defaults toTrue.
- Return type:
- add_handler(handler, group=0)[source]
Register a handler.
TL;DR: Order and priority counts. 0 or 1 handlers per group will be used. End handling of update with
telegram.ext.ApplicationHandlerStop.A handler must be an instance of a subclass of
telegram.ext.BaseHandler. All handlers are organized in groups with a numeric value. The default group is 0. All groups will be evaluated for handling an update, but only 0 or 1 handler per group will be used. Iftelegram.ext.ApplicationHandlerStopis raised from one of the handlers, no further handlers (regardless of the group) will be called.The priority/order of handlers is determined as follows:
Priority of the group (lower group number == higher priority)
The first handler in a group which can handle an update (see
telegram.ext.BaseHandler.check_update) will be used. Other handlers from the group will not be used. The order in which handlers were added to the group defines the priority.
Warning
Adding persistent
telegram.ext.ConversationHandlerafter the application has been initialized is discouraged. This is because the persisted conversation states need to be loaded into memory while the application is already processing updates, which might lead to race conditions and undesired behavior. In particular, current conversation states may be overridden by the loaded data.Hint
This method currently has no influence on calls to
process_update()that are already in progress.Warning
This behavior should currently be considered an implementation detail and not as guaranteed behavior.
- add_handlers(handlers, group=0)[source]
Registers multiple handlers at once. The order of the handlers in the passed sequence(s) matters. See
add_handler()for details.Added in version 20.0.
- Parameters:
handlers (
Sequence[BaseHandler[Any,TypeVar(CCT, bound= CallbackContext[Any, Any, Any, Any]),Any]] |dict[int,Sequence[BaseHandler[Any,TypeVar(CCT, bound= CallbackContext[Any, Any, Any, Any]),Any]]]) –Specify a sequence of handlers or a dictionary where the keys are groups and values are handlers.
Changed in version 21.7: Accepts any
collections.abc.Sequenceas input instead of just a list or tuple.group (
int|DefaultValue[int], default:0) – Specify which group the sequence ofhandlersshould be added to. Defaults to0.
- Return type:
Example:
app.add_handlers(handlers={ -1: [MessageHandler(...)], 1: [CallbackQueryHandler(...), CommandHandler(...)] }
- Raises:
TypeError – If the combination of arguments is invalid.
- bot: BT
- bot_data: BD
- static builder()[source]
Convenience method. Returns a new
telegram.ext.ApplicationBuilder.Added in version 20.0.
- property concurrent_updates: int
The number of concurrent updates that will be processed in parallel. A value of
0indicates updates are not being processed concurrently.Changed in version 20.4: This is now just a shortcut to
update_processor.max_concurrent_updates.See also
Concurrency- Type:
- context_types: ContextTypes[CCT, UD, CD, BD]
- create_task(coroutine, update=None, *, name=None)[source]
Thin wrapper around
asyncio.create_task()that handles exceptions raised by thecoroutinewithprocess_error().Note
If
coroutineraises an exception, it will be set on the task created by this method even though it’s handled byprocess_error().If the application is currently running, tasks created by this method will be awaited with
stop().
See also
Concurrency- Parameters:
coroutine (
Awaitable[TypeVar(RT)]) –The awaitable to run as task.
Changed in version 20.2: Accepts
asyncio.Futureand generator-based coroutine functions.Deprecated since version 20.4: Since Python 3.12, generator-based coroutine functions are no longer accepted.
update (
object|None, default:None) – If set, will be passed toprocess_error()as additional information for the error handlers. Moreover, the correspondingchat_dataanduser_dataentries will be updated in the next run ofupdate_persistence()after thecoroutineis finished.
- Keyword Arguments:
name (
str, optional) –The name of the task.
Added in version 20.4.
- Returns:
The created task.
- Returns:
- drop_chat_data(chat_id)[source]
Drops the corresponding entry from the
chat_data. Will also be deleted from the persistence on the next run ofupdate_persistence(), if applicable.Warning
When using
concurrent_updatesor thejob_queue,process_update()ortelegram.ext.Job.run()may re-create this entry due to the asynchronous nature of these features. Please make sure that your program can avoid or handle such situations.Added in version 20.0.
- drop_user_data(user_id)[source]
Drops the corresponding entry from the
user_data. Will also be deleted from the persistence on the next run ofupdate_persistence(), if applicable.Warning
When using
concurrent_updatesor thejob_queue,process_update()ortelegram.ext.Job.run()may re-create this entry due to the asynchronous nature of these features. Please make sure that your program can avoid or handle such situations.Added in version 20.0.
- error_handlers: dict[Callable[[object, CCT], Coroutine[Any, Any, None]], bool | DefaultValue[bool]]
- async initialize()[source]
Initializes the Application by initializing:
The
bot, by callingtelegram.Bot.initialize().The
updater, by callingtelegram.ext.Updater.initialize().The
persistence, by loading persistent conversations and data.The
update_processorby callingtelegram.ext.BaseUpdateProcessor.initialize().
Does not call
post_init- that is only done byrun_polling()andrun_webhook().See also
- Return type:
- property job_queue: JobQueue[CCT] | None
- The
JobQueueused by the
See also
Job Queue <Extensions---JobQueue>- Type:
- The
- mark_data_for_update_persistence(chat_ids=None, user_ids=None)[source]
Mark entries of
chat_dataanduser_datato be updated on the next run ofupdate_persistence().Tip
Use this method sparingly. If you have to use this method, it likely means that you access and modify
context.application.chat/user_data[some_id]within a callback. Note that for data which should be available globally in all handler callbacks independent of the chat/user, it is recommended to usebot_datainstead.Added in version 20.3.
- Parameters:
chat_ids (
int|Collection[int] |None, default:None) – Chat IDs to mark.user_ids (
int|Collection[int] |None, default:None) – User IDs to mark.
- Return type:
- migrate_chat_data(message=None, old_chat_id=None, new_chat_id=None)[source]
Moves the contents of
chat_dataat keyold_chat_idto the keynew_chat_id. Also marks the entries to be updated accordingly in the next run ofupdate_persistence().Warning
Any data stored in
chat_dataat keynew_chat_idwill be overriddenThe key
old_chat_idofchat_datawill be deletedThis does not update the
chat_idattribute of any scheduledtelegram.ext.Job.
When using
concurrent_updatesor thejob_queue,process_update()ortelegram.ext.Job.run()may re-create the old entry due to the asynchronous nature of these features. Please make sure that your program can avoid or handle such situations.See also
Storing Bot, User and Chat Related Data <Storing-bot%2C-user-and-chat-related-data>- Parameters:
message (
Message|None, default:None) –A message with either
migrate_from_chat_idormigrate_to_chat_id. Mutually exclusive with passingold_chat_idandnew_chat_id.old_chat_id (
int|None, default:None) – The old chat ID. Mutually exclusive with passingmessagenew_chat_id (
int|None, default:None) – The new chat ID. Mutually exclusive with passingmessage
- Raises:
ValueError – Raised if the input is invalid.
- Return type:
- persistence: BasePersistence[UD, CD, BD] | None
- async process_error(update, error, job=None, coroutine=None)[source]
Processes an error by passing it to all error handlers registered with
add_error_handler(). If one of the error handlers raisestelegram.ext.ApplicationHandlerStop, the error will not be handled by other error handlers. Raisingtelegram.ext.ApplicationHandlerStopalso stops processing of the update when this method is called byprocess_update(), i.e. no further handlers (even in other groups) will handle the update. All other exceptions raised by an error handler will just be logged.Changed in version 20.0:
dispatch_errorwas renamed toprocess_error().Exceptions raised by error handlers are now properly logged.
telegram.ext.ApplicationHandlerStopis no longer reraised but converted into the return value.
- Parameters:
- Returns:
True, if one of the error handlers raisedtelegram.ext.ApplicationHandlerStop.False, otherwise.- Returns:
bool–
- async process_update(update)[source]
Processes a single update and marks the update to be updated by the persistence later. Exceptions raised by handler callbacks will be processed by
process_error().See also
ConcurrencyChanged in version 20.0: Persistence is now updated in an interval set by
telegram.ext.BasePersistence.update_interval.- Parameters:
update (
object) – The update to process.- Raises:
RuntimeError – If the application was not initialized.
- Return type:
- remove_error_handler(callback)[source]
Removes an error handler.
Hint
This method currently has no influence on calls to
process_error()that are already in progress.Warning
This behavior should currently be considered an implementation detail and not as guaranteed behavior.
- remove_handler(handler, group=0)[source]
Remove a handler from the specified group.
Hint
This method currently has no influence on calls to
process_update()that are already in progress.Warning
This behavior should currently be considered an implementation detail and not as guaranteed behavior.
- Parameters:
handler (
BaseHandler[Any,TypeVar(CCT, bound= CallbackContext[Any, Any, Any, Any]),Any]) – Atelegram.ext.BaseHandlerinstance.group (
int, default:0) – The group identifier. Default is0.
- Return type:
- run_polling(poll_interval=0.0, timeout=datetime.timedelta(seconds=10), bootstrap_retries=0, allowed_updates=None, drop_pending_updates=None, close_loop=True, stop_signals=None)[source]
Convenience method that takes care of initializing and starting the app, polling updates from Telegram using
telegram.ext.Updater.start_polling()and a graceful shutdown of the app on exit.|app_run_shutdown|
stop_signals.The order of execution by
run_polling()is roughly as follows:Run the application until the users stops it
A small wrapper is passed to
telegram.ext.Updater.start_polling.error_callbackwhich forwards errors occurring during polling toregistered error handlers. The update parameter of the callback will be set toNone.Tip
For more information on running a Telegram bot application, see the python-telegram-bot documentation.
Changed in version Removed: the deprecated parameters
read_timeout,write_timeout,connect_timeout, andpool_timeout. Use the corresponding methods intelegram.ext.ApplicationBuilderinstead.- Parameters:
poll_interval (
float, default:0.0) – Time to wait between polling updates from Telegram in seconds. Default is0.0.timeout (
int|timedelta, default:datetime.timedelta(seconds=10)) –Passed to
telegram.Bot.get_updates.timeout. Default istimedelta(seconds=10).Changed in version v22.2: |time-period-input|
bootstrap_retries (
int, default:0) –Whether the bootstrapping phase (calling
initialize()and the boostrapping oftelegram.ext.Updater.start_polling()) will retry on failures on the Telegram server.< 0 - retry indefinitely
0 - no retries (default)
> 0 - retry up to X times
Changed in version 21.11: The default value will be changed to from
-1to0. Indefinite retries during bootstrapping are not recommended.drop_pending_updates (
bool|None, default:None) – Whether to clean any pending updates on Telegram servers before actually starting to poll. Default isFalse.allowed_updates (
Sequence[str] |None, default:None) –Passed to
telegram.Bot.get_updates().Changed in version 21.9: Accepts any
collections.abc.Sequenceas input instead of just a listclose_loop (
bool, default:True) –If
True, the current event loop will be closed upon shutdown. Defaults toTrue.See also
stop_signals (DefaultValue[DVValueType] |
Sequence[int] | DefaultValue[None] |None, default:None) –Signals that will shut down the app. Pass
Noneto not use stop signals. Defaults tosignal.SIGINT,signal.SIGTERMandsignal.SIGABRTon non Windows platforms.Caution
Not every
asyncio.AbstractEventLoopimplementsasyncio.loop.add_signal_handler(). Most notably, the standard event loop on Windows,asyncio.ProactorEventLoop, does not implement this method. If this method is not available, stop signals can not be set.
- Raises:
RuntimeError – If the Application does not have an
telegram.ext.Updater.- Return type:
- run_webhook(listen='127.0.0.1', port=80, url_path='', cert=None, key=None, bootstrap_retries=0, webhook_url=None, allowed_updates=None, drop_pending_updates=None, ip_address=None, max_connections=40, close_loop=True, stop_signals=None, secret_token=None, unix=None)[source]
Convenience method that takes care of initializing and starting the app, listening for updates from Telegram using
telegram.ext.Updater.start_webhook()and a graceful shutdown of the app on exit.|app_run_shutdown|
stop_signals.If
certandkeyare not provided, the webhook will be started directly onhttp://listen:port/url_path, so SSL can be handled by another application. Else, the webhook will be started onhttps://listen:port/url_path. Also callstelegram.Bot.set_webhook()as required.The order of execution by
run_webhook()is roughly as follows:Run the application until the users stops it
Important
If you want to use this method, you must install PTB with the optional requirement
webhooks, i.e.pip install "python-telegram-bot[webhooks]"
Tip
For more information on running a Telegram bot application, see the python-telegram-bot documentation.
See also
Webhooks- Parameters:
listen (
str| DefaultValue[DVValueType], default:'127.0.0.1') – IP-Address to listen on. Defaults to 127.0.0.1.port (
int| DefaultValue[DVValueType], default:80) – Port the bot should be listening on. Must be one oftelegram.constants.SUPPORTED_WEBHOOK_PORTSunless the bot is running behind a proxy. Defaults to80.url_path (
str, default:'') – Path inside url. Defaults to `` ‘’ ``cert (
str|Path|None, default:None) – Path to the SSL certificate file.key (
str|Path|None, default:None) – Path to the SSL key file.bootstrap_retries (
int, default:0) –Whether the bootstrapping phase (calling
initialize()and the boostrapping oftelegram.ext.Updater.start_polling()) will retry on failures on the Telegram server.< 0 - retry indefinitely
0 - no retries (default)
> 0 - retry up to X times
webhook_url (
str|None, default:None) – Explicitly specify the webhook url. Useful behind NAT, reverse proxy, etc. Default is derived fromlisten,port,url_path,cert, andkey.allowed_updates (
Sequence[str] |None, default:None) –Passed to
telegram.Bot.set_webhook().Changed in version 21.9: Accepts any
collections.abc.Sequenceas input instead of just a listdrop_pending_updates (
bool|None, default:None) – Whether to clean any pending updates on Telegram servers before actually starting to poll. Default isFalse.ip_address (
str|None, default:None) – Passed totelegram.Bot.set_webhook().max_connections (
int, default:40) – Passed totelegram.Bot.set_webhook(). Defaults to40.close_loop (
bool, default:True) –If
True, the current event loop will be closed upon shutdown. Defaults toTrue.See also
stop_signals (DefaultValue[DVValueType] |
Sequence[int] | DefaultValue[None] |None, default:None) –Signals that will shut down the app. Pass
Noneto not use stop signals. Defaults tosignal.SIGINT,signal.SIGTERMandsignal.SIGABRT.Caution
Not every
asyncio.AbstractEventLoopimplementsasyncio.loop.add_signal_handler(). Most notably, the standard event loop on Windows,asyncio.ProactorEventLoop, does not implement this method. If this method is not available, stop signals can not be set.secret_token (
str|None, default:None) –Secret token to ensure webhook requests originate from Telegram. See
telegram.Bot.set_webhook.secret_tokenfor more details.When added, the web server started by this call will expect the token to be set in the
X-Telegram-Bot-Api-Secret-Tokenheader of an incoming request and will raise ahttp.HTTPStatus.FORBIDDENerror if either the header isn’t set or it is set to a wrong token.Added in version 20.0.
unix (
str|Path| socket |None, default:None) –Can be either:
the path to the unix socket file as
pathlib.Pathorstr. This will be passed to tornado.netutil.bind_unix_socket to create the socket. If the Path does not exist, the file will be created.or the socket itself. This option allows you to e.g. restrict the permissions of the socket for improved security. Note that you need to pass the correct family, type and socket options yourself.
Caution
This parameter is a replacement for the default TCP bind. Therefore, it is mutually exclusive with
listenandport. When using this param, you must also run a reverse proxy to the unix socket and set the appropriatewebhook_url.Added in version 20.8.
Changed in version 21.1: Added support to pass a socket instance itself.
- Return type:
- async shutdown()[source]
Shuts down the Application by shutting down:
botby callingtelegram.Bot.shutdown()updaterby callingtelegram.ext.Updater.shutdown()persistenceby callingupdate_persistence()andBasePersistence.flush()update_processorby callingtelegram.ext.BaseUpdateProcessor.shutdown()
Does not call
post_shutdown- that is only done byrun_polling()andrun_webhook().See also
- Raises:
RuntimeError – If the application is still
running.- Return type:
- async start()[source]
Starts
a background task that fetches updates from
update_queueand processes them viaprocess_update().job_queue, if set.a background task that calls
update_persistence()in regular intervals, ifpersistenceis set.
Note
This does not start fetching updates from Telegram. To fetch updates, you need to either start
updatermanually or use one ofrun_polling()orrun_webhook().Tip
When using a custom logic for startup and shutdown of the application, eventual cancellation of pending tasks should happen only after
stop()has been called in order to ensure that the tasks mentioned above are not cancelled prematurely.See also
- Raises:
RuntimeError – If the application is already running or was not initialized.
- Return type:
- async stop()[source]
Stops the process after processing any pending updates or tasks created by
create_task(). Also stopsjob_queue, if set. Finally, callsupdate_persistence()andBasePersistence.flush()onpersistence, if set.Warning
Once this method is called, no more updates will be fetched from
update_queue, even if it’s not empty.See also
Note
This does not stop
updater. You need to either manually calltelegram.ext.Updater.stop()or use one ofrun_polling()orrun_webhook().Does not call
post_stop- that is only done byrun_polling()andrun_webhook().
- Raises:
RuntimeError – If the application is not running.
- Return type:
- stop_running()[source]
This method can be used to stop the execution of
run_polling()orrun_webhook()from within a handler, job or error callback. This allows a graceful shutdown of the application, i.e. the methods listed inrun_pollingandrun_webhookwill still be executed.This method can also be called within
post_init(). This allows for a graceful, early shutdown of the application if some condition is met (e.g., a database connection could not be established).Note
If the application is not running and this method is not called within
post_init(), this method does nothing.Warning
This method is designed to for use in combination with
run_polling()orrun_webhook(). Using this method in combination with a custom logic for starting and stopping the application is not guaranteed to work as expected. Use at your own risk.Added in version 20.5.
Changed in version 21.2: Added support for calling within
post_init().- Return type:
- async update_persistence()[source]
Updates
user_data,chat_data,bot_datainpersistencealong withcallback_data_cacheand the conversation states of any persistentConversationHandlerregistered for this application.For
user_dataandchat_data, only those entries are updated which either were used or have been manually marked viamark_data_for_update_persistence()since the last run of this method.Tip
This method will be called in regular intervals by the application. There is usually no need to call it manually.
Note
Any data is deep copied with
copy.deepcopy()before handing it over to the persistence in order to avoid race conditions, so all persisted data must be copyable.- Return type:
- property update_processor: BaseUpdateProcessor
The update processor used by this application.
See also
ConcurrencyAdded in version 20.4.
- class spotted.Config[source]
Bases:
objectConfigurations
- AUTOREPLIES_PATH = 'autoreplies.yaml'
- DEFAULT_AUTOREPLIES_PATH = '/opt/hostedtoolcache/Python/3.14.3/x64/lib/python3.14/site-packages/spotted/config/yaml/autoreplies.yaml'
- DEFAULT_SETTINGS_PATH = '/opt/hostedtoolcache/Python/3.14.3/x64/lib/python3.14/site-packages/spotted/config/yaml/settings.yaml'
- SETTINGS_PATH = 'settings.yaml'
- classmethod autoreplies_get(*keys, default=None)[source]
Get the value of the specified key in the autoreplies configuration dictionary. If the key is a tuple, it will return the value of the nested key. If the key is not present, it will return the default value.
- classmethod debug_get(key, default=None)[source]
Get the value of the specified key in the configuration under the ‘debug’ section. If the key is not present, it will return the default value.
- Parameters:
- Returns:
Any– value of the key or default value
- classmethod override_settings(config)[source]
Overrides the settings with the configuration provided in the config dict.
- Parameters:
config (
dict) – configuration dict used to override the current settings
- classmethod post_get(key, default=None)[source]
Get the value of the specified key in the configuration under the ‘post’ section. If the key is not present, it will return the default value.
- Parameters:
key (
Literal['community_group_id','channel_id','channel_tag','comments','admin_group_id','n_votes','remove_after_h','report','report_wait_mins','replace_anonymous_comments','delete_anonymous_comments','blacklist_messages','max_n_warns','warn_expiration_days','mute_default_duration_days','autoreplies_per_page','reject_after_autoreply']) – key to getdefault (
Any, default:None) – default value to return if the key is not present
- Returns:
Any– value of the key or default value
- classmethod reload(force_reload=False)[source]
Reset the configuration. The next time a setting parameter is required, the whole configuration will be reloaded. If force_reload is True, the configuration will be reloaded immediately.
- Parameters:
force_reload (
bool, default:False) – if True, the configuration will be reloaded immediately
- async spotted.add_commands(app)[source]
Adds the list of commands with their description to the bot
- Parameters:
app (
Application) – supplied application
- spotted.add_handlers(app)[source]
Adds all the needed handlers to the application
- Parameters:
app (
Application) – supplied application
- spotted.add_jobs(app)[source]
Adds all the jobs to be scheduled to the application
- Parameters:
app (
Application) – supplied application
- spotted.init_db()[source]
Initialize the database. If the debug.reset_on_load setting is True, it will delete the database and create a new one.
spotted package
Subpackages
- Module contents
ApplicationApplication.botApplication.update_queueApplication.updaterApplication.chat_dataApplication.user_dataApplication.bot_dataApplication.persistenceApplication.handlersApplication.error_handlersApplication.context_typesApplication.post_initApplication.post_shutdownApplication.post_stopApplication.add_error_handler()Application.add_handler()Application.add_handlers()Application.botApplication.bot_dataApplication.builder()Application.chat_dataApplication.concurrent_updatesApplication.context_typesApplication.create_task()Application.drop_chat_data()Application.drop_user_data()Application.error_handlersApplication.handlersApplication.initialize()Application.job_queueApplication.mark_data_for_update_persistence()Application.migrate_chat_data()Application.persistenceApplication.post_initApplication.post_shutdownApplication.post_stopApplication.process_error()Application.process_update()Application.remove_error_handler()Application.remove_handler()Application.run_polling()Application.run_webhook()Application.runningApplication.shutdown()Application.start()Application.stop()Application.stop_running()Application.update_persistence()Application.update_processorApplication.update_queueApplication.updaterApplication.user_data
ConfigDbManagerPendingPostPendingPost.admin_group_idPendingPost.create()PendingPost.credit_usernamePendingPost.datePendingPost.delete_post()PendingPost.from_group()PendingPost.from_user()PendingPost.g_message_idPendingPost.get_all()PendingPost.get_credit_username()PendingPost.get_list_admin_votes()PendingPost.get_votes()PendingPost.save_post()PendingPost.set_admin_vote()PendingPost.u_message_idPendingPost.user_id
PostDataPublishedPostReportReport.admin_group_idReport.c_message_idReport.channel_idReport.create_post_report()Report.create_user_report()Report.dateReport.from_group()Report.g_message_idReport.get_last_user_report()Report.get_post_report()Report.minutes_passedReport.save_report()Report.target_usernameReport.user_id
UserUser.ban()User.ban_dateUser.banned_users()User.become_anonym()User.become_credited()User.credited_users()User.follow_dateUser.following_users()User.get_follow_private_message_id()User.get_n_warns()User.get_user_sign()User.is_bannedUser.is_creditedUser.is_following()User.is_mutedUser.is_pendingUser.is_warn_bannableUser.mute()User.mute_dateUser.mute_expire_dateUser.muted_users()User.private_message_idUser.sban()User.set_follow()User.unmute()User.user_idUser.warn()
get_abs_path()read_md()- spotted.data package
- Submodules
- spotted.data.config module
- spotted.data.data_reader module
- spotted.data.db_manager module
- spotted.data.pending_post module
DbManagerMessageMessage.message_idMessage.from_userMessage.sender_chatMessage.dateMessage.chatMessage.is_automatic_forwardMessage.reply_to_messageMessage.edit_dateMessage.has_protected_contentMessage.is_from_offlineMessage.media_group_idMessage.textMessage.entitiesMessage.link_preview_optionsMessage.suggested_post_infoMessage.effect_idMessage.caption_entitiesMessage.show_caption_above_mediaMessage.audioMessage.documentMessage.animationMessage.gameMessage.photoMessage.stickerMessage.storyMessage.videoMessage.voiceMessage.video_noteMessage.new_chat_membersMessage.captionMessage.contactMessage.locationMessage.venueMessage.left_chat_memberMessage.new_chat_titleMessage.new_chat_photoMessage.delete_chat_photoMessage.group_chat_createdMessage.supergroup_chat_createdMessage.channel_chat_createdMessage.message_auto_delete_timer_changedMessage.migrate_to_chat_idMessage.migrate_from_chat_idMessage.pinned_messageMessage.invoiceMessage.successful_paymentMessage.connected_websiteMessage.author_signatureMessage.paid_star_countMessage.passport_dataMessage.pollMessage.diceMessage.via_botMessage.proximity_alert_triggeredMessage.video_chat_scheduledMessage.video_chat_startedMessage.video_chat_endedMessage.video_chat_participants_invitedMessage.web_app_dataMessage.reply_markupMessage.is_topic_messageMessage.message_thread_idMessage.forum_topic_createdMessage.forum_topic_closedMessage.forum_topic_reopenedMessage.forum_topic_editedMessage.general_forum_topic_hiddenMessage.general_forum_topic_unhiddenMessage.write_access_allowedMessage.has_media_spoilerMessage.checklistMessage.users_sharedMessage.chat_sharedMessage.giftMessage.unique_giftMessage.giveaway_createdMessage.giveawayMessage.giveaway_winnersMessage.giveaway_completedMessage.paid_message_price_changedMessage.suggested_post_approvedMessage.suggested_post_approval_failedMessage.suggested_post_declinedMessage.suggested_post_paidMessage.suggested_post_refundedMessage.external_replyMessage.quoteMessage.forward_originMessage.reply_to_storyMessage.boost_addedMessage.sender_boost_countMessage.business_connection_idMessage.sender_business_botMessage.chat_background_setMessage.checklist_tasks_doneMessage.checklist_tasks_addedMessage.paid_mediaMessage.refunded_paymentMessage.direct_message_price_changedMessage.is_paid_postMessage.direct_messages_topicMessage.reply_to_checklist_task_idMessage.animationMessage.approve_suggested_post()Message.audioMessage.author_signatureMessage.boost_addedMessage.build_reply_arguments()Message.business_connection_idMessage.captionMessage.caption_entitiesMessage.caption_htmlMessage.caption_html_urledMessage.caption_markdownMessage.caption_markdown_urledMessage.caption_markdown_v2Message.caption_markdown_v2_urledMessage.channel_chat_createdMessage.chat_background_setMessage.chat_idMessage.chat_sharedMessage.checklistMessage.checklist_tasks_addedMessage.checklist_tasks_doneMessage.close_forum_topic()Message.compute_quote_position_and_entities()Message.connected_websiteMessage.contactMessage.copy()Message.de_json()Message.decline_suggested_post()Message.delete()Message.delete_chat_photoMessage.delete_forum_topic()Message.diceMessage.direct_message_price_changedMessage.direct_messages_topicMessage.documentMessage.edit_caption()Message.edit_checklist()Message.edit_dateMessage.edit_forum_topic()Message.edit_live_location()Message.edit_media()Message.edit_reply_markup()Message.edit_text()Message.effect_idMessage.effective_attachmentMessage.entitiesMessage.external_replyMessage.forum_topic_closedMessage.forum_topic_createdMessage.forum_topic_editedMessage.forum_topic_reopenedMessage.forward()Message.forward_originMessage.from_userMessage.gameMessage.general_forum_topic_hiddenMessage.general_forum_topic_unhiddenMessage.get_game_high_scores()Message.giftMessage.giveawayMessage.giveaway_completedMessage.giveaway_createdMessage.giveaway_winnersMessage.group_chat_createdMessage.has_media_spoilerMessage.has_protected_contentMessage.idMessage.invoiceMessage.is_automatic_forwardMessage.is_from_offlineMessage.is_paid_postMessage.is_topic_messageMessage.left_chat_memberMessage.linkMessage.link_preview_optionsMessage.locationMessage.media_group_idMessage.message_auto_delete_timer_changedMessage.message_thread_idMessage.migrate_from_chat_idMessage.migrate_to_chat_idMessage.new_chat_membersMessage.new_chat_photoMessage.new_chat_titleMessage.paid_mediaMessage.paid_message_price_changedMessage.paid_star_countMessage.parse_caption_entities()Message.parse_caption_entity()Message.parse_entities()Message.parse_entity()Message.passport_dataMessage.photoMessage.pin()Message.pinned_messageMessage.pollMessage.proximity_alert_triggeredMessage.quoteMessage.read_business_message()Message.refunded_paymentMessage.reopen_forum_topic()Message.reply_animation()Message.reply_audio()Message.reply_chat_action()Message.reply_checklist()Message.reply_contact()Message.reply_copy()Message.reply_dice()Message.reply_document()Message.reply_game()Message.reply_html()Message.reply_invoice()Message.reply_location()Message.reply_markdown()Message.reply_markdown_v2()Message.reply_markupMessage.reply_media_group()Message.reply_paid_media()Message.reply_photo()Message.reply_poll()Message.reply_sticker()Message.reply_text()Message.reply_to_checklist_task_idMessage.reply_to_messageMessage.reply_to_storyMessage.reply_venue()Message.reply_video()Message.reply_video_note()Message.reply_voice()Message.sender_boost_countMessage.sender_business_botMessage.sender_chatMessage.set_game_score()Message.set_reaction()Message.show_caption_above_mediaMessage.stickerMessage.stop_live_location()Message.stop_poll()Message.storyMessage.successful_paymentMessage.suggested_post_approval_failedMessage.suggested_post_approvedMessage.suggested_post_declinedMessage.suggested_post_infoMessage.suggested_post_paidMessage.suggested_post_refundedMessage.supergroup_chat_createdMessage.textMessage.text_htmlMessage.text_html_urledMessage.text_markdownMessage.text_markdown_urledMessage.text_markdown_v2Message.text_markdown_v2_urledMessage.unique_giftMessage.unpin()Message.unpin_all_forum_topic_messages()Message.users_sharedMessage.venueMessage.via_botMessage.videoMessage.video_chat_endedMessage.video_chat_participants_invitedMessage.video_chat_scheduledMessage.video_chat_startedMessage.video_noteMessage.voiceMessage.web_app_dataMessage.write_access_allowed
PendingPostPendingPost.admin_group_idPendingPost.create()PendingPost.credit_usernamePendingPost.datePendingPost.delete_post()PendingPost.from_group()PendingPost.from_user()PendingPost.g_message_idPendingPost.get_all()PendingPost.get_credit_username()PendingPost.get_list_admin_votes()PendingPost.get_votes()PendingPost.save_post()PendingPost.set_admin_vote()PendingPost.u_message_idPendingPost.user_id
dataclass()datetimedatetime.astimezone()datetime.combine()datetime.ctime()datetime.date()datetime.dst()datetime.folddatetime.fromisoformat()datetime.fromtimestamp()datetime.hourdatetime.isoformat()datetime.maxdatetime.microseconddatetime.mindatetime.minutedatetime.now()datetime.replace()datetime.resolutiondatetime.seconddatetime.strptime()datetime.time()datetime.timestamp()datetime.timetuple()datetime.timetz()datetime.tzinfodatetime.tzname()datetime.utcfromtimestamp()datetime.utcnow()datetime.utcoffset()datetime.utctimetuple()
timezone
- spotted.data.post_data module
- spotted.data.published_post module
DbManagerPublishedPostdataclass()datetimedatetime.astimezone()datetime.combine()datetime.ctime()datetime.date()datetime.dst()datetime.folddatetime.fromisoformat()datetime.fromtimestamp()datetime.hourdatetime.isoformat()datetime.maxdatetime.microseconddatetime.mindatetime.minutedatetime.now()datetime.replace()datetime.resolutiondatetime.seconddatetime.strptime()datetime.time()datetime.timestamp()datetime.timetuple()datetime.timetz()datetime.tzinfodatetime.tzname()datetime.utcfromtimestamp()datetime.utcnow()datetime.utcoffset()datetime.utctimetuple()
- spotted.data.report module
DbManagerMessageMessage.message_idMessage.from_userMessage.sender_chatMessage.dateMessage.chatMessage.is_automatic_forwardMessage.reply_to_messageMessage.edit_dateMessage.has_protected_contentMessage.is_from_offlineMessage.media_group_idMessage.textMessage.entitiesMessage.link_preview_optionsMessage.suggested_post_infoMessage.effect_idMessage.caption_entitiesMessage.show_caption_above_mediaMessage.audioMessage.documentMessage.animationMessage.gameMessage.photoMessage.stickerMessage.storyMessage.videoMessage.voiceMessage.video_noteMessage.new_chat_membersMessage.captionMessage.contactMessage.locationMessage.venueMessage.left_chat_memberMessage.new_chat_titleMessage.new_chat_photoMessage.delete_chat_photoMessage.group_chat_createdMessage.supergroup_chat_createdMessage.channel_chat_createdMessage.message_auto_delete_timer_changedMessage.migrate_to_chat_idMessage.migrate_from_chat_idMessage.pinned_messageMessage.invoiceMessage.successful_paymentMessage.connected_websiteMessage.author_signatureMessage.paid_star_countMessage.passport_dataMessage.pollMessage.diceMessage.via_botMessage.proximity_alert_triggeredMessage.video_chat_scheduledMessage.video_chat_startedMessage.video_chat_endedMessage.video_chat_participants_invitedMessage.web_app_dataMessage.reply_markupMessage.is_topic_messageMessage.message_thread_idMessage.forum_topic_createdMessage.forum_topic_closedMessage.forum_topic_reopenedMessage.forum_topic_editedMessage.general_forum_topic_hiddenMessage.general_forum_topic_unhiddenMessage.write_access_allowedMessage.has_media_spoilerMessage.checklistMessage.users_sharedMessage.chat_sharedMessage.giftMessage.unique_giftMessage.giveaway_createdMessage.giveawayMessage.giveaway_winnersMessage.giveaway_completedMessage.paid_message_price_changedMessage.suggested_post_approvedMessage.suggested_post_approval_failedMessage.suggested_post_declinedMessage.suggested_post_paidMessage.suggested_post_refundedMessage.external_replyMessage.quoteMessage.forward_originMessage.reply_to_storyMessage.boost_addedMessage.sender_boost_countMessage.business_connection_idMessage.sender_business_botMessage.chat_background_setMessage.checklist_tasks_doneMessage.checklist_tasks_addedMessage.paid_mediaMessage.refunded_paymentMessage.direct_message_price_changedMessage.is_paid_postMessage.direct_messages_topicMessage.reply_to_checklist_task_idMessage.animationMessage.approve_suggested_post()Message.audioMessage.author_signatureMessage.boost_addedMessage.build_reply_arguments()Message.business_connection_idMessage.captionMessage.caption_entitiesMessage.caption_htmlMessage.caption_html_urledMessage.caption_markdownMessage.caption_markdown_urledMessage.caption_markdown_v2Message.caption_markdown_v2_urledMessage.channel_chat_createdMessage.chat_background_setMessage.chat_idMessage.chat_sharedMessage.checklistMessage.checklist_tasks_addedMessage.checklist_tasks_doneMessage.close_forum_topic()Message.compute_quote_position_and_entities()Message.connected_websiteMessage.contactMessage.copy()Message.de_json()Message.decline_suggested_post()Message.delete()Message.delete_chat_photoMessage.delete_forum_topic()Message.diceMessage.direct_message_price_changedMessage.direct_messages_topicMessage.documentMessage.edit_caption()Message.edit_checklist()Message.edit_dateMessage.edit_forum_topic()Message.edit_live_location()Message.edit_media()Message.edit_reply_markup()Message.edit_text()Message.effect_idMessage.effective_attachmentMessage.entitiesMessage.external_replyMessage.forum_topic_closedMessage.forum_topic_createdMessage.forum_topic_editedMessage.forum_topic_reopenedMessage.forward()Message.forward_originMessage.from_userMessage.gameMessage.general_forum_topic_hiddenMessage.general_forum_topic_unhiddenMessage.get_game_high_scores()Message.giftMessage.giveawayMessage.giveaway_completedMessage.giveaway_createdMessage.giveaway_winnersMessage.group_chat_createdMessage.has_media_spoilerMessage.has_protected_contentMessage.idMessage.invoiceMessage.is_automatic_forwardMessage.is_from_offlineMessage.is_paid_postMessage.is_topic_messageMessage.left_chat_memberMessage.linkMessage.link_preview_optionsMessage.locationMessage.media_group_idMessage.message_auto_delete_timer_changedMessage.message_thread_idMessage.migrate_from_chat_idMessage.migrate_to_chat_idMessage.new_chat_membersMessage.new_chat_photoMessage.new_chat_titleMessage.paid_mediaMessage.paid_message_price_changedMessage.paid_star_countMessage.parse_caption_entities()Message.parse_caption_entity()Message.parse_entities()Message.parse_entity()Message.passport_dataMessage.photoMessage.pin()Message.pinned_messageMessage.pollMessage.proximity_alert_triggeredMessage.quoteMessage.read_business_message()Message.refunded_paymentMessage.reopen_forum_topic()Message.reply_animation()Message.reply_audio()Message.reply_chat_action()Message.reply_checklist()Message.reply_contact()Message.reply_copy()Message.reply_dice()Message.reply_document()Message.reply_game()Message.reply_html()Message.reply_invoice()Message.reply_location()Message.reply_markdown()Message.reply_markdown_v2()Message.reply_markupMessage.reply_media_group()Message.reply_paid_media()Message.reply_photo()Message.reply_poll()Message.reply_sticker()Message.reply_text()Message.reply_to_checklist_task_idMessage.reply_to_messageMessage.reply_to_storyMessage.reply_venue()Message.reply_video()Message.reply_video_note()Message.reply_voice()Message.sender_boost_countMessage.sender_business_botMessage.sender_chatMessage.set_game_score()Message.set_reaction()Message.show_caption_above_mediaMessage.stickerMessage.stop_live_location()Message.stop_poll()Message.storyMessage.successful_paymentMessage.suggested_post_approval_failedMessage.suggested_post_approvedMessage.suggested_post_declinedMessage.suggested_post_infoMessage.suggested_post_paidMessage.suggested_post_refundedMessage.supergroup_chat_createdMessage.textMessage.text_htmlMessage.text_html_urledMessage.text_markdownMessage.text_markdown_urledMessage.text_markdown_v2Message.text_markdown_v2_urledMessage.unique_giftMessage.unpin()Message.unpin_all_forum_topic_messages()Message.users_sharedMessage.venueMessage.via_botMessage.videoMessage.video_chat_endedMessage.video_chat_participants_invitedMessage.video_chat_scheduledMessage.video_chat_startedMessage.video_noteMessage.voiceMessage.web_app_dataMessage.write_access_allowed
ReportReport.admin_group_idReport.c_message_idReport.channel_idReport.create_post_report()Report.create_user_report()Report.dateReport.from_group()Report.g_message_idReport.get_last_user_report()Report.get_post_report()Report.minutes_passedReport.save_report()Report.target_usernameReport.user_id
dataclass()datetimedatetime.astimezone()datetime.combine()datetime.ctime()datetime.date()datetime.dst()datetime.folddatetime.fromisoformat()datetime.fromtimestamp()datetime.hourdatetime.isoformat()datetime.maxdatetime.microseconddatetime.mindatetime.minutedatetime.now()datetime.replace()datetime.resolutiondatetime.seconddatetime.strptime()datetime.time()datetime.timestamp()datetime.timetuple()datetime.timetz()datetime.tzinfodatetime.tzname()datetime.utcfromtimestamp()datetime.utcnow()datetime.utcoffset()datetime.utctimetuple()
- spotted.data.user module
BotBot.addStickerToSet()Bot.add_sticker_to_set()Bot.answerCallbackQuery()Bot.answerInlineQuery()Bot.answerPreCheckoutQuery()Bot.answerShippingQuery()Bot.answerWebAppQuery()Bot.answer_callback_query()Bot.answer_inline_query()Bot.answer_pre_checkout_query()Bot.answer_shipping_query()Bot.answer_web_app_query()Bot.approveChatJoinRequest()Bot.approveSuggestedPost()Bot.approve_chat_join_request()Bot.approve_suggested_post()Bot.banChatMember()Bot.banChatSenderChat()Bot.ban_chat_member()Bot.ban_chat_sender_chat()Bot.base_file_urlBot.base_urlBot.botBot.can_join_groupsBot.can_read_all_group_messagesBot.close()Bot.closeForumTopic()Bot.closeGeneralForumTopic()Bot.close_forum_topic()Bot.close_general_forum_topic()Bot.convertGiftToStars()Bot.convert_gift_to_stars()Bot.copyMessage()Bot.copyMessages()Bot.copy_message()Bot.copy_messages()Bot.createChatInviteLink()Bot.createChatSubscriptionInviteLink()Bot.createForumTopic()Bot.createInvoiceLink()Bot.createNewStickerSet()Bot.create_chat_invite_link()Bot.create_chat_subscription_invite_link()Bot.create_forum_topic()Bot.create_invoice_link()Bot.create_new_sticker_set()Bot.declineChatJoinRequest()Bot.declineSuggestedPost()Bot.decline_chat_join_request()Bot.decline_suggested_post()Bot.deleteBusinessMessages()Bot.deleteChatPhoto()Bot.deleteChatStickerSet()Bot.deleteForumTopic()Bot.deleteMessage()Bot.deleteMessages()Bot.deleteMyCommands()Bot.deleteStickerFromSet()Bot.deleteStickerSet()Bot.deleteStory()Bot.deleteWebhook()Bot.delete_business_messages()Bot.delete_chat_photo()Bot.delete_chat_sticker_set()Bot.delete_forum_topic()Bot.delete_message()Bot.delete_messages()Bot.delete_my_commands()Bot.delete_sticker_from_set()Bot.delete_sticker_set()Bot.delete_story()Bot.delete_webhook()Bot.do_api_request()Bot.editChatInviteLink()Bot.editChatSubscriptionInviteLink()Bot.editForumTopic()Bot.editGeneralForumTopic()Bot.editMessageCaption()Bot.editMessageChecklist()Bot.editMessageLiveLocation()Bot.editMessageMedia()Bot.editMessageReplyMarkup()Bot.editMessageText()Bot.editStory()Bot.editUserStarSubscription()Bot.edit_chat_invite_link()Bot.edit_chat_subscription_invite_link()Bot.edit_forum_topic()Bot.edit_general_forum_topic()Bot.edit_message_caption()Bot.edit_message_checklist()Bot.edit_message_live_location()Bot.edit_message_media()Bot.edit_message_reply_markup()Bot.edit_message_text()Bot.edit_story()Bot.edit_user_star_subscription()Bot.exportChatInviteLink()Bot.export_chat_invite_link()Bot.first_nameBot.forwardMessage()Bot.forwardMessages()Bot.forward_message()Bot.forward_messages()Bot.getAvailableGifts()Bot.getBusinessAccountGifts()Bot.getBusinessAccountStarBalance()Bot.getBusinessConnection()Bot.getChat()Bot.getChatAdministrators()Bot.getChatMember()Bot.getChatMemberCount()Bot.getChatMenuButton()Bot.getCustomEmojiStickers()Bot.getFile()Bot.getForumTopicIconStickers()Bot.getGameHighScores()Bot.getMe()Bot.getMyCommands()Bot.getMyDefaultAdministratorRights()Bot.getMyDescription()Bot.getMyName()Bot.getMyShortDescription()Bot.getMyStarBalance()Bot.getStarTransactions()Bot.getStickerSet()Bot.getUpdates()Bot.getUserChatBoosts()Bot.getUserProfilePhotos()Bot.getWebhookInfo()Bot.get_available_gifts()Bot.get_business_account_gifts()Bot.get_business_account_star_balance()Bot.get_business_connection()Bot.get_chat()Bot.get_chat_administrators()Bot.get_chat_member()Bot.get_chat_member_count()Bot.get_chat_menu_button()Bot.get_custom_emoji_stickers()Bot.get_file()Bot.get_forum_topic_icon_stickers()Bot.get_game_high_scores()Bot.get_me()Bot.get_my_commands()Bot.get_my_default_administrator_rights()Bot.get_my_description()Bot.get_my_name()Bot.get_my_short_description()Bot.get_my_star_balance()Bot.get_star_transactions()Bot.get_sticker_set()Bot.get_updates()Bot.get_user_chat_boosts()Bot.get_user_profile_photos()Bot.get_webhook_info()Bot.giftPremiumSubscription()Bot.gift_premium_subscription()Bot.hideGeneralForumTopic()Bot.hide_general_forum_topic()Bot.idBot.initialize()Bot.last_nameBot.leaveChat()Bot.leave_chat()Bot.linkBot.local_modeBot.logOut()Bot.log_out()Bot.nameBot.pinChatMessage()Bot.pin_chat_message()Bot.postStory()Bot.post_story()Bot.private_keyBot.promoteChatMember()Bot.promote_chat_member()Bot.readBusinessMessage()Bot.read_business_message()Bot.refundStarPayment()Bot.refund_star_payment()Bot.removeBusinessAccountProfilePhoto()Bot.removeChatVerification()Bot.removeUserVerification()Bot.remove_business_account_profile_photo()Bot.remove_chat_verification()Bot.remove_user_verification()Bot.reopenForumTopic()Bot.reopenGeneralForumTopic()Bot.reopen_forum_topic()Bot.reopen_general_forum_topic()Bot.replaceStickerInSet()Bot.replace_sticker_in_set()Bot.requestBot.restrictChatMember()Bot.restrict_chat_member()Bot.revokeChatInviteLink()Bot.revoke_chat_invite_link()Bot.savePreparedInlineMessage()Bot.save_prepared_inline_message()Bot.sendAnimation()Bot.sendAudio()Bot.sendChatAction()Bot.sendChecklist()Bot.sendContact()Bot.sendDice()Bot.sendDocument()Bot.sendGame()Bot.sendGift()Bot.sendInvoice()Bot.sendLocation()Bot.sendMediaGroup()Bot.sendMessage()Bot.sendPaidMedia()Bot.sendPhoto()Bot.sendPoll()Bot.sendSticker()Bot.sendVenue()Bot.sendVideo()Bot.sendVideoNote()Bot.sendVoice()Bot.send_animation()Bot.send_audio()Bot.send_chat_action()Bot.send_checklist()Bot.send_contact()Bot.send_dice()Bot.send_document()Bot.send_game()Bot.send_gift()Bot.send_invoice()Bot.send_location()Bot.send_media_group()Bot.send_message()Bot.send_paid_media()Bot.send_photo()Bot.send_poll()Bot.send_sticker()Bot.send_venue()Bot.send_video()Bot.send_video_note()Bot.send_voice()Bot.setBusinessAccountBio()Bot.setBusinessAccountGiftSettings()Bot.setBusinessAccountName()Bot.setBusinessAccountProfilePhoto()Bot.setBusinessAccountUsername()Bot.setChatAdministratorCustomTitle()Bot.setChatDescription()Bot.setChatMenuButton()Bot.setChatPermissions()Bot.setChatPhoto()Bot.setChatStickerSet()Bot.setChatTitle()Bot.setCustomEmojiStickerSetThumbnail()Bot.setGameScore()Bot.setMessageReaction()Bot.setMyCommands()Bot.setMyDefaultAdministratorRights()Bot.setMyDescription()Bot.setMyName()Bot.setMyShortDescription()Bot.setPassportDataErrors()Bot.setStickerEmojiList()Bot.setStickerKeywords()Bot.setStickerMaskPosition()Bot.setStickerPositionInSet()Bot.setStickerSetThumbnail()Bot.setStickerSetTitle()Bot.setUserEmojiStatus()Bot.setWebhook()Bot.set_business_account_bio()Bot.set_business_account_gift_settings()Bot.set_business_account_name()Bot.set_business_account_profile_photo()Bot.set_business_account_username()Bot.set_chat_administrator_custom_title()Bot.set_chat_description()Bot.set_chat_menu_button()Bot.set_chat_permissions()Bot.set_chat_photo()Bot.set_chat_sticker_set()Bot.set_chat_title()Bot.set_custom_emoji_sticker_set_thumbnail()Bot.set_game_score()Bot.set_message_reaction()Bot.set_my_commands()Bot.set_my_default_administrator_rights()Bot.set_my_description()Bot.set_my_name()Bot.set_my_short_description()Bot.set_passport_data_errors()Bot.set_sticker_emoji_list()Bot.set_sticker_keywords()Bot.set_sticker_mask_position()Bot.set_sticker_position_in_set()Bot.set_sticker_set_thumbnail()Bot.set_sticker_set_title()Bot.set_user_emoji_status()Bot.set_webhook()Bot.shutdown()Bot.stopMessageLiveLocation()Bot.stopPoll()Bot.stop_message_live_location()Bot.stop_poll()Bot.supports_inline_queriesBot.to_dict()Bot.tokenBot.transferBusinessAccountStars()Bot.transferGift()Bot.transfer_business_account_stars()Bot.transfer_gift()Bot.unbanChatMember()Bot.unbanChatSenderChat()Bot.unban_chat_member()Bot.unban_chat_sender_chat()Bot.unhideGeneralForumTopic()Bot.unhide_general_forum_topic()Bot.unpinAllChatMessages()Bot.unpinAllForumTopicMessages()Bot.unpinAllGeneralForumTopicMessages()Bot.unpinChatMessage()Bot.unpin_all_chat_messages()Bot.unpin_all_forum_topic_messages()Bot.unpin_all_general_forum_topic_messages()Bot.unpin_chat_message()Bot.upgradeGift()Bot.upgrade_gift()Bot.uploadStickerFile()Bot.upload_sticker_file()Bot.usernameBot.verifyChat()Bot.verifyUser()Bot.verify_chat()Bot.verify_user()
ChatPermissionsChatPermissions.can_send_messagesChatPermissions.can_send_pollsChatPermissions.can_send_other_messagesChatPermissions.can_add_web_page_previewsChatPermissions.can_change_infoChatPermissions.can_invite_usersChatPermissions.can_pin_messagesChatPermissions.can_manage_topicsChatPermissions.can_send_audiosChatPermissions.can_send_documentsChatPermissions.can_send_photosChatPermissions.can_send_videosChatPermissions.can_send_video_notesChatPermissions.can_send_voice_notesChatPermissions.all_permissions()ChatPermissions.can_add_web_page_previewsChatPermissions.can_change_infoChatPermissions.can_invite_usersChatPermissions.can_manage_topicsChatPermissions.can_pin_messagesChatPermissions.can_send_audiosChatPermissions.can_send_documentsChatPermissions.can_send_messagesChatPermissions.can_send_other_messagesChatPermissions.can_send_photosChatPermissions.can_send_pollsChatPermissions.can_send_video_notesChatPermissions.can_send_videosChatPermissions.can_send_voice_notesChatPermissions.de_json()ChatPermissions.no_permissions()
ConfigDbManagerPendingPostPendingPost.admin_group_idPendingPost.create()PendingPost.credit_usernamePendingPost.datePendingPost.delete_post()PendingPost.from_group()PendingPost.from_user()PendingPost.g_message_idPendingPost.get_all()PendingPost.get_credit_username()PendingPost.get_list_admin_votes()PendingPost.get_votes()PendingPost.save_post()PendingPost.set_admin_vote()PendingPost.u_message_idPendingPost.user_id
UserUser.ban()User.ban_dateUser.banned_users()User.become_anonym()User.become_credited()User.credited_users()User.follow_dateUser.following_users()User.get_follow_private_message_id()User.get_n_warns()User.get_user_sign()User.is_bannedUser.is_creditedUser.is_following()User.is_mutedUser.is_pendingUser.is_warn_bannableUser.mute()User.mute_dateUser.mute_expire_dateUser.muted_users()User.private_message_idUser.sban()User.set_follow()User.unmute()User.user_idUser.warn()
choice()dataclass()datetimedatetime.astimezone()datetime.combine()datetime.ctime()datetime.date()datetime.dst()datetime.folddatetime.fromisoformat()datetime.fromtimestamp()datetime.hourdatetime.isoformat()datetime.maxdatetime.microseconddatetime.mindatetime.minutedatetime.now()datetime.replace()datetime.resolutiondatetime.seconddatetime.strptime()datetime.time()datetime.timestamp()datetime.timetuple()datetime.timetz()datetime.tzinfodatetime.tzname()datetime.utcfromtimestamp()datetime.utcnow()datetime.utcoffset()datetime.utctimetuple()
read_md()timedelta
- Module contents
- Submodules
- spotted.debug.log_manager module
CallbackContextCallbackContext.coroutineCallbackContext.matchesCallbackContext.argsCallbackContext.errorCallbackContext.jobCallbackContext.applicationCallbackContext.argsCallbackContext.botCallbackContext.bot_dataCallbackContext.chat_dataCallbackContext.coroutineCallbackContext.drop_callback_data()CallbackContext.errorCallbackContext.from_error()CallbackContext.from_job()CallbackContext.from_update()CallbackContext.jobCallbackContext.job_queueCallbackContext.matchCallbackContext.matchesCallbackContext.refresh_data()CallbackContext.update()CallbackContext.update_queueCallbackContext.user_data
ConfigParseModePathPath.absolute()Path.as_uri()Path.chmod()Path.copy()Path.copy_into()Path.cwd()Path.exists()Path.expanduser()Path.from_uri()Path.glob()Path.group()Path.hardlink_to()Path.home()Path.infoPath.is_block_device()Path.is_char_device()Path.is_dir()Path.is_fifo()Path.is_file()Path.is_junction()Path.is_mount()Path.is_socket()Path.is_symlink()Path.iterdir()Path.lchmod()Path.lstat()Path.mkdir()Path.move()Path.move_into()Path.open()Path.owner()Path.read_bytes()Path.read_text()Path.readlink()Path.rename()Path.replace()Path.resolve()Path.rglob()Path.rmdir()Path.samefile()Path.stat()Path.symlink_to()Path.touch()Path.unlink()Path.walk()Path.write_bytes()Path.write_text()
UpdateUpdate.update_idUpdate.messageUpdate.edited_messageUpdate.channel_postUpdate.edited_channel_postUpdate.inline_queryUpdate.chosen_inline_resultUpdate.callback_queryUpdate.shipping_queryUpdate.pre_checkout_queryUpdate.pollUpdate.poll_answerUpdate.my_chat_memberUpdate.chat_memberUpdate.chat_join_requestUpdate.chat_boostUpdate.removed_chat_boostUpdate.message_reactionUpdate.message_reaction_countUpdate.business_connectionUpdate.business_messageUpdate.edited_business_messageUpdate.deleted_business_messagesUpdate.purchased_paid_mediaUpdate.ALL_TYPESUpdate.BUSINESS_CONNECTIONUpdate.BUSINESS_MESSAGEUpdate.CALLBACK_QUERYUpdate.CHANNEL_POSTUpdate.CHAT_BOOSTUpdate.CHAT_JOIN_REQUESTUpdate.CHAT_MEMBERUpdate.CHOSEN_INLINE_RESULTUpdate.DELETED_BUSINESS_MESSAGESUpdate.EDITED_BUSINESS_MESSAGEUpdate.EDITED_CHANNEL_POSTUpdate.EDITED_MESSAGEUpdate.INLINE_QUERYUpdate.MESSAGEUpdate.MESSAGE_REACTIONUpdate.MESSAGE_REACTION_COUNTUpdate.MY_CHAT_MEMBERUpdate.POLLUpdate.POLL_ANSWERUpdate.PRE_CHECKOUT_QUERYUpdate.PURCHASED_PAID_MEDIAUpdate.REMOVED_CHAT_BOOSTUpdate.SHIPPING_QUERYUpdate.business_connectionUpdate.business_messageUpdate.callback_queryUpdate.channel_postUpdate.chat_boostUpdate.chat_join_requestUpdate.chat_memberUpdate.chosen_inline_resultUpdate.de_json()Update.deleted_business_messagesUpdate.edited_business_messageUpdate.edited_channel_postUpdate.edited_messageUpdate.effective_chatUpdate.effective_messageUpdate.effective_senderUpdate.effective_userUpdate.inline_queryUpdate.messageUpdate.message_reactionUpdate.message_reaction_countUpdate.my_chat_memberUpdate.pollUpdate.poll_answerUpdate.pre_checkout_queryUpdate.purchased_paid_mediaUpdate.removed_chat_boostUpdate.shipping_queryUpdate.update_id
datetimedatetime.astimezone()datetime.combine()datetime.ctime()datetime.date()datetime.dst()datetime.folddatetime.fromisoformat()datetime.fromtimestamp()datetime.hourdatetime.isoformat()datetime.maxdatetime.microseconddatetime.mindatetime.minutedatetime.now()datetime.replace()datetime.resolutiondatetime.seconddatetime.strptime()datetime.time()datetime.timestamp()datetime.timetuple()datetime.timetz()datetime.tzinfodatetime.tzname()datetime.utcfromtimestamp()datetime.utcnow()datetime.utcoffset()datetime.utctimetuple()
error_handler()log_message()notify_error_admin()
- Module contents
ApplicationApplication.botApplication.update_queueApplication.updaterApplication.chat_dataApplication.user_dataApplication.bot_dataApplication.persistenceApplication.handlersApplication.error_handlersApplication.context_typesApplication.post_initApplication.post_shutdownApplication.post_stopApplication.add_error_handler()Application.add_handler()Application.add_handlers()Application.botApplication.bot_dataApplication.builder()Application.chat_dataApplication.concurrent_updatesApplication.context_typesApplication.create_task()Application.drop_chat_data()Application.drop_user_data()Application.error_handlersApplication.handlersApplication.initialize()Application.job_queueApplication.mark_data_for_update_persistence()Application.migrate_chat_data()Application.persistenceApplication.post_initApplication.post_shutdownApplication.post_stopApplication.process_error()Application.process_update()Application.remove_error_handler()Application.remove_handler()Application.run_polling()Application.run_webhook()Application.runningApplication.shutdown()Application.start()Application.stop()Application.stop_running()Application.update_persistence()Application.update_processorApplication.update_queueApplication.updaterApplication.user_data
BotCommandBotCommandScopeAllPrivateChatsBotCommandScopeChatCallbackQueryHandlerCommandHandlerConfigMessageHandlerPTBUserWarningadd_commands()add_handlers()add_jobs()anonymous_comment_msg()approve_no_callback()approve_status_callback()approve_yes_callback()autoreply_callback()autoreply_cmd()ban_cmd()cancel_cmd()clean_muted_users()clean_pending_cmd()clean_pending_job()db_backup_cmd()db_backup_job()error_handler()filterwarnings()follow_spot_callback()follow_spot_comment()forwarded_post_msg()help_cmd()log_message()mute_cmd()purge_cmd()reload_cmd()reply_cmd()report_spot_conv_handler()report_user_conv_handler()rules_cmd()sban_cmd()settings_callback()settings_cmd()spam_comment_msg()spot_conv_handler()start_cmd()timeunmute_cmd()warn_cmd()- spotted.handlers package
- Submodules
- spotted.handlers.anonym_comment module
CallbackContextCallbackContext.coroutineCallbackContext.matchesCallbackContext.argsCallbackContext.errorCallbackContext.jobCallbackContext.applicationCallbackContext.argsCallbackContext.botCallbackContext.bot_dataCallbackContext.chat_dataCallbackContext.coroutineCallbackContext.drop_callback_data()CallbackContext.errorCallbackContext.from_error()CallbackContext.from_job()CallbackContext.from_update()CallbackContext.jobCallbackContext.job_queueCallbackContext.matchCallbackContext.matchesCallbackContext.refresh_data()CallbackContext.update()CallbackContext.update_queueCallbackContext.user_data
ConfigEventInfoEventInfo.answer_callback_query()EventInfo.argsEventInfo.botEventInfo.bot_dataEventInfo.callback_keyEventInfo.chat_idEventInfo.chat_typeEventInfo.contextEventInfo.edit_inline_keyboard()EventInfo.forward_from_chat_idEventInfo.forward_from_idEventInfo.from_callback()EventInfo.from_job()EventInfo.from_message()EventInfo.inline_keyboardEventInfo.is_forward_from_channelEventInfo.is_forward_from_chatEventInfo.is_forward_from_userEventInfo.is_forwarded_postEventInfo.is_private_chatEventInfo.is_valid_message_typeEventInfo.messageEventInfo.message_idEventInfo.query_dataEventInfo.query_idEventInfo.reply_markupEventInfo.send_post_to_admins()EventInfo.send_post_to_channel()EventInfo.send_post_to_channel_group()EventInfo.show_admins_votes()EventInfo.textEventInfo.updateEventInfo.user_dataEventInfo.user_idEventInfo.user_nameEventInfo.user_username
UpdateUpdate.update_idUpdate.messageUpdate.edited_messageUpdate.channel_postUpdate.edited_channel_postUpdate.inline_queryUpdate.chosen_inline_resultUpdate.callback_queryUpdate.shipping_queryUpdate.pre_checkout_queryUpdate.pollUpdate.poll_answerUpdate.my_chat_memberUpdate.chat_memberUpdate.chat_join_requestUpdate.chat_boostUpdate.removed_chat_boostUpdate.message_reactionUpdate.message_reaction_countUpdate.business_connectionUpdate.business_messageUpdate.edited_business_messageUpdate.deleted_business_messagesUpdate.purchased_paid_mediaUpdate.ALL_TYPESUpdate.BUSINESS_CONNECTIONUpdate.BUSINESS_MESSAGEUpdate.CALLBACK_QUERYUpdate.CHANNEL_POSTUpdate.CHAT_BOOSTUpdate.CHAT_JOIN_REQUESTUpdate.CHAT_MEMBERUpdate.CHOSEN_INLINE_RESULTUpdate.DELETED_BUSINESS_MESSAGESUpdate.EDITED_BUSINESS_MESSAGEUpdate.EDITED_CHANNEL_POSTUpdate.EDITED_MESSAGEUpdate.INLINE_QUERYUpdate.MESSAGEUpdate.MESSAGE_REACTIONUpdate.MESSAGE_REACTION_COUNTUpdate.MY_CHAT_MEMBERUpdate.POLLUpdate.POLL_ANSWERUpdate.PRE_CHECKOUT_QUERYUpdate.PURCHASED_PAID_MEDIAUpdate.REMOVED_CHAT_BOOSTUpdate.SHIPPING_QUERYUpdate.business_connectionUpdate.business_messageUpdate.callback_queryUpdate.channel_postUpdate.chat_boostUpdate.chat_join_requestUpdate.chat_memberUpdate.chosen_inline_resultUpdate.de_json()Update.deleted_business_messagesUpdate.edited_business_messageUpdate.edited_channel_postUpdate.edited_messageUpdate.effective_chatUpdate.effective_messageUpdate.effective_senderUpdate.effective_userUpdate.inline_queryUpdate.messageUpdate.message_reactionUpdate.message_reaction_countUpdate.my_chat_memberUpdate.pollUpdate.poll_answerUpdate.pre_checkout_queryUpdate.purchased_paid_mediaUpdate.removed_chat_boostUpdate.shipping_queryUpdate.update_id
anonymous_comment_msg()
- spotted.handlers.approve module
BadRequestCallbackContextCallbackContext.coroutineCallbackContext.matchesCallbackContext.argsCallbackContext.errorCallbackContext.jobCallbackContext.applicationCallbackContext.argsCallbackContext.botCallbackContext.bot_dataCallbackContext.chat_dataCallbackContext.coroutineCallbackContext.drop_callback_data()CallbackContext.errorCallbackContext.from_error()CallbackContext.from_job()CallbackContext.from_update()CallbackContext.jobCallbackContext.job_queueCallbackContext.matchCallbackContext.matchesCallbackContext.refresh_data()CallbackContext.update()CallbackContext.update_queueCallbackContext.user_data
ConfigEventInfoEventInfo.answer_callback_query()EventInfo.argsEventInfo.botEventInfo.bot_dataEventInfo.callback_keyEventInfo.chat_idEventInfo.chat_typeEventInfo.contextEventInfo.edit_inline_keyboard()EventInfo.forward_from_chat_idEventInfo.forward_from_idEventInfo.from_callback()EventInfo.from_job()EventInfo.from_message()EventInfo.inline_keyboardEventInfo.is_forward_from_channelEventInfo.is_forward_from_chatEventInfo.is_forward_from_userEventInfo.is_forwarded_postEventInfo.is_private_chatEventInfo.is_valid_message_typeEventInfo.messageEventInfo.message_idEventInfo.query_dataEventInfo.query_idEventInfo.reply_markupEventInfo.send_post_to_admins()EventInfo.send_post_to_channel()EventInfo.send_post_to_channel_group()EventInfo.show_admins_votes()EventInfo.textEventInfo.updateEventInfo.user_dataEventInfo.user_idEventInfo.user_nameEventInfo.user_username
ForbiddenPendingPostPendingPost.admin_group_idPendingPost.create()PendingPost.credit_usernamePendingPost.datePendingPost.delete_post()PendingPost.from_group()PendingPost.from_user()PendingPost.g_message_idPendingPost.get_all()PendingPost.get_credit_username()PendingPost.get_list_admin_votes()PendingPost.get_votes()PendingPost.save_post()PendingPost.set_admin_vote()PendingPost.u_message_idPendingPost.user_id
UpdateUpdate.update_idUpdate.messageUpdate.edited_messageUpdate.channel_postUpdate.edited_channel_postUpdate.inline_queryUpdate.chosen_inline_resultUpdate.callback_queryUpdate.shipping_queryUpdate.pre_checkout_queryUpdate.pollUpdate.poll_answerUpdate.my_chat_memberUpdate.chat_memberUpdate.chat_join_requestUpdate.chat_boostUpdate.removed_chat_boostUpdate.message_reactionUpdate.message_reaction_countUpdate.business_connectionUpdate.business_messageUpdate.edited_business_messageUpdate.deleted_business_messagesUpdate.purchased_paid_mediaUpdate.ALL_TYPESUpdate.BUSINESS_CONNECTIONUpdate.BUSINESS_MESSAGEUpdate.CALLBACK_QUERYUpdate.CHANNEL_POSTUpdate.CHAT_BOOSTUpdate.CHAT_JOIN_REQUESTUpdate.CHAT_MEMBERUpdate.CHOSEN_INLINE_RESULTUpdate.DELETED_BUSINESS_MESSAGESUpdate.EDITED_BUSINESS_MESSAGEUpdate.EDITED_CHANNEL_POSTUpdate.EDITED_MESSAGEUpdate.INLINE_QUERYUpdate.MESSAGEUpdate.MESSAGE_REACTIONUpdate.MESSAGE_REACTION_COUNTUpdate.MY_CHAT_MEMBERUpdate.POLLUpdate.POLL_ANSWERUpdate.PRE_CHECKOUT_QUERYUpdate.PURCHASED_PAID_MEDIAUpdate.REMOVED_CHAT_BOOSTUpdate.SHIPPING_QUERYUpdate.business_connectionUpdate.business_messageUpdate.callback_queryUpdate.channel_postUpdate.chat_boostUpdate.chat_join_requestUpdate.chat_memberUpdate.chosen_inline_resultUpdate.de_json()Update.deleted_business_messagesUpdate.edited_business_messageUpdate.edited_channel_postUpdate.edited_messageUpdate.effective_chatUpdate.effective_messageUpdate.effective_senderUpdate.effective_userUpdate.inline_queryUpdate.messageUpdate.message_reactionUpdate.message_reaction_countUpdate.my_chat_memberUpdate.pollUpdate.poll_answerUpdate.pre_checkout_queryUpdate.purchased_paid_mediaUpdate.removed_chat_boostUpdate.shipping_queryUpdate.update_id
approve_no_callback()approve_status_callback()approve_yes_callback()get_approve_kb()get_paused_kb()reject_post()
- spotted.handlers.autoreply module
CallbackContextCallbackContext.coroutineCallbackContext.matchesCallbackContext.argsCallbackContext.errorCallbackContext.jobCallbackContext.applicationCallbackContext.argsCallbackContext.botCallbackContext.bot_dataCallbackContext.chat_dataCallbackContext.coroutineCallbackContext.drop_callback_data()CallbackContext.errorCallbackContext.from_error()CallbackContext.from_job()CallbackContext.from_update()CallbackContext.jobCallbackContext.job_queueCallbackContext.matchCallbackContext.matchesCallbackContext.refresh_data()CallbackContext.update()CallbackContext.update_queueCallbackContext.user_data
ConfigEventInfoEventInfo.answer_callback_query()EventInfo.argsEventInfo.botEventInfo.bot_dataEventInfo.callback_keyEventInfo.chat_idEventInfo.chat_typeEventInfo.contextEventInfo.edit_inline_keyboard()EventInfo.forward_from_chat_idEventInfo.forward_from_idEventInfo.from_callback()EventInfo.from_job()EventInfo.from_message()EventInfo.inline_keyboardEventInfo.is_forward_from_channelEventInfo.is_forward_from_chatEventInfo.is_forward_from_userEventInfo.is_forwarded_postEventInfo.is_private_chatEventInfo.is_valid_message_typeEventInfo.messageEventInfo.message_idEventInfo.query_dataEventInfo.query_idEventInfo.reply_markupEventInfo.send_post_to_admins()EventInfo.send_post_to_channel()EventInfo.send_post_to_channel_group()EventInfo.show_admins_votes()EventInfo.textEventInfo.updateEventInfo.user_dataEventInfo.user_idEventInfo.user_nameEventInfo.user_username
PendingPostPendingPost.admin_group_idPendingPost.create()PendingPost.credit_usernamePendingPost.datePendingPost.delete_post()PendingPost.from_group()PendingPost.from_user()PendingPost.g_message_idPendingPost.get_all()PendingPost.get_credit_username()PendingPost.get_list_admin_votes()PendingPost.get_votes()PendingPost.save_post()PendingPost.set_admin_vote()PendingPost.u_message_idPendingPost.user_id
ReportReport.admin_group_idReport.c_message_idReport.channel_idReport.create_post_report()Report.create_user_report()Report.dateReport.from_group()Report.g_message_idReport.get_last_user_report()Report.get_post_report()Report.minutes_passedReport.save_report()Report.target_usernameReport.user_id
UpdateUpdate.update_idUpdate.messageUpdate.edited_messageUpdate.channel_postUpdate.edited_channel_postUpdate.inline_queryUpdate.chosen_inline_resultUpdate.callback_queryUpdate.shipping_queryUpdate.pre_checkout_queryUpdate.pollUpdate.poll_answerUpdate.my_chat_memberUpdate.chat_memberUpdate.chat_join_requestUpdate.chat_boostUpdate.removed_chat_boostUpdate.message_reactionUpdate.message_reaction_countUpdate.business_connectionUpdate.business_messageUpdate.edited_business_messageUpdate.deleted_business_messagesUpdate.purchased_paid_mediaUpdate.ALL_TYPESUpdate.BUSINESS_CONNECTIONUpdate.BUSINESS_MESSAGEUpdate.CALLBACK_QUERYUpdate.CHANNEL_POSTUpdate.CHAT_BOOSTUpdate.CHAT_JOIN_REQUESTUpdate.CHAT_MEMBERUpdate.CHOSEN_INLINE_RESULTUpdate.DELETED_BUSINESS_MESSAGESUpdate.EDITED_BUSINESS_MESSAGEUpdate.EDITED_CHANNEL_POSTUpdate.EDITED_MESSAGEUpdate.INLINE_QUERYUpdate.MESSAGEUpdate.MESSAGE_REACTIONUpdate.MESSAGE_REACTION_COUNTUpdate.MY_CHAT_MEMBERUpdate.POLLUpdate.POLL_ANSWERUpdate.PRE_CHECKOUT_QUERYUpdate.PURCHASED_PAID_MEDIAUpdate.REMOVED_CHAT_BOOSTUpdate.SHIPPING_QUERYUpdate.business_connectionUpdate.business_messageUpdate.callback_queryUpdate.channel_postUpdate.chat_boostUpdate.chat_join_requestUpdate.chat_memberUpdate.chosen_inline_resultUpdate.de_json()Update.deleted_business_messagesUpdate.edited_business_messageUpdate.edited_channel_postUpdate.edited_messageUpdate.effective_chatUpdate.effective_messageUpdate.effective_senderUpdate.effective_userUpdate.inline_queryUpdate.messageUpdate.message_reactionUpdate.message_reaction_countUpdate.my_chat_memberUpdate.pollUpdate.poll_answerUpdate.pre_checkout_queryUpdate.purchased_paid_mediaUpdate.removed_chat_boostUpdate.shipping_queryUpdate.update_id
autoreply_callback()autoreply_cmd()reject_post()
- spotted.handlers.ban module
CallbackContextCallbackContext.coroutineCallbackContext.matchesCallbackContext.argsCallbackContext.errorCallbackContext.jobCallbackContext.applicationCallbackContext.argsCallbackContext.botCallbackContext.bot_dataCallbackContext.chat_dataCallbackContext.coroutineCallbackContext.drop_callback_data()CallbackContext.errorCallbackContext.from_error()CallbackContext.from_job()CallbackContext.from_update()CallbackContext.jobCallbackContext.job_queueCallbackContext.matchCallbackContext.matchesCallbackContext.refresh_data()CallbackContext.update()CallbackContext.update_queueCallbackContext.user_data
ConfigEventInfoEventInfo.answer_callback_query()EventInfo.argsEventInfo.botEventInfo.bot_dataEventInfo.callback_keyEventInfo.chat_idEventInfo.chat_typeEventInfo.contextEventInfo.edit_inline_keyboard()EventInfo.forward_from_chat_idEventInfo.forward_from_idEventInfo.from_callback()EventInfo.from_job()EventInfo.from_message()EventInfo.inline_keyboardEventInfo.is_forward_from_channelEventInfo.is_forward_from_chatEventInfo.is_forward_from_userEventInfo.is_forwarded_postEventInfo.is_private_chatEventInfo.is_valid_message_typeEventInfo.messageEventInfo.message_idEventInfo.query_dataEventInfo.query_idEventInfo.reply_markupEventInfo.send_post_to_admins()EventInfo.send_post_to_channel()EventInfo.send_post_to_channel_group()EventInfo.show_admins_votes()EventInfo.textEventInfo.updateEventInfo.user_dataEventInfo.user_idEventInfo.user_nameEventInfo.user_username
PendingPostPendingPost.admin_group_idPendingPost.create()PendingPost.credit_usernamePendingPost.datePendingPost.delete_post()PendingPost.from_group()PendingPost.from_user()PendingPost.g_message_idPendingPost.get_all()PendingPost.get_credit_username()PendingPost.get_list_admin_votes()PendingPost.get_votes()PendingPost.save_post()PendingPost.set_admin_vote()PendingPost.u_message_idPendingPost.user_id
ReportReport.admin_group_idReport.c_message_idReport.channel_idReport.create_post_report()Report.create_user_report()Report.dateReport.from_group()Report.g_message_idReport.get_last_user_report()Report.get_post_report()Report.minutes_passedReport.save_report()Report.target_usernameReport.user_id
UpdateUpdate.update_idUpdate.messageUpdate.edited_messageUpdate.channel_postUpdate.edited_channel_postUpdate.inline_queryUpdate.chosen_inline_resultUpdate.callback_queryUpdate.shipping_queryUpdate.pre_checkout_queryUpdate.pollUpdate.poll_answerUpdate.my_chat_memberUpdate.chat_memberUpdate.chat_join_requestUpdate.chat_boostUpdate.removed_chat_boostUpdate.message_reactionUpdate.message_reaction_countUpdate.business_connectionUpdate.business_messageUpdate.edited_business_messageUpdate.deleted_business_messagesUpdate.purchased_paid_mediaUpdate.ALL_TYPESUpdate.BUSINESS_CONNECTIONUpdate.BUSINESS_MESSAGEUpdate.CALLBACK_QUERYUpdate.CHANNEL_POSTUpdate.CHAT_BOOSTUpdate.CHAT_JOIN_REQUESTUpdate.CHAT_MEMBERUpdate.CHOSEN_INLINE_RESULTUpdate.DELETED_BUSINESS_MESSAGESUpdate.EDITED_BUSINESS_MESSAGEUpdate.EDITED_CHANNEL_POSTUpdate.EDITED_MESSAGEUpdate.INLINE_QUERYUpdate.MESSAGEUpdate.MESSAGE_REACTIONUpdate.MESSAGE_REACTION_COUNTUpdate.MY_CHAT_MEMBERUpdate.POLLUpdate.POLL_ANSWERUpdate.PRE_CHECKOUT_QUERYUpdate.PURCHASED_PAID_MEDIAUpdate.REMOVED_CHAT_BOOSTUpdate.SHIPPING_QUERYUpdate.business_connectionUpdate.business_messageUpdate.callback_queryUpdate.channel_postUpdate.chat_boostUpdate.chat_join_requestUpdate.chat_memberUpdate.chosen_inline_resultUpdate.de_json()Update.deleted_business_messagesUpdate.edited_business_messageUpdate.edited_channel_postUpdate.edited_messageUpdate.effective_chatUpdate.effective_messageUpdate.effective_senderUpdate.effective_userUpdate.inline_queryUpdate.messageUpdate.message_reactionUpdate.message_reaction_countUpdate.my_chat_memberUpdate.pollUpdate.poll_answerUpdate.pre_checkout_queryUpdate.purchased_paid_mediaUpdate.removed_chat_boostUpdate.shipping_queryUpdate.update_id
UserUser.ban()User.ban_dateUser.banned_users()User.become_anonym()User.become_credited()User.credited_users()User.follow_dateUser.following_users()User.get_follow_private_message_id()User.get_n_warns()User.get_user_sign()User.is_bannedUser.is_creditedUser.is_following()User.is_mutedUser.is_pendingUser.is_warn_bannableUser.mute()User.mute_dateUser.mute_expire_dateUser.muted_users()User.private_message_idUser.sban()User.set_follow()User.unmute()User.user_idUser.warn()
ban_cmd()execute_ban()
- spotted.handlers.cancel module
CallbackContextCallbackContext.coroutineCallbackContext.matchesCallbackContext.argsCallbackContext.errorCallbackContext.jobCallbackContext.applicationCallbackContext.argsCallbackContext.botCallbackContext.bot_dataCallbackContext.chat_dataCallbackContext.coroutineCallbackContext.drop_callback_data()CallbackContext.errorCallbackContext.from_error()CallbackContext.from_job()CallbackContext.from_update()CallbackContext.jobCallbackContext.job_queueCallbackContext.matchCallbackContext.matchesCallbackContext.refresh_data()CallbackContext.update()CallbackContext.update_queueCallbackContext.user_data
ConversationStateEventInfoEventInfo.answer_callback_query()EventInfo.argsEventInfo.botEventInfo.bot_dataEventInfo.callback_keyEventInfo.chat_idEventInfo.chat_typeEventInfo.contextEventInfo.edit_inline_keyboard()EventInfo.forward_from_chat_idEventInfo.forward_from_idEventInfo.from_callback()EventInfo.from_job()EventInfo.from_message()EventInfo.inline_keyboardEventInfo.is_forward_from_channelEventInfo.is_forward_from_chatEventInfo.is_forward_from_userEventInfo.is_forwarded_postEventInfo.is_private_chatEventInfo.is_valid_message_typeEventInfo.messageEventInfo.message_idEventInfo.query_dataEventInfo.query_idEventInfo.reply_markupEventInfo.send_post_to_admins()EventInfo.send_post_to_channel()EventInfo.send_post_to_channel_group()EventInfo.show_admins_votes()EventInfo.textEventInfo.updateEventInfo.user_dataEventInfo.user_idEventInfo.user_nameEventInfo.user_username
PendingPostPendingPost.admin_group_idPendingPost.create()PendingPost.credit_usernamePendingPost.datePendingPost.delete_post()PendingPost.from_group()PendingPost.from_user()PendingPost.g_message_idPendingPost.get_all()PendingPost.get_credit_username()PendingPost.get_list_admin_votes()PendingPost.get_votes()PendingPost.save_post()PendingPost.set_admin_vote()PendingPost.u_message_idPendingPost.user_id
UpdateUpdate.update_idUpdate.messageUpdate.edited_messageUpdate.channel_postUpdate.edited_channel_postUpdate.inline_queryUpdate.chosen_inline_resultUpdate.callback_queryUpdate.shipping_queryUpdate.pre_checkout_queryUpdate.pollUpdate.poll_answerUpdate.my_chat_memberUpdate.chat_memberUpdate.chat_join_requestUpdate.chat_boostUpdate.removed_chat_boostUpdate.message_reactionUpdate.message_reaction_countUpdate.business_connectionUpdate.business_messageUpdate.edited_business_messageUpdate.deleted_business_messagesUpdate.purchased_paid_mediaUpdate.ALL_TYPESUpdate.BUSINESS_CONNECTIONUpdate.BUSINESS_MESSAGEUpdate.CALLBACK_QUERYUpdate.CHANNEL_POSTUpdate.CHAT_BOOSTUpdate.CHAT_JOIN_REQUESTUpdate.CHAT_MEMBERUpdate.CHOSEN_INLINE_RESULTUpdate.DELETED_BUSINESS_MESSAGESUpdate.EDITED_BUSINESS_MESSAGEUpdate.EDITED_CHANNEL_POSTUpdate.EDITED_MESSAGEUpdate.INLINE_QUERYUpdate.MESSAGEUpdate.MESSAGE_REACTIONUpdate.MESSAGE_REACTION_COUNTUpdate.MY_CHAT_MEMBERUpdate.POLLUpdate.POLL_ANSWERUpdate.PRE_CHECKOUT_QUERYUpdate.PURCHASED_PAID_MEDIAUpdate.REMOVED_CHAT_BOOSTUpdate.SHIPPING_QUERYUpdate.business_connectionUpdate.business_messageUpdate.callback_queryUpdate.channel_postUpdate.chat_boostUpdate.chat_join_requestUpdate.chat_memberUpdate.chosen_inline_resultUpdate.de_json()Update.deleted_business_messagesUpdate.edited_business_messageUpdate.edited_channel_postUpdate.edited_messageUpdate.effective_chatUpdate.effective_messageUpdate.effective_senderUpdate.effective_userUpdate.inline_queryUpdate.messageUpdate.message_reactionUpdate.message_reaction_countUpdate.my_chat_memberUpdate.pollUpdate.poll_answerUpdate.pre_checkout_queryUpdate.purchased_paid_mediaUpdate.removed_chat_boostUpdate.shipping_queryUpdate.update_id
cancel_cmd()
- spotted.handlers.clean_pending module
CallbackContextCallbackContext.coroutineCallbackContext.matchesCallbackContext.argsCallbackContext.errorCallbackContext.jobCallbackContext.applicationCallbackContext.argsCallbackContext.botCallbackContext.bot_dataCallbackContext.chat_dataCallbackContext.coroutineCallbackContext.drop_callback_data()CallbackContext.errorCallbackContext.from_error()CallbackContext.from_job()CallbackContext.from_update()CallbackContext.jobCallbackContext.job_queueCallbackContext.matchCallbackContext.matchesCallbackContext.refresh_data()CallbackContext.update()CallbackContext.update_queueCallbackContext.user_data
UpdateUpdate.update_idUpdate.messageUpdate.edited_messageUpdate.channel_postUpdate.edited_channel_postUpdate.inline_queryUpdate.chosen_inline_resultUpdate.callback_queryUpdate.shipping_queryUpdate.pre_checkout_queryUpdate.pollUpdate.poll_answerUpdate.my_chat_memberUpdate.chat_memberUpdate.chat_join_requestUpdate.chat_boostUpdate.removed_chat_boostUpdate.message_reactionUpdate.message_reaction_countUpdate.business_connectionUpdate.business_messageUpdate.edited_business_messageUpdate.deleted_business_messagesUpdate.purchased_paid_mediaUpdate.ALL_TYPESUpdate.BUSINESS_CONNECTIONUpdate.BUSINESS_MESSAGEUpdate.CALLBACK_QUERYUpdate.CHANNEL_POSTUpdate.CHAT_BOOSTUpdate.CHAT_JOIN_REQUESTUpdate.CHAT_MEMBERUpdate.CHOSEN_INLINE_RESULTUpdate.DELETED_BUSINESS_MESSAGESUpdate.EDITED_BUSINESS_MESSAGEUpdate.EDITED_CHANNEL_POSTUpdate.EDITED_MESSAGEUpdate.INLINE_QUERYUpdate.MESSAGEUpdate.MESSAGE_REACTIONUpdate.MESSAGE_REACTION_COUNTUpdate.MY_CHAT_MEMBERUpdate.POLLUpdate.POLL_ANSWERUpdate.PRE_CHECKOUT_QUERYUpdate.PURCHASED_PAID_MEDIAUpdate.REMOVED_CHAT_BOOSTUpdate.SHIPPING_QUERYUpdate.business_connectionUpdate.business_messageUpdate.callback_queryUpdate.channel_postUpdate.chat_boostUpdate.chat_join_requestUpdate.chat_memberUpdate.chosen_inline_resultUpdate.de_json()Update.deleted_business_messagesUpdate.edited_business_messageUpdate.edited_channel_postUpdate.edited_messageUpdate.effective_chatUpdate.effective_messageUpdate.effective_senderUpdate.effective_userUpdate.inline_queryUpdate.messageUpdate.message_reactionUpdate.message_reaction_countUpdate.my_chat_memberUpdate.pollUpdate.poll_answerUpdate.pre_checkout_queryUpdate.purchased_paid_mediaUpdate.removed_chat_boostUpdate.shipping_queryUpdate.update_id
clean_pending_cmd()clean_pending_job()
- spotted.handlers.constants module
- spotted.handlers.db_backup module
CallbackContextCallbackContext.coroutineCallbackContext.matchesCallbackContext.argsCallbackContext.errorCallbackContext.jobCallbackContext.applicationCallbackContext.argsCallbackContext.botCallbackContext.bot_dataCallbackContext.chat_dataCallbackContext.coroutineCallbackContext.drop_callback_data()CallbackContext.errorCallbackContext.from_error()CallbackContext.from_job()CallbackContext.from_update()CallbackContext.jobCallbackContext.job_queueCallbackContext.matchCallbackContext.matchesCallbackContext.refresh_data()CallbackContext.update()CallbackContext.update_queueCallbackContext.user_data
ConfigEventInfoEventInfo.answer_callback_query()EventInfo.argsEventInfo.botEventInfo.bot_dataEventInfo.callback_keyEventInfo.chat_idEventInfo.chat_typeEventInfo.contextEventInfo.edit_inline_keyboard()EventInfo.forward_from_chat_idEventInfo.forward_from_idEventInfo.from_callback()EventInfo.from_job()EventInfo.from_message()EventInfo.inline_keyboardEventInfo.is_forward_from_channelEventInfo.is_forward_from_chatEventInfo.is_forward_from_userEventInfo.is_forwarded_postEventInfo.is_private_chatEventInfo.is_valid_message_typeEventInfo.messageEventInfo.message_idEventInfo.query_dataEventInfo.query_idEventInfo.reply_markupEventInfo.send_post_to_admins()EventInfo.send_post_to_channel()EventInfo.send_post_to_channel_group()EventInfo.show_admins_votes()EventInfo.textEventInfo.updateEventInfo.user_dataEventInfo.user_idEventInfo.user_nameEventInfo.user_username
UpdateUpdate.update_idUpdate.messageUpdate.edited_messageUpdate.channel_postUpdate.edited_channel_postUpdate.inline_queryUpdate.chosen_inline_resultUpdate.callback_queryUpdate.shipping_queryUpdate.pre_checkout_queryUpdate.pollUpdate.poll_answerUpdate.my_chat_memberUpdate.chat_memberUpdate.chat_join_requestUpdate.chat_boostUpdate.removed_chat_boostUpdate.message_reactionUpdate.message_reaction_countUpdate.business_connectionUpdate.business_messageUpdate.edited_business_messageUpdate.deleted_business_messagesUpdate.purchased_paid_mediaUpdate.ALL_TYPESUpdate.BUSINESS_CONNECTIONUpdate.BUSINESS_MESSAGEUpdate.CALLBACK_QUERYUpdate.CHANNEL_POSTUpdate.CHAT_BOOSTUpdate.CHAT_JOIN_REQUESTUpdate.CHAT_MEMBERUpdate.CHOSEN_INLINE_RESULTUpdate.DELETED_BUSINESS_MESSAGESUpdate.EDITED_BUSINESS_MESSAGEUpdate.EDITED_CHANNEL_POSTUpdate.EDITED_MESSAGEUpdate.INLINE_QUERYUpdate.MESSAGEUpdate.MESSAGE_REACTIONUpdate.MESSAGE_REACTION_COUNTUpdate.MY_CHAT_MEMBERUpdate.POLLUpdate.POLL_ANSWERUpdate.PRE_CHECKOUT_QUERYUpdate.PURCHASED_PAID_MEDIAUpdate.REMOVED_CHAT_BOOSTUpdate.SHIPPING_QUERYUpdate.business_connectionUpdate.business_messageUpdate.callback_queryUpdate.channel_postUpdate.chat_boostUpdate.chat_join_requestUpdate.chat_memberUpdate.chosen_inline_resultUpdate.de_json()Update.deleted_business_messagesUpdate.edited_business_messageUpdate.edited_channel_postUpdate.edited_messageUpdate.effective_chatUpdate.effective_messageUpdate.effective_senderUpdate.effective_userUpdate.inline_queryUpdate.messageUpdate.message_reactionUpdate.message_reaction_countUpdate.my_chat_memberUpdate.pollUpdate.poll_answerUpdate.pre_checkout_queryUpdate.purchased_paid_mediaUpdate.removed_chat_boostUpdate.shipping_queryUpdate.update_id
db_backup_cmd()db_backup_job()
- spotted.handlers.follow_comment module
BadRequestCallbackContextCallbackContext.coroutineCallbackContext.matchesCallbackContext.argsCallbackContext.errorCallbackContext.jobCallbackContext.applicationCallbackContext.argsCallbackContext.botCallbackContext.bot_dataCallbackContext.chat_dataCallbackContext.coroutineCallbackContext.drop_callback_data()CallbackContext.errorCallbackContext.from_error()CallbackContext.from_job()CallbackContext.from_update()CallbackContext.jobCallbackContext.job_queueCallbackContext.matchCallbackContext.matchesCallbackContext.refresh_data()CallbackContext.update()CallbackContext.update_queueCallbackContext.user_data
EventInfoEventInfo.answer_callback_query()EventInfo.argsEventInfo.botEventInfo.bot_dataEventInfo.callback_keyEventInfo.chat_idEventInfo.chat_typeEventInfo.contextEventInfo.edit_inline_keyboard()EventInfo.forward_from_chat_idEventInfo.forward_from_idEventInfo.from_callback()EventInfo.from_job()EventInfo.from_message()EventInfo.inline_keyboardEventInfo.is_forward_from_channelEventInfo.is_forward_from_chatEventInfo.is_forward_from_userEventInfo.is_forwarded_postEventInfo.is_private_chatEventInfo.is_valid_message_typeEventInfo.messageEventInfo.message_idEventInfo.query_dataEventInfo.query_idEventInfo.reply_markupEventInfo.send_post_to_admins()EventInfo.send_post_to_channel()EventInfo.send_post_to_channel_group()EventInfo.show_admins_votes()EventInfo.textEventInfo.updateEventInfo.user_dataEventInfo.user_idEventInfo.user_nameEventInfo.user_username
ForbiddenUpdateUpdate.update_idUpdate.messageUpdate.edited_messageUpdate.channel_postUpdate.edited_channel_postUpdate.inline_queryUpdate.chosen_inline_resultUpdate.callback_queryUpdate.shipping_queryUpdate.pre_checkout_queryUpdate.pollUpdate.poll_answerUpdate.my_chat_memberUpdate.chat_memberUpdate.chat_join_requestUpdate.chat_boostUpdate.removed_chat_boostUpdate.message_reactionUpdate.message_reaction_countUpdate.business_connectionUpdate.business_messageUpdate.edited_business_messageUpdate.deleted_business_messagesUpdate.purchased_paid_mediaUpdate.ALL_TYPESUpdate.BUSINESS_CONNECTIONUpdate.BUSINESS_MESSAGEUpdate.CALLBACK_QUERYUpdate.CHANNEL_POSTUpdate.CHAT_BOOSTUpdate.CHAT_JOIN_REQUESTUpdate.CHAT_MEMBERUpdate.CHOSEN_INLINE_RESULTUpdate.DELETED_BUSINESS_MESSAGESUpdate.EDITED_BUSINESS_MESSAGEUpdate.EDITED_CHANNEL_POSTUpdate.EDITED_MESSAGEUpdate.INLINE_QUERYUpdate.MESSAGEUpdate.MESSAGE_REACTIONUpdate.MESSAGE_REACTION_COUNTUpdate.MY_CHAT_MEMBERUpdate.POLLUpdate.POLL_ANSWERUpdate.PRE_CHECKOUT_QUERYUpdate.PURCHASED_PAID_MEDIAUpdate.REMOVED_CHAT_BOOSTUpdate.SHIPPING_QUERYUpdate.business_connectionUpdate.business_messageUpdate.callback_queryUpdate.channel_postUpdate.chat_boostUpdate.chat_join_requestUpdate.chat_memberUpdate.chosen_inline_resultUpdate.de_json()Update.deleted_business_messagesUpdate.edited_business_messageUpdate.edited_channel_postUpdate.edited_messageUpdate.effective_chatUpdate.effective_messageUpdate.effective_senderUpdate.effective_userUpdate.inline_queryUpdate.messageUpdate.message_reactionUpdate.message_reaction_countUpdate.my_chat_memberUpdate.pollUpdate.poll_answerUpdate.pre_checkout_queryUpdate.purchased_paid_mediaUpdate.removed_chat_boostUpdate.shipping_queryUpdate.update_id
UserUser.ban()User.ban_dateUser.banned_users()User.become_anonym()User.become_credited()User.credited_users()User.follow_dateUser.following_users()User.get_follow_private_message_id()User.get_n_warns()User.get_user_sign()User.is_bannedUser.is_creditedUser.is_following()User.is_mutedUser.is_pendingUser.is_warn_bannableUser.mute()User.mute_dateUser.mute_expire_dateUser.muted_users()User.private_message_idUser.sban()User.set_follow()User.unmute()User.user_idUser.warn()
follow_spot_comment()
- spotted.handlers.follow_spot module
CallbackContextCallbackContext.coroutineCallbackContext.matchesCallbackContext.argsCallbackContext.errorCallbackContext.jobCallbackContext.applicationCallbackContext.argsCallbackContext.botCallbackContext.bot_dataCallbackContext.chat_dataCallbackContext.coroutineCallbackContext.drop_callback_data()CallbackContext.errorCallbackContext.from_error()CallbackContext.from_job()CallbackContext.from_update()CallbackContext.jobCallbackContext.job_queueCallbackContext.matchCallbackContext.matchesCallbackContext.refresh_data()CallbackContext.update()CallbackContext.update_queueCallbackContext.user_data
ConfigEventInfoEventInfo.answer_callback_query()EventInfo.argsEventInfo.botEventInfo.bot_dataEventInfo.callback_keyEventInfo.chat_idEventInfo.chat_typeEventInfo.contextEventInfo.edit_inline_keyboard()EventInfo.forward_from_chat_idEventInfo.forward_from_idEventInfo.from_callback()EventInfo.from_job()EventInfo.from_message()EventInfo.inline_keyboardEventInfo.is_forward_from_channelEventInfo.is_forward_from_chatEventInfo.is_forward_from_userEventInfo.is_forwarded_postEventInfo.is_private_chatEventInfo.is_valid_message_typeEventInfo.messageEventInfo.message_idEventInfo.query_dataEventInfo.query_idEventInfo.reply_markupEventInfo.send_post_to_admins()EventInfo.send_post_to_channel()EventInfo.send_post_to_channel_group()EventInfo.show_admins_votes()EventInfo.textEventInfo.updateEventInfo.user_dataEventInfo.user_idEventInfo.user_nameEventInfo.user_username
ForbiddenInlineKeyboardButtonInlineKeyboardButton.textInlineKeyboardButton.urlInlineKeyboardButton.login_urlInlineKeyboardButton.callback_dataInlineKeyboardButton.web_appInlineKeyboardButton.switch_inline_queryInlineKeyboardButton.switch_inline_query_current_chatInlineKeyboardButton.copy_textInlineKeyboardButton.callback_gameInlineKeyboardButton.payInlineKeyboardButton.switch_inline_query_chosen_chatInlineKeyboardButton.MAX_CALLBACK_DATAInlineKeyboardButton.MIN_CALLBACK_DATAInlineKeyboardButton.callback_dataInlineKeyboardButton.callback_gameInlineKeyboardButton.copy_textInlineKeyboardButton.de_json()InlineKeyboardButton.login_urlInlineKeyboardButton.payInlineKeyboardButton.switch_inline_queryInlineKeyboardButton.switch_inline_query_chosen_chatInlineKeyboardButton.switch_inline_query_current_chatInlineKeyboardButton.textInlineKeyboardButton.update_callback_data()InlineKeyboardButton.urlInlineKeyboardButton.web_app
InlineKeyboardMarkupUpdateUpdate.update_idUpdate.messageUpdate.edited_messageUpdate.channel_postUpdate.edited_channel_postUpdate.inline_queryUpdate.chosen_inline_resultUpdate.callback_queryUpdate.shipping_queryUpdate.pre_checkout_queryUpdate.pollUpdate.poll_answerUpdate.my_chat_memberUpdate.chat_memberUpdate.chat_join_requestUpdate.chat_boostUpdate.removed_chat_boostUpdate.message_reactionUpdate.message_reaction_countUpdate.business_connectionUpdate.business_messageUpdate.edited_business_messageUpdate.deleted_business_messagesUpdate.purchased_paid_mediaUpdate.ALL_TYPESUpdate.BUSINESS_CONNECTIONUpdate.BUSINESS_MESSAGEUpdate.CALLBACK_QUERYUpdate.CHANNEL_POSTUpdate.CHAT_BOOSTUpdate.CHAT_JOIN_REQUESTUpdate.CHAT_MEMBERUpdate.CHOSEN_INLINE_RESULTUpdate.DELETED_BUSINESS_MESSAGESUpdate.EDITED_BUSINESS_MESSAGEUpdate.EDITED_CHANNEL_POSTUpdate.EDITED_MESSAGEUpdate.INLINE_QUERYUpdate.MESSAGEUpdate.MESSAGE_REACTIONUpdate.MESSAGE_REACTION_COUNTUpdate.MY_CHAT_MEMBERUpdate.POLLUpdate.POLL_ANSWERUpdate.PRE_CHECKOUT_QUERYUpdate.PURCHASED_PAID_MEDIAUpdate.REMOVED_CHAT_BOOSTUpdate.SHIPPING_QUERYUpdate.business_connectionUpdate.business_messageUpdate.callback_queryUpdate.channel_postUpdate.chat_boostUpdate.chat_join_requestUpdate.chat_memberUpdate.chosen_inline_resultUpdate.de_json()Update.deleted_business_messagesUpdate.edited_business_messageUpdate.edited_channel_postUpdate.edited_messageUpdate.effective_chatUpdate.effective_messageUpdate.effective_senderUpdate.effective_userUpdate.inline_queryUpdate.messageUpdate.message_reactionUpdate.message_reaction_countUpdate.my_chat_memberUpdate.pollUpdate.poll_answerUpdate.pre_checkout_queryUpdate.purchased_paid_mediaUpdate.removed_chat_boostUpdate.shipping_queryUpdate.update_id
UserUser.ban()User.ban_dateUser.banned_users()User.become_anonym()User.become_credited()User.credited_users()User.follow_dateUser.following_users()User.get_follow_private_message_id()User.get_n_warns()User.get_user_sign()User.is_bannedUser.is_creditedUser.is_following()User.is_mutedUser.is_pendingUser.is_warn_bannableUser.mute()User.mute_dateUser.mute_expire_dateUser.muted_users()User.private_message_idUser.sban()User.set_follow()User.unmute()User.user_idUser.warn()
follow_spot_callback()
- spotted.handlers.forwarded_post module
CallbackContextCallbackContext.coroutineCallbackContext.matchesCallbackContext.argsCallbackContext.errorCallbackContext.jobCallbackContext.applicationCallbackContext.argsCallbackContext.botCallbackContext.bot_dataCallbackContext.chat_dataCallbackContext.coroutineCallbackContext.drop_callback_data()CallbackContext.errorCallbackContext.from_error()CallbackContext.from_job()CallbackContext.from_update()CallbackContext.jobCallbackContext.job_queueCallbackContext.matchCallbackContext.matchesCallbackContext.refresh_data()CallbackContext.update()CallbackContext.update_queueCallbackContext.user_data
EventInfoEventInfo.answer_callback_query()EventInfo.argsEventInfo.botEventInfo.bot_dataEventInfo.callback_keyEventInfo.chat_idEventInfo.chat_typeEventInfo.contextEventInfo.edit_inline_keyboard()EventInfo.forward_from_chat_idEventInfo.forward_from_idEventInfo.from_callback()EventInfo.from_job()EventInfo.from_message()EventInfo.inline_keyboardEventInfo.is_forward_from_channelEventInfo.is_forward_from_chatEventInfo.is_forward_from_userEventInfo.is_forwarded_postEventInfo.is_private_chatEventInfo.is_valid_message_typeEventInfo.messageEventInfo.message_idEventInfo.query_dataEventInfo.query_idEventInfo.reply_markupEventInfo.send_post_to_admins()EventInfo.send_post_to_channel()EventInfo.send_post_to_channel_group()EventInfo.show_admins_votes()EventInfo.textEventInfo.updateEventInfo.user_dataEventInfo.user_idEventInfo.user_nameEventInfo.user_username
UpdateUpdate.update_idUpdate.messageUpdate.edited_messageUpdate.channel_postUpdate.edited_channel_postUpdate.inline_queryUpdate.chosen_inline_resultUpdate.callback_queryUpdate.shipping_queryUpdate.pre_checkout_queryUpdate.pollUpdate.poll_answerUpdate.my_chat_memberUpdate.chat_memberUpdate.chat_join_requestUpdate.chat_boostUpdate.removed_chat_boostUpdate.message_reactionUpdate.message_reaction_countUpdate.business_connectionUpdate.business_messageUpdate.edited_business_messageUpdate.deleted_business_messagesUpdate.purchased_paid_mediaUpdate.ALL_TYPESUpdate.BUSINESS_CONNECTIONUpdate.BUSINESS_MESSAGEUpdate.CALLBACK_QUERYUpdate.CHANNEL_POSTUpdate.CHAT_BOOSTUpdate.CHAT_JOIN_REQUESTUpdate.CHAT_MEMBERUpdate.CHOSEN_INLINE_RESULTUpdate.DELETED_BUSINESS_MESSAGESUpdate.EDITED_BUSINESS_MESSAGEUpdate.EDITED_CHANNEL_POSTUpdate.EDITED_MESSAGEUpdate.INLINE_QUERYUpdate.MESSAGEUpdate.MESSAGE_REACTIONUpdate.MESSAGE_REACTION_COUNTUpdate.MY_CHAT_MEMBERUpdate.POLLUpdate.POLL_ANSWERUpdate.PRE_CHECKOUT_QUERYUpdate.PURCHASED_PAID_MEDIAUpdate.REMOVED_CHAT_BOOSTUpdate.SHIPPING_QUERYUpdate.business_connectionUpdate.business_messageUpdate.callback_queryUpdate.channel_postUpdate.chat_boostUpdate.chat_join_requestUpdate.chat_memberUpdate.chosen_inline_resultUpdate.de_json()Update.deleted_business_messagesUpdate.edited_business_messageUpdate.edited_channel_postUpdate.edited_messageUpdate.effective_chatUpdate.effective_messageUpdate.effective_senderUpdate.effective_userUpdate.inline_queryUpdate.messageUpdate.message_reactionUpdate.message_reaction_countUpdate.my_chat_memberUpdate.pollUpdate.poll_answerUpdate.pre_checkout_queryUpdate.purchased_paid_mediaUpdate.removed_chat_boostUpdate.shipping_queryUpdate.update_id
forwarded_post_msg()
- spotted.handlers.help module
CallbackContextCallbackContext.coroutineCallbackContext.matchesCallbackContext.argsCallbackContext.errorCallbackContext.jobCallbackContext.applicationCallbackContext.argsCallbackContext.botCallbackContext.bot_dataCallbackContext.chat_dataCallbackContext.coroutineCallbackContext.drop_callback_data()CallbackContext.errorCallbackContext.from_error()CallbackContext.from_job()CallbackContext.from_update()CallbackContext.jobCallbackContext.job_queueCallbackContext.matchCallbackContext.matchesCallbackContext.refresh_data()CallbackContext.update()CallbackContext.update_queueCallbackContext.user_data
ConfigEventInfoEventInfo.answer_callback_query()EventInfo.argsEventInfo.botEventInfo.bot_dataEventInfo.callback_keyEventInfo.chat_idEventInfo.chat_typeEventInfo.contextEventInfo.edit_inline_keyboard()EventInfo.forward_from_chat_idEventInfo.forward_from_idEventInfo.from_callback()EventInfo.from_job()EventInfo.from_message()EventInfo.inline_keyboardEventInfo.is_forward_from_channelEventInfo.is_forward_from_chatEventInfo.is_forward_from_userEventInfo.is_forwarded_postEventInfo.is_private_chatEventInfo.is_valid_message_typeEventInfo.messageEventInfo.message_idEventInfo.query_dataEventInfo.query_idEventInfo.reply_markupEventInfo.send_post_to_admins()EventInfo.send_post_to_channel()EventInfo.send_post_to_channel_group()EventInfo.show_admins_votes()EventInfo.textEventInfo.updateEventInfo.user_dataEventInfo.user_idEventInfo.user_nameEventInfo.user_username
ParseModeUpdateUpdate.update_idUpdate.messageUpdate.edited_messageUpdate.channel_postUpdate.edited_channel_postUpdate.inline_queryUpdate.chosen_inline_resultUpdate.callback_queryUpdate.shipping_queryUpdate.pre_checkout_queryUpdate.pollUpdate.poll_answerUpdate.my_chat_memberUpdate.chat_memberUpdate.chat_join_requestUpdate.chat_boostUpdate.removed_chat_boostUpdate.message_reactionUpdate.message_reaction_countUpdate.business_connectionUpdate.business_messageUpdate.edited_business_messageUpdate.deleted_business_messagesUpdate.purchased_paid_mediaUpdate.ALL_TYPESUpdate.BUSINESS_CONNECTIONUpdate.BUSINESS_MESSAGEUpdate.CALLBACK_QUERYUpdate.CHANNEL_POSTUpdate.CHAT_BOOSTUpdate.CHAT_JOIN_REQUESTUpdate.CHAT_MEMBERUpdate.CHOSEN_INLINE_RESULTUpdate.DELETED_BUSINESS_MESSAGESUpdate.EDITED_BUSINESS_MESSAGEUpdate.EDITED_CHANNEL_POSTUpdate.EDITED_MESSAGEUpdate.INLINE_QUERYUpdate.MESSAGEUpdate.MESSAGE_REACTIONUpdate.MESSAGE_REACTION_COUNTUpdate.MY_CHAT_MEMBERUpdate.POLLUpdate.POLL_ANSWERUpdate.PRE_CHECKOUT_QUERYUpdate.PURCHASED_PAID_MEDIAUpdate.REMOVED_CHAT_BOOSTUpdate.SHIPPING_QUERYUpdate.business_connectionUpdate.business_messageUpdate.callback_queryUpdate.channel_postUpdate.chat_boostUpdate.chat_join_requestUpdate.chat_memberUpdate.chosen_inline_resultUpdate.de_json()Update.deleted_business_messagesUpdate.edited_business_messageUpdate.edited_channel_postUpdate.edited_messageUpdate.effective_chatUpdate.effective_messageUpdate.effective_senderUpdate.effective_userUpdate.inline_queryUpdate.messageUpdate.message_reactionUpdate.message_reaction_countUpdate.my_chat_memberUpdate.pollUpdate.poll_answerUpdate.pre_checkout_queryUpdate.purchased_paid_mediaUpdate.removed_chat_boostUpdate.shipping_queryUpdate.update_id
help_cmd()read_md()
- spotted.handlers.job_handlers module
BadRequestBinasciiErrorCallbackContextCallbackContext.coroutineCallbackContext.matchesCallbackContext.argsCallbackContext.errorCallbackContext.jobCallbackContext.applicationCallbackContext.argsCallbackContext.botCallbackContext.bot_dataCallbackContext.chat_dataCallbackContext.coroutineCallbackContext.drop_callback_data()CallbackContext.errorCallbackContext.from_error()CallbackContext.from_job()CallbackContext.from_update()CallbackContext.jobCallbackContext.job_queueCallbackContext.matchCallbackContext.matchesCallbackContext.refresh_data()CallbackContext.update()CallbackContext.update_queueCallbackContext.user_data
ConfigDbManagerEventInfoEventInfo.answer_callback_query()EventInfo.argsEventInfo.botEventInfo.bot_dataEventInfo.callback_keyEventInfo.chat_idEventInfo.chat_typeEventInfo.contextEventInfo.edit_inline_keyboard()EventInfo.forward_from_chat_idEventInfo.forward_from_idEventInfo.from_callback()EventInfo.from_job()EventInfo.from_message()EventInfo.inline_keyboardEventInfo.is_forward_from_channelEventInfo.is_forward_from_chatEventInfo.is_forward_from_userEventInfo.is_forwarded_postEventInfo.is_private_chatEventInfo.is_valid_message_typeEventInfo.messageEventInfo.message_idEventInfo.query_dataEventInfo.query_idEventInfo.reply_markupEventInfo.send_post_to_admins()EventInfo.send_post_to_channel()EventInfo.send_post_to_channel_group()EventInfo.show_admins_votes()EventInfo.textEventInfo.updateEventInfo.user_dataEventInfo.user_idEventInfo.user_nameEventInfo.user_username
FernetForbiddenPendingPostPendingPost.admin_group_idPendingPost.create()PendingPost.credit_usernamePendingPost.datePendingPost.delete_post()PendingPost.from_group()PendingPost.from_user()PendingPost.g_message_idPendingPost.get_all()PendingPost.get_credit_username()PendingPost.get_list_admin_votes()PendingPost.get_votes()PendingPost.save_post()PendingPost.set_admin_vote()PendingPost.u_message_idPendingPost.user_id
TelegramErrorUserUser.ban()User.ban_dateUser.banned_users()User.become_anonym()User.become_credited()User.credited_users()User.follow_dateUser.following_users()User.get_follow_private_message_id()User.get_n_warns()User.get_user_sign()User.is_bannedUser.is_creditedUser.is_following()User.is_mutedUser.is_pendingUser.is_warn_bannableUser.mute()User.mute_dateUser.mute_expire_dateUser.muted_users()User.private_message_idUser.sban()User.set_follow()User.unmute()User.user_idUser.warn()
clean_muted_users()clean_pending_job()datetimedatetime.astimezone()datetime.combine()datetime.ctime()datetime.date()datetime.dst()datetime.folddatetime.fromisoformat()datetime.fromtimestamp()datetime.hourdatetime.isoformat()datetime.maxdatetime.microseconddatetime.mindatetime.minutedatetime.now()datetime.replace()datetime.resolutiondatetime.seconddatetime.strptime()datetime.time()datetime.timestamp()datetime.timetuple()datetime.timetz()datetime.tzinfodatetime.tzname()datetime.utcfromtimestamp()datetime.utcnow()datetime.utcoffset()datetime.utctimetuple()
db_backup_job()get_backup()get_updated_backup_path()get_zip_backup()timedeltatimezone
- spotted.handlers.mute module
CallbackContextCallbackContext.coroutineCallbackContext.matchesCallbackContext.argsCallbackContext.errorCallbackContext.jobCallbackContext.applicationCallbackContext.argsCallbackContext.botCallbackContext.bot_dataCallbackContext.chat_dataCallbackContext.coroutineCallbackContext.drop_callback_data()CallbackContext.errorCallbackContext.from_error()CallbackContext.from_job()CallbackContext.from_update()CallbackContext.jobCallbackContext.job_queueCallbackContext.matchCallbackContext.matchesCallbackContext.refresh_data()CallbackContext.update()CallbackContext.update_queueCallbackContext.user_data
ConfigEventInfoEventInfo.answer_callback_query()EventInfo.argsEventInfo.botEventInfo.bot_dataEventInfo.callback_keyEventInfo.chat_idEventInfo.chat_typeEventInfo.contextEventInfo.edit_inline_keyboard()EventInfo.forward_from_chat_idEventInfo.forward_from_idEventInfo.from_callback()EventInfo.from_job()EventInfo.from_message()EventInfo.inline_keyboardEventInfo.is_forward_from_channelEventInfo.is_forward_from_chatEventInfo.is_forward_from_userEventInfo.is_forwarded_postEventInfo.is_private_chatEventInfo.is_valid_message_typeEventInfo.messageEventInfo.message_idEventInfo.query_dataEventInfo.query_idEventInfo.reply_markupEventInfo.send_post_to_admins()EventInfo.send_post_to_channel()EventInfo.send_post_to_channel_group()EventInfo.show_admins_votes()EventInfo.textEventInfo.updateEventInfo.user_dataEventInfo.user_idEventInfo.user_nameEventInfo.user_username
UpdateUpdate.update_idUpdate.messageUpdate.edited_messageUpdate.channel_postUpdate.edited_channel_postUpdate.inline_queryUpdate.chosen_inline_resultUpdate.callback_queryUpdate.shipping_queryUpdate.pre_checkout_queryUpdate.pollUpdate.poll_answerUpdate.my_chat_memberUpdate.chat_memberUpdate.chat_join_requestUpdate.chat_boostUpdate.removed_chat_boostUpdate.message_reactionUpdate.message_reaction_countUpdate.business_connectionUpdate.business_messageUpdate.edited_business_messageUpdate.deleted_business_messagesUpdate.purchased_paid_mediaUpdate.ALL_TYPESUpdate.BUSINESS_CONNECTIONUpdate.BUSINESS_MESSAGEUpdate.CALLBACK_QUERYUpdate.CHANNEL_POSTUpdate.CHAT_BOOSTUpdate.CHAT_JOIN_REQUESTUpdate.CHAT_MEMBERUpdate.CHOSEN_INLINE_RESULTUpdate.DELETED_BUSINESS_MESSAGESUpdate.EDITED_BUSINESS_MESSAGEUpdate.EDITED_CHANNEL_POSTUpdate.EDITED_MESSAGEUpdate.INLINE_QUERYUpdate.MESSAGEUpdate.MESSAGE_REACTIONUpdate.MESSAGE_REACTION_COUNTUpdate.MY_CHAT_MEMBERUpdate.POLLUpdate.POLL_ANSWERUpdate.PRE_CHECKOUT_QUERYUpdate.PURCHASED_PAID_MEDIAUpdate.REMOVED_CHAT_BOOSTUpdate.SHIPPING_QUERYUpdate.business_connectionUpdate.business_messageUpdate.callback_queryUpdate.channel_postUpdate.chat_boostUpdate.chat_join_requestUpdate.chat_memberUpdate.chosen_inline_resultUpdate.de_json()Update.deleted_business_messagesUpdate.edited_business_messageUpdate.edited_channel_postUpdate.edited_messageUpdate.effective_chatUpdate.effective_messageUpdate.effective_senderUpdate.effective_userUpdate.inline_queryUpdate.messageUpdate.message_reactionUpdate.message_reaction_countUpdate.my_chat_memberUpdate.pollUpdate.poll_answerUpdate.pre_checkout_queryUpdate.purchased_paid_mediaUpdate.removed_chat_boostUpdate.shipping_queryUpdate.update_id
UserUser.ban()User.ban_dateUser.banned_users()User.become_anonym()User.become_credited()User.credited_users()User.follow_dateUser.following_users()User.get_follow_private_message_id()User.get_n_warns()User.get_user_sign()User.is_bannedUser.is_creditedUser.is_following()User.is_mutedUser.is_pendingUser.is_warn_bannableUser.mute()User.mute_dateUser.mute_expire_dateUser.muted_users()User.private_message_idUser.sban()User.set_follow()User.unmute()User.user_idUser.warn()
mute_cmd()
- spotted.handlers.purge module
CallbackContextCallbackContext.coroutineCallbackContext.matchesCallbackContext.argsCallbackContext.errorCallbackContext.jobCallbackContext.applicationCallbackContext.argsCallbackContext.botCallbackContext.bot_dataCallbackContext.chat_dataCallbackContext.coroutineCallbackContext.drop_callback_data()CallbackContext.errorCallbackContext.from_error()CallbackContext.from_job()CallbackContext.from_update()CallbackContext.jobCallbackContext.job_queueCallbackContext.matchCallbackContext.matchesCallbackContext.refresh_data()CallbackContext.update()CallbackContext.update_queueCallbackContext.user_data
DbManagerEventInfoEventInfo.answer_callback_query()EventInfo.argsEventInfo.botEventInfo.bot_dataEventInfo.callback_keyEventInfo.chat_idEventInfo.chat_typeEventInfo.contextEventInfo.edit_inline_keyboard()EventInfo.forward_from_chat_idEventInfo.forward_from_idEventInfo.from_callback()EventInfo.from_job()EventInfo.from_message()EventInfo.inline_keyboardEventInfo.is_forward_from_channelEventInfo.is_forward_from_chatEventInfo.is_forward_from_userEventInfo.is_forwarded_postEventInfo.is_private_chatEventInfo.is_valid_message_typeEventInfo.messageEventInfo.message_idEventInfo.query_dataEventInfo.query_idEventInfo.reply_markupEventInfo.send_post_to_admins()EventInfo.send_post_to_channel()EventInfo.send_post_to_channel_group()EventInfo.show_admins_votes()EventInfo.textEventInfo.updateEventInfo.user_dataEventInfo.user_idEventInfo.user_nameEventInfo.user_username
UpdateUpdate.update_idUpdate.messageUpdate.edited_messageUpdate.channel_postUpdate.edited_channel_postUpdate.inline_queryUpdate.chosen_inline_resultUpdate.callback_queryUpdate.shipping_queryUpdate.pre_checkout_queryUpdate.pollUpdate.poll_answerUpdate.my_chat_memberUpdate.chat_memberUpdate.chat_join_requestUpdate.chat_boostUpdate.removed_chat_boostUpdate.message_reactionUpdate.message_reaction_countUpdate.business_connectionUpdate.business_messageUpdate.edited_business_messageUpdate.deleted_business_messagesUpdate.purchased_paid_mediaUpdate.ALL_TYPESUpdate.BUSINESS_CONNECTIONUpdate.BUSINESS_MESSAGEUpdate.CALLBACK_QUERYUpdate.CHANNEL_POSTUpdate.CHAT_BOOSTUpdate.CHAT_JOIN_REQUESTUpdate.CHAT_MEMBERUpdate.CHOSEN_INLINE_RESULTUpdate.DELETED_BUSINESS_MESSAGESUpdate.EDITED_BUSINESS_MESSAGEUpdate.EDITED_CHANNEL_POSTUpdate.EDITED_MESSAGEUpdate.INLINE_QUERYUpdate.MESSAGEUpdate.MESSAGE_REACTIONUpdate.MESSAGE_REACTION_COUNTUpdate.MY_CHAT_MEMBERUpdate.POLLUpdate.POLL_ANSWERUpdate.PRE_CHECKOUT_QUERYUpdate.PURCHASED_PAID_MEDIAUpdate.REMOVED_CHAT_BOOSTUpdate.SHIPPING_QUERYUpdate.business_connectionUpdate.business_messageUpdate.callback_queryUpdate.channel_postUpdate.chat_boostUpdate.chat_join_requestUpdate.chat_memberUpdate.chosen_inline_resultUpdate.de_json()Update.deleted_business_messagesUpdate.edited_business_messageUpdate.edited_channel_postUpdate.edited_messageUpdate.effective_chatUpdate.effective_messageUpdate.effective_senderUpdate.effective_userUpdate.inline_queryUpdate.messageUpdate.message_reactionUpdate.message_reaction_countUpdate.my_chat_memberUpdate.pollUpdate.poll_answerUpdate.pre_checkout_queryUpdate.purchased_paid_mediaUpdate.removed_chat_boostUpdate.shipping_queryUpdate.update_id
purge_cmd()sleep()
- spotted.handlers.reload module
CallbackContextCallbackContext.coroutineCallbackContext.matchesCallbackContext.argsCallbackContext.errorCallbackContext.jobCallbackContext.applicationCallbackContext.argsCallbackContext.botCallbackContext.bot_dataCallbackContext.chat_dataCallbackContext.coroutineCallbackContext.drop_callback_data()CallbackContext.errorCallbackContext.from_error()CallbackContext.from_job()CallbackContext.from_update()CallbackContext.jobCallbackContext.job_queueCallbackContext.matchCallbackContext.matchesCallbackContext.refresh_data()CallbackContext.update()CallbackContext.update_queueCallbackContext.user_data
ConfigEventInfoEventInfo.answer_callback_query()EventInfo.argsEventInfo.botEventInfo.bot_dataEventInfo.callback_keyEventInfo.chat_idEventInfo.chat_typeEventInfo.contextEventInfo.edit_inline_keyboard()EventInfo.forward_from_chat_idEventInfo.forward_from_idEventInfo.from_callback()EventInfo.from_job()EventInfo.from_message()EventInfo.inline_keyboardEventInfo.is_forward_from_channelEventInfo.is_forward_from_chatEventInfo.is_forward_from_userEventInfo.is_forwarded_postEventInfo.is_private_chatEventInfo.is_valid_message_typeEventInfo.messageEventInfo.message_idEventInfo.query_dataEventInfo.query_idEventInfo.reply_markupEventInfo.send_post_to_admins()EventInfo.send_post_to_channel()EventInfo.send_post_to_channel_group()EventInfo.show_admins_votes()EventInfo.textEventInfo.updateEventInfo.user_dataEventInfo.user_idEventInfo.user_nameEventInfo.user_username
UpdateUpdate.update_idUpdate.messageUpdate.edited_messageUpdate.channel_postUpdate.edited_channel_postUpdate.inline_queryUpdate.chosen_inline_resultUpdate.callback_queryUpdate.shipping_queryUpdate.pre_checkout_queryUpdate.pollUpdate.poll_answerUpdate.my_chat_memberUpdate.chat_memberUpdate.chat_join_requestUpdate.chat_boostUpdate.removed_chat_boostUpdate.message_reactionUpdate.message_reaction_countUpdate.business_connectionUpdate.business_messageUpdate.edited_business_messageUpdate.deleted_business_messagesUpdate.purchased_paid_mediaUpdate.ALL_TYPESUpdate.BUSINESS_CONNECTIONUpdate.BUSINESS_MESSAGEUpdate.CALLBACK_QUERYUpdate.CHANNEL_POSTUpdate.CHAT_BOOSTUpdate.CHAT_JOIN_REQUESTUpdate.CHAT_MEMBERUpdate.CHOSEN_INLINE_RESULTUpdate.DELETED_BUSINESS_MESSAGESUpdate.EDITED_BUSINESS_MESSAGEUpdate.EDITED_CHANNEL_POSTUpdate.EDITED_MESSAGEUpdate.INLINE_QUERYUpdate.MESSAGEUpdate.MESSAGE_REACTIONUpdate.MESSAGE_REACTION_COUNTUpdate.MY_CHAT_MEMBERUpdate.POLLUpdate.POLL_ANSWERUpdate.PRE_CHECKOUT_QUERYUpdate.PURCHASED_PAID_MEDIAUpdate.REMOVED_CHAT_BOOSTUpdate.SHIPPING_QUERYUpdate.business_connectionUpdate.business_messageUpdate.callback_queryUpdate.channel_postUpdate.chat_boostUpdate.chat_join_requestUpdate.chat_memberUpdate.chosen_inline_resultUpdate.de_json()Update.deleted_business_messagesUpdate.edited_business_messageUpdate.edited_channel_postUpdate.edited_messageUpdate.effective_chatUpdate.effective_messageUpdate.effective_senderUpdate.effective_userUpdate.inline_queryUpdate.messageUpdate.message_reactionUpdate.message_reaction_countUpdate.my_chat_memberUpdate.pollUpdate.poll_answerUpdate.pre_checkout_queryUpdate.purchased_paid_mediaUpdate.removed_chat_boostUpdate.shipping_queryUpdate.update_id
reload_cmd()
- spotted.handlers.reply module
CallbackContextCallbackContext.coroutineCallbackContext.matchesCallbackContext.argsCallbackContext.errorCallbackContext.jobCallbackContext.applicationCallbackContext.argsCallbackContext.botCallbackContext.bot_dataCallbackContext.chat_dataCallbackContext.coroutineCallbackContext.drop_callback_data()CallbackContext.errorCallbackContext.from_error()CallbackContext.from_job()CallbackContext.from_update()CallbackContext.jobCallbackContext.job_queueCallbackContext.matchCallbackContext.matchesCallbackContext.refresh_data()CallbackContext.update()CallbackContext.update_queueCallbackContext.user_data
EventInfoEventInfo.answer_callback_query()EventInfo.argsEventInfo.botEventInfo.bot_dataEventInfo.callback_keyEventInfo.chat_idEventInfo.chat_typeEventInfo.contextEventInfo.edit_inline_keyboard()EventInfo.forward_from_chat_idEventInfo.forward_from_idEventInfo.from_callback()EventInfo.from_job()EventInfo.from_message()EventInfo.inline_keyboardEventInfo.is_forward_from_channelEventInfo.is_forward_from_chatEventInfo.is_forward_from_userEventInfo.is_forwarded_postEventInfo.is_private_chatEventInfo.is_valid_message_typeEventInfo.messageEventInfo.message_idEventInfo.query_dataEventInfo.query_idEventInfo.reply_markupEventInfo.send_post_to_admins()EventInfo.send_post_to_channel()EventInfo.send_post_to_channel_group()EventInfo.show_admins_votes()EventInfo.textEventInfo.updateEventInfo.user_dataEventInfo.user_idEventInfo.user_nameEventInfo.user_username
PendingPostPendingPost.admin_group_idPendingPost.create()PendingPost.credit_usernamePendingPost.datePendingPost.delete_post()PendingPost.from_group()PendingPost.from_user()PendingPost.g_message_idPendingPost.get_all()PendingPost.get_credit_username()PendingPost.get_list_admin_votes()PendingPost.get_votes()PendingPost.save_post()PendingPost.set_admin_vote()PendingPost.u_message_idPendingPost.user_id
ReportReport.admin_group_idReport.c_message_idReport.channel_idReport.create_post_report()Report.create_user_report()Report.dateReport.from_group()Report.g_message_idReport.get_last_user_report()Report.get_post_report()Report.minutes_passedReport.save_report()Report.target_usernameReport.user_id
UpdateUpdate.update_idUpdate.messageUpdate.edited_messageUpdate.channel_postUpdate.edited_channel_postUpdate.inline_queryUpdate.chosen_inline_resultUpdate.callback_queryUpdate.shipping_queryUpdate.pre_checkout_queryUpdate.pollUpdate.poll_answerUpdate.my_chat_memberUpdate.chat_memberUpdate.chat_join_requestUpdate.chat_boostUpdate.removed_chat_boostUpdate.message_reactionUpdate.message_reaction_countUpdate.business_connectionUpdate.business_messageUpdate.edited_business_messageUpdate.deleted_business_messagesUpdate.purchased_paid_mediaUpdate.ALL_TYPESUpdate.BUSINESS_CONNECTIONUpdate.BUSINESS_MESSAGEUpdate.CALLBACK_QUERYUpdate.CHANNEL_POSTUpdate.CHAT_BOOSTUpdate.CHAT_JOIN_REQUESTUpdate.CHAT_MEMBERUpdate.CHOSEN_INLINE_RESULTUpdate.DELETED_BUSINESS_MESSAGESUpdate.EDITED_BUSINESS_MESSAGEUpdate.EDITED_CHANNEL_POSTUpdate.EDITED_MESSAGEUpdate.INLINE_QUERYUpdate.MESSAGEUpdate.MESSAGE_REACTIONUpdate.MESSAGE_REACTION_COUNTUpdate.MY_CHAT_MEMBERUpdate.POLLUpdate.POLL_ANSWERUpdate.PRE_CHECKOUT_QUERYUpdate.PURCHASED_PAID_MEDIAUpdate.REMOVED_CHAT_BOOSTUpdate.SHIPPING_QUERYUpdate.business_connectionUpdate.business_messageUpdate.callback_queryUpdate.channel_postUpdate.chat_boostUpdate.chat_join_requestUpdate.chat_memberUpdate.chosen_inline_resultUpdate.de_json()Update.deleted_business_messagesUpdate.edited_business_messageUpdate.edited_channel_postUpdate.edited_messageUpdate.effective_chatUpdate.effective_messageUpdate.effective_senderUpdate.effective_userUpdate.inline_queryUpdate.messageUpdate.message_reactionUpdate.message_reaction_countUpdate.my_chat_memberUpdate.pollUpdate.poll_answerUpdate.pre_checkout_queryUpdate.purchased_paid_mediaUpdate.removed_chat_boostUpdate.shipping_queryUpdate.update_id
reply_cmd()
- spotted.handlers.report_spot module
CallbackContextCallbackContext.coroutineCallbackContext.matchesCallbackContext.argsCallbackContext.errorCallbackContext.jobCallbackContext.applicationCallbackContext.argsCallbackContext.botCallbackContext.bot_dataCallbackContext.chat_dataCallbackContext.coroutineCallbackContext.drop_callback_data()CallbackContext.errorCallbackContext.from_error()CallbackContext.from_job()CallbackContext.from_update()CallbackContext.jobCallbackContext.job_queueCallbackContext.matchCallbackContext.matchesCallbackContext.refresh_data()CallbackContext.update()CallbackContext.update_queueCallbackContext.user_data
CallbackQueryHandlerCommandHandlerConfigConversationHandlerConversationHandler.blockConversationHandler.ENDConversationHandler.TIMEOUTConversationHandler.WAITINGConversationHandler.allow_reentryConversationHandler.check_update()ConversationHandler.conversation_timeoutConversationHandler.entry_pointsConversationHandler.fallbacksConversationHandler.handle_update()ConversationHandler.map_to_parentConversationHandler.nameConversationHandler.per_chatConversationHandler.per_messageConversationHandler.per_userConversationHandler.persistentConversationHandler.statesConversationHandler.timeout_jobs
ConversationStateEventInfoEventInfo.answer_callback_query()EventInfo.argsEventInfo.botEventInfo.bot_dataEventInfo.callback_keyEventInfo.chat_idEventInfo.chat_typeEventInfo.contextEventInfo.edit_inline_keyboard()EventInfo.forward_from_chat_idEventInfo.forward_from_idEventInfo.from_callback()EventInfo.from_job()EventInfo.from_message()EventInfo.inline_keyboardEventInfo.is_forward_from_channelEventInfo.is_forward_from_chatEventInfo.is_forward_from_userEventInfo.is_forwarded_postEventInfo.is_private_chatEventInfo.is_valid_message_typeEventInfo.messageEventInfo.message_idEventInfo.query_dataEventInfo.query_idEventInfo.reply_markupEventInfo.send_post_to_admins()EventInfo.send_post_to_channel()EventInfo.send_post_to_channel_group()EventInfo.show_admins_votes()EventInfo.textEventInfo.updateEventInfo.user_dataEventInfo.user_idEventInfo.user_nameEventInfo.user_username
ForbiddenMessageHandlerReportReport.admin_group_idReport.c_message_idReport.channel_idReport.create_post_report()Report.create_user_report()Report.dateReport.from_group()Report.g_message_idReport.get_last_user_report()Report.get_post_report()Report.minutes_passedReport.save_report()Report.target_usernameReport.user_id
UpdateUpdate.update_idUpdate.messageUpdate.edited_messageUpdate.channel_postUpdate.edited_channel_postUpdate.inline_queryUpdate.chosen_inline_resultUpdate.callback_queryUpdate.shipping_queryUpdate.pre_checkout_queryUpdate.pollUpdate.poll_answerUpdate.my_chat_memberUpdate.chat_memberUpdate.chat_join_requestUpdate.chat_boostUpdate.removed_chat_boostUpdate.message_reactionUpdate.message_reaction_countUpdate.business_connectionUpdate.business_messageUpdate.edited_business_messageUpdate.deleted_business_messagesUpdate.purchased_paid_mediaUpdate.ALL_TYPESUpdate.BUSINESS_CONNECTIONUpdate.BUSINESS_MESSAGEUpdate.CALLBACK_QUERYUpdate.CHANNEL_POSTUpdate.CHAT_BOOSTUpdate.CHAT_JOIN_REQUESTUpdate.CHAT_MEMBERUpdate.CHOSEN_INLINE_RESULTUpdate.DELETED_BUSINESS_MESSAGESUpdate.EDITED_BUSINESS_MESSAGEUpdate.EDITED_CHANNEL_POSTUpdate.EDITED_MESSAGEUpdate.INLINE_QUERYUpdate.MESSAGEUpdate.MESSAGE_REACTIONUpdate.MESSAGE_REACTION_COUNTUpdate.MY_CHAT_MEMBERUpdate.POLLUpdate.POLL_ANSWERUpdate.PRE_CHECKOUT_QUERYUpdate.PURCHASED_PAID_MEDIAUpdate.REMOVED_CHAT_BOOSTUpdate.SHIPPING_QUERYUpdate.business_connectionUpdate.business_messageUpdate.callback_queryUpdate.channel_postUpdate.chat_boostUpdate.chat_join_requestUpdate.chat_memberUpdate.chosen_inline_resultUpdate.de_json()Update.deleted_business_messagesUpdate.edited_business_messageUpdate.edited_channel_postUpdate.edited_messageUpdate.effective_chatUpdate.effective_messageUpdate.effective_senderUpdate.effective_userUpdate.inline_queryUpdate.messageUpdate.message_reactionUpdate.message_reaction_countUpdate.my_chat_memberUpdate.pollUpdate.poll_answerUpdate.pre_checkout_queryUpdate.purchased_paid_mediaUpdate.removed_chat_boostUpdate.shipping_queryUpdate.update_id
UserUser.ban()User.ban_dateUser.banned_users()User.become_anonym()User.become_credited()User.credited_users()User.follow_dateUser.following_users()User.get_follow_private_message_id()User.get_n_warns()User.get_user_sign()User.is_bannedUser.is_creditedUser.is_following()User.is_mutedUser.is_pendingUser.is_warn_bannableUser.mute()User.mute_dateUser.mute_expire_dateUser.muted_users()User.private_message_idUser.sban()User.set_follow()User.unmute()User.user_idUser.warn()
conv_cancel()report_spot_callback()report_spot_conv_handler()report_spot_msg()
- spotted.handlers.report_user module
CallbackContextCallbackContext.coroutineCallbackContext.matchesCallbackContext.argsCallbackContext.errorCallbackContext.jobCallbackContext.applicationCallbackContext.argsCallbackContext.botCallbackContext.bot_dataCallbackContext.chat_dataCallbackContext.coroutineCallbackContext.drop_callback_data()CallbackContext.errorCallbackContext.from_error()CallbackContext.from_job()CallbackContext.from_update()CallbackContext.jobCallbackContext.job_queueCallbackContext.matchCallbackContext.matchesCallbackContext.refresh_data()CallbackContext.update()CallbackContext.update_queueCallbackContext.user_data
CommandHandlerConfigConversationHandlerConversationHandler.blockConversationHandler.ENDConversationHandler.TIMEOUTConversationHandler.WAITINGConversationHandler.allow_reentryConversationHandler.check_update()ConversationHandler.conversation_timeoutConversationHandler.entry_pointsConversationHandler.fallbacksConversationHandler.handle_update()ConversationHandler.map_to_parentConversationHandler.nameConversationHandler.per_chatConversationHandler.per_messageConversationHandler.per_userConversationHandler.persistentConversationHandler.statesConversationHandler.timeout_jobs
ConversationStateEventInfoEventInfo.answer_callback_query()EventInfo.argsEventInfo.botEventInfo.bot_dataEventInfo.callback_keyEventInfo.chat_idEventInfo.chat_typeEventInfo.contextEventInfo.edit_inline_keyboard()EventInfo.forward_from_chat_idEventInfo.forward_from_idEventInfo.from_callback()EventInfo.from_job()EventInfo.from_message()EventInfo.inline_keyboardEventInfo.is_forward_from_channelEventInfo.is_forward_from_chatEventInfo.is_forward_from_userEventInfo.is_forwarded_postEventInfo.is_private_chatEventInfo.is_valid_message_typeEventInfo.messageEventInfo.message_idEventInfo.query_dataEventInfo.query_idEventInfo.reply_markupEventInfo.send_post_to_admins()EventInfo.send_post_to_channel()EventInfo.send_post_to_channel_group()EventInfo.show_admins_votes()EventInfo.textEventInfo.updateEventInfo.user_dataEventInfo.user_idEventInfo.user_nameEventInfo.user_username
MessageHandlerReportReport.admin_group_idReport.c_message_idReport.channel_idReport.create_post_report()Report.create_user_report()Report.dateReport.from_group()Report.g_message_idReport.get_last_user_report()Report.get_post_report()Report.minutes_passedReport.save_report()Report.target_usernameReport.user_id
UpdateUpdate.update_idUpdate.messageUpdate.edited_messageUpdate.channel_postUpdate.edited_channel_postUpdate.inline_queryUpdate.chosen_inline_resultUpdate.callback_queryUpdate.shipping_queryUpdate.pre_checkout_queryUpdate.pollUpdate.poll_answerUpdate.my_chat_memberUpdate.chat_memberUpdate.chat_join_requestUpdate.chat_boostUpdate.removed_chat_boostUpdate.message_reactionUpdate.message_reaction_countUpdate.business_connectionUpdate.business_messageUpdate.edited_business_messageUpdate.deleted_business_messagesUpdate.purchased_paid_mediaUpdate.ALL_TYPESUpdate.BUSINESS_CONNECTIONUpdate.BUSINESS_MESSAGEUpdate.CALLBACK_QUERYUpdate.CHANNEL_POSTUpdate.CHAT_BOOSTUpdate.CHAT_JOIN_REQUESTUpdate.CHAT_MEMBERUpdate.CHOSEN_INLINE_RESULTUpdate.DELETED_BUSINESS_MESSAGESUpdate.EDITED_BUSINESS_MESSAGEUpdate.EDITED_CHANNEL_POSTUpdate.EDITED_MESSAGEUpdate.INLINE_QUERYUpdate.MESSAGEUpdate.MESSAGE_REACTIONUpdate.MESSAGE_REACTION_COUNTUpdate.MY_CHAT_MEMBERUpdate.POLLUpdate.POLL_ANSWERUpdate.PRE_CHECKOUT_QUERYUpdate.PURCHASED_PAID_MEDIAUpdate.REMOVED_CHAT_BOOSTUpdate.SHIPPING_QUERYUpdate.business_connectionUpdate.business_messageUpdate.callback_queryUpdate.channel_postUpdate.chat_boostUpdate.chat_join_requestUpdate.chat_memberUpdate.chosen_inline_resultUpdate.de_json()Update.deleted_business_messagesUpdate.edited_business_messageUpdate.edited_channel_postUpdate.edited_messageUpdate.effective_chatUpdate.effective_messageUpdate.effective_senderUpdate.effective_userUpdate.inline_queryUpdate.messageUpdate.message_reactionUpdate.message_reaction_countUpdate.my_chat_memberUpdate.pollUpdate.poll_answerUpdate.pre_checkout_queryUpdate.purchased_paid_mediaUpdate.removed_chat_boostUpdate.shipping_queryUpdate.update_id
conv_cancel()report_cmd()report_user_conv_handler()report_user_msg()report_user_sent_msg()
- spotted.handlers.rules module
CallbackContextCallbackContext.coroutineCallbackContext.matchesCallbackContext.argsCallbackContext.errorCallbackContext.jobCallbackContext.applicationCallbackContext.argsCallbackContext.botCallbackContext.bot_dataCallbackContext.chat_dataCallbackContext.coroutineCallbackContext.drop_callback_data()CallbackContext.errorCallbackContext.from_error()CallbackContext.from_job()CallbackContext.from_update()CallbackContext.jobCallbackContext.job_queueCallbackContext.matchCallbackContext.matchesCallbackContext.refresh_data()CallbackContext.update()CallbackContext.update_queueCallbackContext.user_data
EventInfoEventInfo.answer_callback_query()EventInfo.argsEventInfo.botEventInfo.bot_dataEventInfo.callback_keyEventInfo.chat_idEventInfo.chat_typeEventInfo.contextEventInfo.edit_inline_keyboard()EventInfo.forward_from_chat_idEventInfo.forward_from_idEventInfo.from_callback()EventInfo.from_job()EventInfo.from_message()EventInfo.inline_keyboardEventInfo.is_forward_from_channelEventInfo.is_forward_from_chatEventInfo.is_forward_from_userEventInfo.is_forwarded_postEventInfo.is_private_chatEventInfo.is_valid_message_typeEventInfo.messageEventInfo.message_idEventInfo.query_dataEventInfo.query_idEventInfo.reply_markupEventInfo.send_post_to_admins()EventInfo.send_post_to_channel()EventInfo.send_post_to_channel_group()EventInfo.show_admins_votes()EventInfo.textEventInfo.updateEventInfo.user_dataEventInfo.user_idEventInfo.user_nameEventInfo.user_username
ParseModeUpdateUpdate.update_idUpdate.messageUpdate.edited_messageUpdate.channel_postUpdate.edited_channel_postUpdate.inline_queryUpdate.chosen_inline_resultUpdate.callback_queryUpdate.shipping_queryUpdate.pre_checkout_queryUpdate.pollUpdate.poll_answerUpdate.my_chat_memberUpdate.chat_memberUpdate.chat_join_requestUpdate.chat_boostUpdate.removed_chat_boostUpdate.message_reactionUpdate.message_reaction_countUpdate.business_connectionUpdate.business_messageUpdate.edited_business_messageUpdate.deleted_business_messagesUpdate.purchased_paid_mediaUpdate.ALL_TYPESUpdate.BUSINESS_CONNECTIONUpdate.BUSINESS_MESSAGEUpdate.CALLBACK_QUERYUpdate.CHANNEL_POSTUpdate.CHAT_BOOSTUpdate.CHAT_JOIN_REQUESTUpdate.CHAT_MEMBERUpdate.CHOSEN_INLINE_RESULTUpdate.DELETED_BUSINESS_MESSAGESUpdate.EDITED_BUSINESS_MESSAGEUpdate.EDITED_CHANNEL_POSTUpdate.EDITED_MESSAGEUpdate.INLINE_QUERYUpdate.MESSAGEUpdate.MESSAGE_REACTIONUpdate.MESSAGE_REACTION_COUNTUpdate.MY_CHAT_MEMBERUpdate.POLLUpdate.POLL_ANSWERUpdate.PRE_CHECKOUT_QUERYUpdate.PURCHASED_PAID_MEDIAUpdate.REMOVED_CHAT_BOOSTUpdate.SHIPPING_QUERYUpdate.business_connectionUpdate.business_messageUpdate.callback_queryUpdate.channel_postUpdate.chat_boostUpdate.chat_join_requestUpdate.chat_memberUpdate.chosen_inline_resultUpdate.de_json()Update.deleted_business_messagesUpdate.edited_business_messageUpdate.edited_channel_postUpdate.edited_messageUpdate.effective_chatUpdate.effective_messageUpdate.effective_senderUpdate.effective_userUpdate.inline_queryUpdate.messageUpdate.message_reactionUpdate.message_reaction_countUpdate.my_chat_memberUpdate.pollUpdate.poll_answerUpdate.pre_checkout_queryUpdate.purchased_paid_mediaUpdate.removed_chat_boostUpdate.shipping_queryUpdate.update_id
read_md()rules_cmd()
- spotted.handlers.sban module
CallbackContextCallbackContext.coroutineCallbackContext.matchesCallbackContext.argsCallbackContext.errorCallbackContext.jobCallbackContext.applicationCallbackContext.argsCallbackContext.botCallbackContext.bot_dataCallbackContext.chat_dataCallbackContext.coroutineCallbackContext.drop_callback_data()CallbackContext.errorCallbackContext.from_error()CallbackContext.from_job()CallbackContext.from_update()CallbackContext.jobCallbackContext.job_queueCallbackContext.matchCallbackContext.matchesCallbackContext.refresh_data()CallbackContext.update()CallbackContext.update_queueCallbackContext.user_data
EventInfoEventInfo.answer_callback_query()EventInfo.argsEventInfo.botEventInfo.bot_dataEventInfo.callback_keyEventInfo.chat_idEventInfo.chat_typeEventInfo.contextEventInfo.edit_inline_keyboard()EventInfo.forward_from_chat_idEventInfo.forward_from_idEventInfo.from_callback()EventInfo.from_job()EventInfo.from_message()EventInfo.inline_keyboardEventInfo.is_forward_from_channelEventInfo.is_forward_from_chatEventInfo.is_forward_from_userEventInfo.is_forwarded_postEventInfo.is_private_chatEventInfo.is_valid_message_typeEventInfo.messageEventInfo.message_idEventInfo.query_dataEventInfo.query_idEventInfo.reply_markupEventInfo.send_post_to_admins()EventInfo.send_post_to_channel()EventInfo.send_post_to_channel_group()EventInfo.show_admins_votes()EventInfo.textEventInfo.updateEventInfo.user_dataEventInfo.user_idEventInfo.user_nameEventInfo.user_username
TelegramErrorUpdateUpdate.update_idUpdate.messageUpdate.edited_messageUpdate.channel_postUpdate.edited_channel_postUpdate.inline_queryUpdate.chosen_inline_resultUpdate.callback_queryUpdate.shipping_queryUpdate.pre_checkout_queryUpdate.pollUpdate.poll_answerUpdate.my_chat_memberUpdate.chat_memberUpdate.chat_join_requestUpdate.chat_boostUpdate.removed_chat_boostUpdate.message_reactionUpdate.message_reaction_countUpdate.business_connectionUpdate.business_messageUpdate.edited_business_messageUpdate.deleted_business_messagesUpdate.purchased_paid_mediaUpdate.ALL_TYPESUpdate.BUSINESS_CONNECTIONUpdate.BUSINESS_MESSAGEUpdate.CALLBACK_QUERYUpdate.CHANNEL_POSTUpdate.CHAT_BOOSTUpdate.CHAT_JOIN_REQUESTUpdate.CHAT_MEMBERUpdate.CHOSEN_INLINE_RESULTUpdate.DELETED_BUSINESS_MESSAGESUpdate.EDITED_BUSINESS_MESSAGEUpdate.EDITED_CHANNEL_POSTUpdate.EDITED_MESSAGEUpdate.INLINE_QUERYUpdate.MESSAGEUpdate.MESSAGE_REACTIONUpdate.MESSAGE_REACTION_COUNTUpdate.MY_CHAT_MEMBERUpdate.POLLUpdate.POLL_ANSWERUpdate.PRE_CHECKOUT_QUERYUpdate.PURCHASED_PAID_MEDIAUpdate.REMOVED_CHAT_BOOSTUpdate.SHIPPING_QUERYUpdate.business_connectionUpdate.business_messageUpdate.callback_queryUpdate.channel_postUpdate.chat_boostUpdate.chat_join_requestUpdate.chat_memberUpdate.chosen_inline_resultUpdate.de_json()Update.deleted_business_messagesUpdate.edited_business_messageUpdate.edited_channel_postUpdate.edited_messageUpdate.effective_chatUpdate.effective_messageUpdate.effective_senderUpdate.effective_userUpdate.inline_queryUpdate.messageUpdate.message_reactionUpdate.message_reaction_countUpdate.my_chat_memberUpdate.pollUpdate.poll_answerUpdate.pre_checkout_queryUpdate.purchased_paid_mediaUpdate.removed_chat_boostUpdate.shipping_queryUpdate.update_id
UserUser.ban()User.ban_dateUser.banned_users()User.become_anonym()User.become_credited()User.credited_users()User.follow_dateUser.following_users()User.get_follow_private_message_id()User.get_n_warns()User.get_user_sign()User.is_bannedUser.is_creditedUser.is_following()User.is_mutedUser.is_pendingUser.is_warn_bannableUser.mute()User.mute_dateUser.mute_expire_dateUser.muted_users()User.private_message_idUser.sban()User.set_follow()User.unmute()User.user_idUser.warn()
get_user_by_id_or_index()sban_cmd()
- spotted.handlers.settings module
CallbackContextCallbackContext.coroutineCallbackContext.matchesCallbackContext.argsCallbackContext.errorCallbackContext.jobCallbackContext.applicationCallbackContext.argsCallbackContext.botCallbackContext.bot_dataCallbackContext.chat_dataCallbackContext.coroutineCallbackContext.drop_callback_data()CallbackContext.errorCallbackContext.from_error()CallbackContext.from_job()CallbackContext.from_update()CallbackContext.jobCallbackContext.job_queueCallbackContext.matchCallbackContext.matchesCallbackContext.refresh_data()CallbackContext.update()CallbackContext.update_queueCallbackContext.user_data
EventInfoEventInfo.answer_callback_query()EventInfo.argsEventInfo.botEventInfo.bot_dataEventInfo.callback_keyEventInfo.chat_idEventInfo.chat_typeEventInfo.contextEventInfo.edit_inline_keyboard()EventInfo.forward_from_chat_idEventInfo.forward_from_idEventInfo.from_callback()EventInfo.from_job()EventInfo.from_message()EventInfo.inline_keyboardEventInfo.is_forward_from_channelEventInfo.is_forward_from_chatEventInfo.is_forward_from_userEventInfo.is_forwarded_postEventInfo.is_private_chatEventInfo.is_valid_message_typeEventInfo.messageEventInfo.message_idEventInfo.query_dataEventInfo.query_idEventInfo.reply_markupEventInfo.send_post_to_admins()EventInfo.send_post_to_channel()EventInfo.send_post_to_channel_group()EventInfo.show_admins_votes()EventInfo.textEventInfo.updateEventInfo.user_dataEventInfo.user_idEventInfo.user_nameEventInfo.user_username
ParseModeUpdateUpdate.update_idUpdate.messageUpdate.edited_messageUpdate.channel_postUpdate.edited_channel_postUpdate.inline_queryUpdate.chosen_inline_resultUpdate.callback_queryUpdate.shipping_queryUpdate.pre_checkout_queryUpdate.pollUpdate.poll_answerUpdate.my_chat_memberUpdate.chat_memberUpdate.chat_join_requestUpdate.chat_boostUpdate.removed_chat_boostUpdate.message_reactionUpdate.message_reaction_countUpdate.business_connectionUpdate.business_messageUpdate.edited_business_messageUpdate.deleted_business_messagesUpdate.purchased_paid_mediaUpdate.ALL_TYPESUpdate.BUSINESS_CONNECTIONUpdate.BUSINESS_MESSAGEUpdate.CALLBACK_QUERYUpdate.CHANNEL_POSTUpdate.CHAT_BOOSTUpdate.CHAT_JOIN_REQUESTUpdate.CHAT_MEMBERUpdate.CHOSEN_INLINE_RESULTUpdate.DELETED_BUSINESS_MESSAGESUpdate.EDITED_BUSINESS_MESSAGEUpdate.EDITED_CHANNEL_POSTUpdate.EDITED_MESSAGEUpdate.INLINE_QUERYUpdate.MESSAGEUpdate.MESSAGE_REACTIONUpdate.MESSAGE_REACTION_COUNTUpdate.MY_CHAT_MEMBERUpdate.POLLUpdate.POLL_ANSWERUpdate.PRE_CHECKOUT_QUERYUpdate.PURCHASED_PAID_MEDIAUpdate.REMOVED_CHAT_BOOSTUpdate.SHIPPING_QUERYUpdate.business_connectionUpdate.business_messageUpdate.callback_queryUpdate.channel_postUpdate.chat_boostUpdate.chat_join_requestUpdate.chat_memberUpdate.chosen_inline_resultUpdate.de_json()Update.deleted_business_messagesUpdate.edited_business_messageUpdate.edited_channel_postUpdate.edited_messageUpdate.effective_chatUpdate.effective_messageUpdate.effective_senderUpdate.effective_userUpdate.inline_queryUpdate.messageUpdate.message_reactionUpdate.message_reaction_countUpdate.my_chat_memberUpdate.pollUpdate.poll_answerUpdate.pre_checkout_queryUpdate.purchased_paid_mediaUpdate.removed_chat_boostUpdate.shipping_queryUpdate.update_id
UserUser.ban()User.ban_dateUser.banned_users()User.become_anonym()User.become_credited()User.credited_users()User.follow_dateUser.following_users()User.get_follow_private_message_id()User.get_n_warns()User.get_user_sign()User.is_bannedUser.is_creditedUser.is_following()User.is_mutedUser.is_pendingUser.is_warn_bannableUser.mute()User.mute_dateUser.mute_expire_dateUser.muted_users()User.private_message_idUser.sban()User.set_follow()User.unmute()User.user_idUser.warn()
get_settings_kb()settings_callback()settings_cmd()
- spotted.handlers.spam_comment module
CallbackContextCallbackContext.coroutineCallbackContext.matchesCallbackContext.argsCallbackContext.errorCallbackContext.jobCallbackContext.applicationCallbackContext.argsCallbackContext.botCallbackContext.bot_dataCallbackContext.chat_dataCallbackContext.coroutineCallbackContext.drop_callback_data()CallbackContext.errorCallbackContext.from_error()CallbackContext.from_job()CallbackContext.from_update()CallbackContext.jobCallbackContext.job_queueCallbackContext.matchCallbackContext.matchesCallbackContext.refresh_data()CallbackContext.update()CallbackContext.update_queueCallbackContext.user_data
ConfigEventInfoEventInfo.answer_callback_query()EventInfo.argsEventInfo.botEventInfo.bot_dataEventInfo.callback_keyEventInfo.chat_idEventInfo.chat_typeEventInfo.contextEventInfo.edit_inline_keyboard()EventInfo.forward_from_chat_idEventInfo.forward_from_idEventInfo.from_callback()EventInfo.from_job()EventInfo.from_message()EventInfo.inline_keyboardEventInfo.is_forward_from_channelEventInfo.is_forward_from_chatEventInfo.is_forward_from_userEventInfo.is_forwarded_postEventInfo.is_private_chatEventInfo.is_valid_message_typeEventInfo.messageEventInfo.message_idEventInfo.query_dataEventInfo.query_idEventInfo.reply_markupEventInfo.send_post_to_admins()EventInfo.send_post_to_channel()EventInfo.send_post_to_channel_group()EventInfo.show_admins_votes()EventInfo.textEventInfo.updateEventInfo.user_dataEventInfo.user_idEventInfo.user_nameEventInfo.user_username
UpdateUpdate.update_idUpdate.messageUpdate.edited_messageUpdate.channel_postUpdate.edited_channel_postUpdate.inline_queryUpdate.chosen_inline_resultUpdate.callback_queryUpdate.shipping_queryUpdate.pre_checkout_queryUpdate.pollUpdate.poll_answerUpdate.my_chat_memberUpdate.chat_memberUpdate.chat_join_requestUpdate.chat_boostUpdate.removed_chat_boostUpdate.message_reactionUpdate.message_reaction_countUpdate.business_connectionUpdate.business_messageUpdate.edited_business_messageUpdate.deleted_business_messagesUpdate.purchased_paid_mediaUpdate.ALL_TYPESUpdate.BUSINESS_CONNECTIONUpdate.BUSINESS_MESSAGEUpdate.CALLBACK_QUERYUpdate.CHANNEL_POSTUpdate.CHAT_BOOSTUpdate.CHAT_JOIN_REQUESTUpdate.CHAT_MEMBERUpdate.CHOSEN_INLINE_RESULTUpdate.DELETED_BUSINESS_MESSAGESUpdate.EDITED_BUSINESS_MESSAGEUpdate.EDITED_CHANNEL_POSTUpdate.EDITED_MESSAGEUpdate.INLINE_QUERYUpdate.MESSAGEUpdate.MESSAGE_REACTIONUpdate.MESSAGE_REACTION_COUNTUpdate.MY_CHAT_MEMBERUpdate.POLLUpdate.POLL_ANSWERUpdate.PRE_CHECKOUT_QUERYUpdate.PURCHASED_PAID_MEDIAUpdate.REMOVED_CHAT_BOOSTUpdate.SHIPPING_QUERYUpdate.business_connectionUpdate.business_messageUpdate.callback_queryUpdate.channel_postUpdate.chat_boostUpdate.chat_join_requestUpdate.chat_memberUpdate.chosen_inline_resultUpdate.de_json()Update.deleted_business_messagesUpdate.edited_business_messageUpdate.edited_channel_postUpdate.edited_messageUpdate.effective_chatUpdate.effective_messageUpdate.effective_senderUpdate.effective_userUpdate.inline_queryUpdate.messageUpdate.message_reactionUpdate.message_reaction_countUpdate.my_chat_memberUpdate.pollUpdate.poll_answerUpdate.pre_checkout_queryUpdate.purchased_paid_mediaUpdate.removed_chat_boostUpdate.shipping_queryUpdate.update_id
spam_comment_msg()
- spotted.handlers.spot module
CallbackContextCallbackContext.coroutineCallbackContext.matchesCallbackContext.argsCallbackContext.errorCallbackContext.jobCallbackContext.applicationCallbackContext.argsCallbackContext.botCallbackContext.bot_dataCallbackContext.chat_dataCallbackContext.coroutineCallbackContext.drop_callback_data()CallbackContext.errorCallbackContext.from_error()CallbackContext.from_job()CallbackContext.from_update()CallbackContext.jobCallbackContext.job_queueCallbackContext.matchCallbackContext.matchesCallbackContext.refresh_data()CallbackContext.update()CallbackContext.update_queueCallbackContext.user_data
CallbackQueryHandlerCommandHandlerConfigConversationHandlerConversationHandler.blockConversationHandler.ENDConversationHandler.TIMEOUTConversationHandler.WAITINGConversationHandler.allow_reentryConversationHandler.check_update()ConversationHandler.conversation_timeoutConversationHandler.entry_pointsConversationHandler.fallbacksConversationHandler.handle_update()ConversationHandler.map_to_parentConversationHandler.nameConversationHandler.per_chatConversationHandler.per_messageConversationHandler.per_userConversationHandler.persistentConversationHandler.statesConversationHandler.timeout_jobs
ConversationStateEventInfoEventInfo.answer_callback_query()EventInfo.argsEventInfo.botEventInfo.bot_dataEventInfo.callback_keyEventInfo.chat_idEventInfo.chat_typeEventInfo.contextEventInfo.edit_inline_keyboard()EventInfo.forward_from_chat_idEventInfo.forward_from_idEventInfo.from_callback()EventInfo.from_job()EventInfo.from_message()EventInfo.inline_keyboardEventInfo.is_forward_from_channelEventInfo.is_forward_from_chatEventInfo.is_forward_from_userEventInfo.is_forwarded_postEventInfo.is_private_chatEventInfo.is_valid_message_typeEventInfo.messageEventInfo.message_idEventInfo.query_dataEventInfo.query_idEventInfo.reply_markupEventInfo.send_post_to_admins()EventInfo.send_post_to_channel()EventInfo.send_post_to_channel_group()EventInfo.show_admins_votes()EventInfo.textEventInfo.updateEventInfo.user_dataEventInfo.user_idEventInfo.user_nameEventInfo.user_username
MessageHandlerUpdateUpdate.update_idUpdate.messageUpdate.edited_messageUpdate.channel_postUpdate.edited_channel_postUpdate.inline_queryUpdate.chosen_inline_resultUpdate.callback_queryUpdate.shipping_queryUpdate.pre_checkout_queryUpdate.pollUpdate.poll_answerUpdate.my_chat_memberUpdate.chat_memberUpdate.chat_join_requestUpdate.chat_boostUpdate.removed_chat_boostUpdate.message_reactionUpdate.message_reaction_countUpdate.business_connectionUpdate.business_messageUpdate.edited_business_messageUpdate.deleted_business_messagesUpdate.purchased_paid_mediaUpdate.ALL_TYPESUpdate.BUSINESS_CONNECTIONUpdate.BUSINESS_MESSAGEUpdate.CALLBACK_QUERYUpdate.CHANNEL_POSTUpdate.CHAT_BOOSTUpdate.CHAT_JOIN_REQUESTUpdate.CHAT_MEMBERUpdate.CHOSEN_INLINE_RESULTUpdate.DELETED_BUSINESS_MESSAGESUpdate.EDITED_BUSINESS_MESSAGEUpdate.EDITED_CHANNEL_POSTUpdate.EDITED_MESSAGEUpdate.INLINE_QUERYUpdate.MESSAGEUpdate.MESSAGE_REACTIONUpdate.MESSAGE_REACTION_COUNTUpdate.MY_CHAT_MEMBERUpdate.POLLUpdate.POLL_ANSWERUpdate.PRE_CHECKOUT_QUERYUpdate.PURCHASED_PAID_MEDIAUpdate.REMOVED_CHAT_BOOSTUpdate.SHIPPING_QUERYUpdate.business_connectionUpdate.business_messageUpdate.callback_queryUpdate.channel_postUpdate.chat_boostUpdate.chat_join_requestUpdate.chat_memberUpdate.chosen_inline_resultUpdate.de_json()Update.deleted_business_messagesUpdate.edited_business_messageUpdate.edited_channel_postUpdate.edited_messageUpdate.effective_chatUpdate.effective_messageUpdate.effective_senderUpdate.effective_userUpdate.inline_queryUpdate.messageUpdate.message_reactionUpdate.message_reaction_countUpdate.my_chat_memberUpdate.pollUpdate.poll_answerUpdate.pre_checkout_queryUpdate.purchased_paid_mediaUpdate.removed_chat_boostUpdate.shipping_queryUpdate.update_id
UserUser.ban()User.ban_dateUser.banned_users()User.become_anonym()User.become_credited()User.credited_users()User.follow_dateUser.following_users()User.get_follow_private_message_id()User.get_n_warns()User.get_user_sign()User.is_bannedUser.is_creditedUser.is_following()User.is_mutedUser.is_pendingUser.is_warn_bannableUser.mute()User.mute_dateUser.mute_expire_dateUser.muted_users()User.private_message_idUser.sban()User.set_follow()User.unmute()User.user_idUser.warn()
choice()conv_cancel()get_confirm_kb()get_preview_kb()read_md()spot_cmd()spot_confirm_query()spot_conv_handler()spot_msg()spot_preview_query()
- spotted.handlers.start module
CallbackContextCallbackContext.coroutineCallbackContext.matchesCallbackContext.argsCallbackContext.errorCallbackContext.jobCallbackContext.applicationCallbackContext.argsCallbackContext.botCallbackContext.bot_dataCallbackContext.chat_dataCallbackContext.coroutineCallbackContext.drop_callback_data()CallbackContext.errorCallbackContext.from_error()CallbackContext.from_job()CallbackContext.from_update()CallbackContext.jobCallbackContext.job_queueCallbackContext.matchCallbackContext.matchesCallbackContext.refresh_data()CallbackContext.update()CallbackContext.update_queueCallbackContext.user_data
EventInfoEventInfo.answer_callback_query()EventInfo.argsEventInfo.botEventInfo.bot_dataEventInfo.callback_keyEventInfo.chat_idEventInfo.chat_typeEventInfo.contextEventInfo.edit_inline_keyboard()EventInfo.forward_from_chat_idEventInfo.forward_from_idEventInfo.from_callback()EventInfo.from_job()EventInfo.from_message()EventInfo.inline_keyboardEventInfo.is_forward_from_channelEventInfo.is_forward_from_chatEventInfo.is_forward_from_userEventInfo.is_forwarded_postEventInfo.is_private_chatEventInfo.is_valid_message_typeEventInfo.messageEventInfo.message_idEventInfo.query_dataEventInfo.query_idEventInfo.reply_markupEventInfo.send_post_to_admins()EventInfo.send_post_to_channel()EventInfo.send_post_to_channel_group()EventInfo.show_admins_votes()EventInfo.textEventInfo.updateEventInfo.user_dataEventInfo.user_idEventInfo.user_nameEventInfo.user_username
ParseModeUpdateUpdate.update_idUpdate.messageUpdate.edited_messageUpdate.channel_postUpdate.edited_channel_postUpdate.inline_queryUpdate.chosen_inline_resultUpdate.callback_queryUpdate.shipping_queryUpdate.pre_checkout_queryUpdate.pollUpdate.poll_answerUpdate.my_chat_memberUpdate.chat_memberUpdate.chat_join_requestUpdate.chat_boostUpdate.removed_chat_boostUpdate.message_reactionUpdate.message_reaction_countUpdate.business_connectionUpdate.business_messageUpdate.edited_business_messageUpdate.deleted_business_messagesUpdate.purchased_paid_mediaUpdate.ALL_TYPESUpdate.BUSINESS_CONNECTIONUpdate.BUSINESS_MESSAGEUpdate.CALLBACK_QUERYUpdate.CHANNEL_POSTUpdate.CHAT_BOOSTUpdate.CHAT_JOIN_REQUESTUpdate.CHAT_MEMBERUpdate.CHOSEN_INLINE_RESULTUpdate.DELETED_BUSINESS_MESSAGESUpdate.EDITED_BUSINESS_MESSAGEUpdate.EDITED_CHANNEL_POSTUpdate.EDITED_MESSAGEUpdate.INLINE_QUERYUpdate.MESSAGEUpdate.MESSAGE_REACTIONUpdate.MESSAGE_REACTION_COUNTUpdate.MY_CHAT_MEMBERUpdate.POLLUpdate.POLL_ANSWERUpdate.PRE_CHECKOUT_QUERYUpdate.PURCHASED_PAID_MEDIAUpdate.REMOVED_CHAT_BOOSTUpdate.SHIPPING_QUERYUpdate.business_connectionUpdate.business_messageUpdate.callback_queryUpdate.channel_postUpdate.chat_boostUpdate.chat_join_requestUpdate.chat_memberUpdate.chosen_inline_resultUpdate.de_json()Update.deleted_business_messagesUpdate.edited_business_messageUpdate.edited_channel_postUpdate.edited_messageUpdate.effective_chatUpdate.effective_messageUpdate.effective_senderUpdate.effective_userUpdate.inline_queryUpdate.messageUpdate.message_reactionUpdate.message_reaction_countUpdate.my_chat_memberUpdate.pollUpdate.poll_answerUpdate.pre_checkout_queryUpdate.purchased_paid_mediaUpdate.removed_chat_boostUpdate.shipping_queryUpdate.update_id
read_md()start_cmd()
- spotted.handlers.unmute module
CallbackContextCallbackContext.coroutineCallbackContext.matchesCallbackContext.argsCallbackContext.errorCallbackContext.jobCallbackContext.applicationCallbackContext.argsCallbackContext.botCallbackContext.bot_dataCallbackContext.chat_dataCallbackContext.coroutineCallbackContext.drop_callback_data()CallbackContext.errorCallbackContext.from_error()CallbackContext.from_job()CallbackContext.from_update()CallbackContext.jobCallbackContext.job_queueCallbackContext.matchCallbackContext.matchesCallbackContext.refresh_data()CallbackContext.update()CallbackContext.update_queueCallbackContext.user_data
EventInfoEventInfo.answer_callback_query()EventInfo.argsEventInfo.botEventInfo.bot_dataEventInfo.callback_keyEventInfo.chat_idEventInfo.chat_typeEventInfo.contextEventInfo.edit_inline_keyboard()EventInfo.forward_from_chat_idEventInfo.forward_from_idEventInfo.from_callback()EventInfo.from_job()EventInfo.from_message()EventInfo.inline_keyboardEventInfo.is_forward_from_channelEventInfo.is_forward_from_chatEventInfo.is_forward_from_userEventInfo.is_forwarded_postEventInfo.is_private_chatEventInfo.is_valid_message_typeEventInfo.messageEventInfo.message_idEventInfo.query_dataEventInfo.query_idEventInfo.reply_markupEventInfo.send_post_to_admins()EventInfo.send_post_to_channel()EventInfo.send_post_to_channel_group()EventInfo.show_admins_votes()EventInfo.textEventInfo.updateEventInfo.user_dataEventInfo.user_idEventInfo.user_nameEventInfo.user_username
TelegramErrorUpdateUpdate.update_idUpdate.messageUpdate.edited_messageUpdate.channel_postUpdate.edited_channel_postUpdate.inline_queryUpdate.chosen_inline_resultUpdate.callback_queryUpdate.shipping_queryUpdate.pre_checkout_queryUpdate.pollUpdate.poll_answerUpdate.my_chat_memberUpdate.chat_memberUpdate.chat_join_requestUpdate.chat_boostUpdate.removed_chat_boostUpdate.message_reactionUpdate.message_reaction_countUpdate.business_connectionUpdate.business_messageUpdate.edited_business_messageUpdate.deleted_business_messagesUpdate.purchased_paid_mediaUpdate.ALL_TYPESUpdate.BUSINESS_CONNECTIONUpdate.BUSINESS_MESSAGEUpdate.CALLBACK_QUERYUpdate.CHANNEL_POSTUpdate.CHAT_BOOSTUpdate.CHAT_JOIN_REQUESTUpdate.CHAT_MEMBERUpdate.CHOSEN_INLINE_RESULTUpdate.DELETED_BUSINESS_MESSAGESUpdate.EDITED_BUSINESS_MESSAGEUpdate.EDITED_CHANNEL_POSTUpdate.EDITED_MESSAGEUpdate.INLINE_QUERYUpdate.MESSAGEUpdate.MESSAGE_REACTIONUpdate.MESSAGE_REACTION_COUNTUpdate.MY_CHAT_MEMBERUpdate.POLLUpdate.POLL_ANSWERUpdate.PRE_CHECKOUT_QUERYUpdate.PURCHASED_PAID_MEDIAUpdate.REMOVED_CHAT_BOOSTUpdate.SHIPPING_QUERYUpdate.business_connectionUpdate.business_messageUpdate.callback_queryUpdate.channel_postUpdate.chat_boostUpdate.chat_join_requestUpdate.chat_memberUpdate.chosen_inline_resultUpdate.de_json()Update.deleted_business_messagesUpdate.edited_business_messageUpdate.edited_channel_postUpdate.edited_messageUpdate.effective_chatUpdate.effective_messageUpdate.effective_senderUpdate.effective_userUpdate.inline_queryUpdate.messageUpdate.message_reactionUpdate.message_reaction_countUpdate.my_chat_memberUpdate.pollUpdate.poll_answerUpdate.pre_checkout_queryUpdate.purchased_paid_mediaUpdate.removed_chat_boostUpdate.shipping_queryUpdate.update_id
UserUser.ban()User.ban_dateUser.banned_users()User.become_anonym()User.become_credited()User.credited_users()User.follow_dateUser.following_users()User.get_follow_private_message_id()User.get_n_warns()User.get_user_sign()User.is_bannedUser.is_creditedUser.is_following()User.is_mutedUser.is_pendingUser.is_warn_bannableUser.mute()User.mute_dateUser.mute_expire_dateUser.muted_users()User.private_message_idUser.sban()User.set_follow()User.unmute()User.user_idUser.warn()
get_user_by_id_or_index()unmute_cmd()
- spotted.handlers.warn module
CallbackContextCallbackContext.coroutineCallbackContext.matchesCallbackContext.argsCallbackContext.errorCallbackContext.jobCallbackContext.applicationCallbackContext.argsCallbackContext.botCallbackContext.bot_dataCallbackContext.chat_dataCallbackContext.coroutineCallbackContext.drop_callback_data()CallbackContext.errorCallbackContext.from_error()CallbackContext.from_job()CallbackContext.from_update()CallbackContext.jobCallbackContext.job_queueCallbackContext.matchCallbackContext.matchesCallbackContext.refresh_data()CallbackContext.update()CallbackContext.update_queueCallbackContext.user_data
ConfigEventInfoEventInfo.answer_callback_query()EventInfo.argsEventInfo.botEventInfo.bot_dataEventInfo.callback_keyEventInfo.chat_idEventInfo.chat_typeEventInfo.contextEventInfo.edit_inline_keyboard()EventInfo.forward_from_chat_idEventInfo.forward_from_idEventInfo.from_callback()EventInfo.from_job()EventInfo.from_message()EventInfo.inline_keyboardEventInfo.is_forward_from_channelEventInfo.is_forward_from_chatEventInfo.is_forward_from_userEventInfo.is_forwarded_postEventInfo.is_private_chatEventInfo.is_valid_message_typeEventInfo.messageEventInfo.message_idEventInfo.query_dataEventInfo.query_idEventInfo.reply_markupEventInfo.send_post_to_admins()EventInfo.send_post_to_channel()EventInfo.send_post_to_channel_group()EventInfo.show_admins_votes()EventInfo.textEventInfo.updateEventInfo.user_dataEventInfo.user_idEventInfo.user_nameEventInfo.user_username
PendingPostPendingPost.admin_group_idPendingPost.create()PendingPost.credit_usernamePendingPost.datePendingPost.delete_post()PendingPost.from_group()PendingPost.from_user()PendingPost.g_message_idPendingPost.get_all()PendingPost.get_credit_username()PendingPost.get_list_admin_votes()PendingPost.get_votes()PendingPost.save_post()PendingPost.set_admin_vote()PendingPost.u_message_idPendingPost.user_id
ReportReport.admin_group_idReport.c_message_idReport.channel_idReport.create_post_report()Report.create_user_report()Report.dateReport.from_group()Report.g_message_idReport.get_last_user_report()Report.get_post_report()Report.minutes_passedReport.save_report()Report.target_usernameReport.user_id
UpdateUpdate.update_idUpdate.messageUpdate.edited_messageUpdate.channel_postUpdate.edited_channel_postUpdate.inline_queryUpdate.chosen_inline_resultUpdate.callback_queryUpdate.shipping_queryUpdate.pre_checkout_queryUpdate.pollUpdate.poll_answerUpdate.my_chat_memberUpdate.chat_memberUpdate.chat_join_requestUpdate.chat_boostUpdate.removed_chat_boostUpdate.message_reactionUpdate.message_reaction_countUpdate.business_connectionUpdate.business_messageUpdate.edited_business_messageUpdate.deleted_business_messagesUpdate.purchased_paid_mediaUpdate.ALL_TYPESUpdate.BUSINESS_CONNECTIONUpdate.BUSINESS_MESSAGEUpdate.CALLBACK_QUERYUpdate.CHANNEL_POSTUpdate.CHAT_BOOSTUpdate.CHAT_JOIN_REQUESTUpdate.CHAT_MEMBERUpdate.CHOSEN_INLINE_RESULTUpdate.DELETED_BUSINESS_MESSAGESUpdate.EDITED_BUSINESS_MESSAGEUpdate.EDITED_CHANNEL_POSTUpdate.EDITED_MESSAGEUpdate.INLINE_QUERYUpdate.MESSAGEUpdate.MESSAGE_REACTIONUpdate.MESSAGE_REACTION_COUNTUpdate.MY_CHAT_MEMBERUpdate.POLLUpdate.POLL_ANSWERUpdate.PRE_CHECKOUT_QUERYUpdate.PURCHASED_PAID_MEDIAUpdate.REMOVED_CHAT_BOOSTUpdate.SHIPPING_QUERYUpdate.business_connectionUpdate.business_messageUpdate.callback_queryUpdate.channel_postUpdate.chat_boostUpdate.chat_join_requestUpdate.chat_memberUpdate.chosen_inline_resultUpdate.de_json()Update.deleted_business_messagesUpdate.edited_business_messageUpdate.edited_channel_postUpdate.edited_messageUpdate.effective_chatUpdate.effective_messageUpdate.effective_senderUpdate.effective_userUpdate.inline_queryUpdate.messageUpdate.message_reactionUpdate.message_reaction_countUpdate.my_chat_memberUpdate.pollUpdate.poll_answerUpdate.pre_checkout_queryUpdate.purchased_paid_mediaUpdate.removed_chat_boostUpdate.shipping_queryUpdate.update_id
UserUser.ban()User.ban_dateUser.banned_users()User.become_anonym()User.become_credited()User.credited_users()User.follow_dateUser.following_users()User.get_follow_private_message_id()User.get_n_warns()User.get_user_sign()User.is_bannedUser.is_creditedUser.is_following()User.is_mutedUser.is_pendingUser.is_warn_bannableUser.mute()User.mute_dateUser.mute_expire_dateUser.muted_users()User.private_message_idUser.sban()User.set_follow()User.unmute()User.user_idUser.warn()
execute_ban()execute_warn()warn_cmd()
- spotted.scripts namespace
- Module contents
EventInfoEventInfo.answer_callback_query()EventInfo.argsEventInfo.botEventInfo.bot_dataEventInfo.callback_keyEventInfo.chat_idEventInfo.chat_typeEventInfo.contextEventInfo.edit_inline_keyboard()EventInfo.forward_from_chat_idEventInfo.forward_from_idEventInfo.from_callback()EventInfo.from_job()EventInfo.from_message()EventInfo.inline_keyboardEventInfo.is_forward_from_channelEventInfo.is_forward_from_chatEventInfo.is_forward_from_userEventInfo.is_forwarded_postEventInfo.is_private_chatEventInfo.is_valid_message_typeEventInfo.messageEventInfo.message_idEventInfo.query_dataEventInfo.query_idEventInfo.reply_markupEventInfo.send_post_to_admins()EventInfo.send_post_to_channel()EventInfo.send_post_to_channel_group()EventInfo.show_admins_votes()EventInfo.textEventInfo.updateEventInfo.user_dataEventInfo.user_idEventInfo.user_nameEventInfo.user_username
conv_cancel()conv_fail()get_approve_kb()get_confirm_kb()get_paused_kb()get_preview_kb()get_published_post_kb()get_settings_kb()get_user_by_id_or_index()- spotted.utils package
- Submodules
- spotted.utils.constants module
- spotted.utils.conversation_util module
AnyCallbackContextCallbackContext.coroutineCallbackContext.matchesCallbackContext.argsCallbackContext.errorCallbackContext.jobCallbackContext.applicationCallbackContext.argsCallbackContext.botCallbackContext.bot_dataCallbackContext.chat_dataCallbackContext.coroutineCallbackContext.drop_callback_data()CallbackContext.errorCallbackContext.from_error()CallbackContext.from_job()CallbackContext.from_update()CallbackContext.jobCallbackContext.job_queueCallbackContext.matchCallbackContext.matchesCallbackContext.refresh_data()CallbackContext.update()CallbackContext.update_queueCallbackContext.user_data
CoroutineEventInfoEventInfo.answer_callback_query()EventInfo.argsEventInfo.botEventInfo.bot_dataEventInfo.callback_keyEventInfo.chat_idEventInfo.chat_typeEventInfo.contextEventInfo.edit_inline_keyboard()EventInfo.forward_from_chat_idEventInfo.forward_from_idEventInfo.from_callback()EventInfo.from_job()EventInfo.from_message()EventInfo.inline_keyboardEventInfo.is_forward_from_channelEventInfo.is_forward_from_chatEventInfo.is_forward_from_userEventInfo.is_forwarded_postEventInfo.is_private_chatEventInfo.is_valid_message_typeEventInfo.messageEventInfo.message_idEventInfo.query_dataEventInfo.query_idEventInfo.reply_markupEventInfo.send_post_to_admins()EventInfo.send_post_to_channel()EventInfo.send_post_to_channel_group()EventInfo.show_admins_votes()EventInfo.textEventInfo.updateEventInfo.user_dataEventInfo.user_idEventInfo.user_nameEventInfo.user_username
ParseModeUpdateUpdate.update_idUpdate.messageUpdate.edited_messageUpdate.channel_postUpdate.edited_channel_postUpdate.inline_queryUpdate.chosen_inline_resultUpdate.callback_queryUpdate.shipping_queryUpdate.pre_checkout_queryUpdate.pollUpdate.poll_answerUpdate.my_chat_memberUpdate.chat_memberUpdate.chat_join_requestUpdate.chat_boostUpdate.removed_chat_boostUpdate.message_reactionUpdate.message_reaction_countUpdate.business_connectionUpdate.business_messageUpdate.edited_business_messageUpdate.deleted_business_messagesUpdate.purchased_paid_mediaUpdate.ALL_TYPESUpdate.BUSINESS_CONNECTIONUpdate.BUSINESS_MESSAGEUpdate.CALLBACK_QUERYUpdate.CHANNEL_POSTUpdate.CHAT_BOOSTUpdate.CHAT_JOIN_REQUESTUpdate.CHAT_MEMBERUpdate.CHOSEN_INLINE_RESULTUpdate.DELETED_BUSINESS_MESSAGESUpdate.EDITED_BUSINESS_MESSAGEUpdate.EDITED_CHANNEL_POSTUpdate.EDITED_MESSAGEUpdate.INLINE_QUERYUpdate.MESSAGEUpdate.MESSAGE_REACTIONUpdate.MESSAGE_REACTION_COUNTUpdate.MY_CHAT_MEMBERUpdate.POLLUpdate.POLL_ANSWERUpdate.PRE_CHECKOUT_QUERYUpdate.PURCHASED_PAID_MEDIAUpdate.REMOVED_CHAT_BOOSTUpdate.SHIPPING_QUERYUpdate.business_connectionUpdate.business_messageUpdate.callback_queryUpdate.channel_postUpdate.chat_boostUpdate.chat_join_requestUpdate.chat_memberUpdate.chosen_inline_resultUpdate.de_json()Update.deleted_business_messagesUpdate.edited_business_messageUpdate.edited_channel_postUpdate.edited_messageUpdate.effective_chatUpdate.effective_messageUpdate.effective_senderUpdate.effective_userUpdate.inline_queryUpdate.messageUpdate.message_reactionUpdate.message_reaction_countUpdate.my_chat_memberUpdate.pollUpdate.poll_answerUpdate.pre_checkout_queryUpdate.purchased_paid_mediaUpdate.removed_chat_boostUpdate.shipping_queryUpdate.update_id
conv_cancel()conv_fail()read_md()
- spotted.utils.info_util module
BadRequestBotBot.addStickerToSet()Bot.add_sticker_to_set()Bot.answerCallbackQuery()Bot.answerInlineQuery()Bot.answerPreCheckoutQuery()Bot.answerShippingQuery()Bot.answerWebAppQuery()Bot.answer_callback_query()Bot.answer_inline_query()Bot.answer_pre_checkout_query()Bot.answer_shipping_query()Bot.answer_web_app_query()Bot.approveChatJoinRequest()Bot.approveSuggestedPost()Bot.approve_chat_join_request()Bot.approve_suggested_post()Bot.banChatMember()Bot.banChatSenderChat()Bot.ban_chat_member()Bot.ban_chat_sender_chat()Bot.base_file_urlBot.base_urlBot.botBot.can_join_groupsBot.can_read_all_group_messagesBot.close()Bot.closeForumTopic()Bot.closeGeneralForumTopic()Bot.close_forum_topic()Bot.close_general_forum_topic()Bot.convertGiftToStars()Bot.convert_gift_to_stars()Bot.copyMessage()Bot.copyMessages()Bot.copy_message()Bot.copy_messages()Bot.createChatInviteLink()Bot.createChatSubscriptionInviteLink()Bot.createForumTopic()Bot.createInvoiceLink()Bot.createNewStickerSet()Bot.create_chat_invite_link()Bot.create_chat_subscription_invite_link()Bot.create_forum_topic()Bot.create_invoice_link()Bot.create_new_sticker_set()Bot.declineChatJoinRequest()Bot.declineSuggestedPost()Bot.decline_chat_join_request()Bot.decline_suggested_post()Bot.deleteBusinessMessages()Bot.deleteChatPhoto()Bot.deleteChatStickerSet()Bot.deleteForumTopic()Bot.deleteMessage()Bot.deleteMessages()Bot.deleteMyCommands()Bot.deleteStickerFromSet()Bot.deleteStickerSet()Bot.deleteStory()Bot.deleteWebhook()Bot.delete_business_messages()Bot.delete_chat_photo()Bot.delete_chat_sticker_set()Bot.delete_forum_topic()Bot.delete_message()Bot.delete_messages()Bot.delete_my_commands()Bot.delete_sticker_from_set()Bot.delete_sticker_set()Bot.delete_story()Bot.delete_webhook()Bot.do_api_request()Bot.editChatInviteLink()Bot.editChatSubscriptionInviteLink()Bot.editForumTopic()Bot.editGeneralForumTopic()Bot.editMessageCaption()Bot.editMessageChecklist()Bot.editMessageLiveLocation()Bot.editMessageMedia()Bot.editMessageReplyMarkup()Bot.editMessageText()Bot.editStory()Bot.editUserStarSubscription()Bot.edit_chat_invite_link()Bot.edit_chat_subscription_invite_link()Bot.edit_forum_topic()Bot.edit_general_forum_topic()Bot.edit_message_caption()Bot.edit_message_checklist()Bot.edit_message_live_location()Bot.edit_message_media()Bot.edit_message_reply_markup()Bot.edit_message_text()Bot.edit_story()Bot.edit_user_star_subscription()Bot.exportChatInviteLink()Bot.export_chat_invite_link()Bot.first_nameBot.forwardMessage()Bot.forwardMessages()Bot.forward_message()Bot.forward_messages()Bot.getAvailableGifts()Bot.getBusinessAccountGifts()Bot.getBusinessAccountStarBalance()Bot.getBusinessConnection()Bot.getChat()Bot.getChatAdministrators()Bot.getChatMember()Bot.getChatMemberCount()Bot.getChatMenuButton()Bot.getCustomEmojiStickers()Bot.getFile()Bot.getForumTopicIconStickers()Bot.getGameHighScores()Bot.getMe()Bot.getMyCommands()Bot.getMyDefaultAdministratorRights()Bot.getMyDescription()Bot.getMyName()Bot.getMyShortDescription()Bot.getMyStarBalance()Bot.getStarTransactions()Bot.getStickerSet()Bot.getUpdates()Bot.getUserChatBoosts()Bot.getUserProfilePhotos()Bot.getWebhookInfo()Bot.get_available_gifts()Bot.get_business_account_gifts()Bot.get_business_account_star_balance()Bot.get_business_connection()Bot.get_chat()Bot.get_chat_administrators()Bot.get_chat_member()Bot.get_chat_member_count()Bot.get_chat_menu_button()Bot.get_custom_emoji_stickers()Bot.get_file()Bot.get_forum_topic_icon_stickers()Bot.get_game_high_scores()Bot.get_me()Bot.get_my_commands()Bot.get_my_default_administrator_rights()Bot.get_my_description()Bot.get_my_name()Bot.get_my_short_description()Bot.get_my_star_balance()Bot.get_star_transactions()Bot.get_sticker_set()Bot.get_updates()Bot.get_user_chat_boosts()Bot.get_user_profile_photos()Bot.get_webhook_info()Bot.giftPremiumSubscription()Bot.gift_premium_subscription()Bot.hideGeneralForumTopic()Bot.hide_general_forum_topic()Bot.idBot.initialize()Bot.last_nameBot.leaveChat()Bot.leave_chat()Bot.linkBot.local_modeBot.logOut()Bot.log_out()Bot.nameBot.pinChatMessage()Bot.pin_chat_message()Bot.postStory()Bot.post_story()Bot.private_keyBot.promoteChatMember()Bot.promote_chat_member()Bot.readBusinessMessage()Bot.read_business_message()Bot.refundStarPayment()Bot.refund_star_payment()Bot.removeBusinessAccountProfilePhoto()Bot.removeChatVerification()Bot.removeUserVerification()Bot.remove_business_account_profile_photo()Bot.remove_chat_verification()Bot.remove_user_verification()Bot.reopenForumTopic()Bot.reopenGeneralForumTopic()Bot.reopen_forum_topic()Bot.reopen_general_forum_topic()Bot.replaceStickerInSet()Bot.replace_sticker_in_set()Bot.requestBot.restrictChatMember()Bot.restrict_chat_member()Bot.revokeChatInviteLink()Bot.revoke_chat_invite_link()Bot.savePreparedInlineMessage()Bot.save_prepared_inline_message()Bot.sendAnimation()Bot.sendAudio()Bot.sendChatAction()Bot.sendChecklist()Bot.sendContact()Bot.sendDice()Bot.sendDocument()Bot.sendGame()Bot.sendGift()Bot.sendInvoice()Bot.sendLocation()Bot.sendMediaGroup()Bot.sendMessage()Bot.sendPaidMedia()Bot.sendPhoto()Bot.sendPoll()Bot.sendSticker()Bot.sendVenue()Bot.sendVideo()Bot.sendVideoNote()Bot.sendVoice()Bot.send_animation()Bot.send_audio()Bot.send_chat_action()Bot.send_checklist()Bot.send_contact()Bot.send_dice()Bot.send_document()Bot.send_game()Bot.send_gift()Bot.send_invoice()Bot.send_location()Bot.send_media_group()Bot.send_message()Bot.send_paid_media()Bot.send_photo()Bot.send_poll()Bot.send_sticker()Bot.send_venue()Bot.send_video()Bot.send_video_note()Bot.send_voice()Bot.setBusinessAccountBio()Bot.setBusinessAccountGiftSettings()Bot.setBusinessAccountName()Bot.setBusinessAccountProfilePhoto()Bot.setBusinessAccountUsername()Bot.setChatAdministratorCustomTitle()Bot.setChatDescription()Bot.setChatMenuButton()Bot.setChatPermissions()Bot.setChatPhoto()Bot.setChatStickerSet()Bot.setChatTitle()Bot.setCustomEmojiStickerSetThumbnail()Bot.setGameScore()Bot.setMessageReaction()Bot.setMyCommands()Bot.setMyDefaultAdministratorRights()Bot.setMyDescription()Bot.setMyName()Bot.setMyShortDescription()Bot.setPassportDataErrors()Bot.setStickerEmojiList()Bot.setStickerKeywords()Bot.setStickerMaskPosition()Bot.setStickerPositionInSet()Bot.setStickerSetThumbnail()Bot.setStickerSetTitle()Bot.setUserEmojiStatus()Bot.setWebhook()Bot.set_business_account_bio()Bot.set_business_account_gift_settings()Bot.set_business_account_name()Bot.set_business_account_profile_photo()Bot.set_business_account_username()Bot.set_chat_administrator_custom_title()Bot.set_chat_description()Bot.set_chat_menu_button()Bot.set_chat_permissions()Bot.set_chat_photo()Bot.set_chat_sticker_set()Bot.set_chat_title()Bot.set_custom_emoji_sticker_set_thumbnail()Bot.set_game_score()Bot.set_message_reaction()Bot.set_my_commands()Bot.set_my_default_administrator_rights()Bot.set_my_description()Bot.set_my_name()Bot.set_my_short_description()Bot.set_passport_data_errors()Bot.set_sticker_emoji_list()Bot.set_sticker_keywords()Bot.set_sticker_mask_position()Bot.set_sticker_position_in_set()Bot.set_sticker_set_thumbnail()Bot.set_sticker_set_title()Bot.set_user_emoji_status()Bot.set_webhook()Bot.shutdown()Bot.stopMessageLiveLocation()Bot.stopPoll()Bot.stop_message_live_location()Bot.stop_poll()Bot.supports_inline_queriesBot.to_dict()Bot.tokenBot.transferBusinessAccountStars()Bot.transferGift()Bot.transfer_business_account_stars()Bot.transfer_gift()Bot.unbanChatMember()Bot.unbanChatSenderChat()Bot.unban_chat_member()Bot.unban_chat_sender_chat()Bot.unhideGeneralForumTopic()Bot.unhide_general_forum_topic()Bot.unpinAllChatMessages()Bot.unpinAllForumTopicMessages()Bot.unpinAllGeneralForumTopicMessages()Bot.unpinChatMessage()Bot.unpin_all_chat_messages()Bot.unpin_all_forum_topic_messages()Bot.unpin_all_general_forum_topic_messages()Bot.unpin_chat_message()Bot.upgradeGift()Bot.upgrade_gift()Bot.uploadStickerFile()Bot.upload_sticker_file()Bot.usernameBot.verifyChat()Bot.verifyUser()Bot.verify_chat()Bot.verify_user()
CallbackContextCallbackContext.coroutineCallbackContext.matchesCallbackContext.argsCallbackContext.errorCallbackContext.jobCallbackContext.applicationCallbackContext.argsCallbackContext.botCallbackContext.bot_dataCallbackContext.chat_dataCallbackContext.coroutineCallbackContext.drop_callback_data()CallbackContext.errorCallbackContext.from_error()CallbackContext.from_job()CallbackContext.from_update()CallbackContext.jobCallbackContext.job_queueCallbackContext.matchCallbackContext.matchesCallbackContext.refresh_data()CallbackContext.update()CallbackContext.update_queueCallbackContext.user_data
CallbackQueryCallbackQuery.idCallbackQuery.from_userCallbackQuery.chat_instanceCallbackQuery.messageCallbackQuery.dataCallbackQuery.inline_message_idCallbackQuery.game_short_nameCallbackQuery.MAX_ANSWER_TEXT_LENGTHCallbackQuery.answer()CallbackQuery.chat_instanceCallbackQuery.copy_message()CallbackQuery.dataCallbackQuery.de_json()CallbackQuery.delete_message()CallbackQuery.edit_message_caption()CallbackQuery.edit_message_checklist()CallbackQuery.edit_message_live_location()CallbackQuery.edit_message_media()CallbackQuery.edit_message_reply_markup()CallbackQuery.edit_message_text()CallbackQuery.from_userCallbackQuery.game_short_nameCallbackQuery.get_game_high_scores()CallbackQuery.idCallbackQuery.inline_message_idCallbackQuery.messageCallbackQuery.pin_message()CallbackQuery.set_game_score()CallbackQuery.stop_message_live_location()CallbackQuery.unpin_message()
ChatConfigEventInfoEventInfo.answer_callback_query()EventInfo.argsEventInfo.botEventInfo.bot_dataEventInfo.callback_keyEventInfo.chat_idEventInfo.chat_typeEventInfo.contextEventInfo.edit_inline_keyboard()EventInfo.forward_from_chat_idEventInfo.forward_from_idEventInfo.from_callback()EventInfo.from_job()EventInfo.from_message()EventInfo.inline_keyboardEventInfo.is_forward_from_channelEventInfo.is_forward_from_chatEventInfo.is_forward_from_userEventInfo.is_forwarded_postEventInfo.is_private_chatEventInfo.is_valid_message_typeEventInfo.messageEventInfo.message_idEventInfo.query_dataEventInfo.query_idEventInfo.reply_markupEventInfo.send_post_to_admins()EventInfo.send_post_to_channel()EventInfo.send_post_to_channel_group()EventInfo.show_admins_votes()EventInfo.textEventInfo.updateEventInfo.user_dataEventInfo.user_idEventInfo.user_nameEventInfo.user_username
InlineKeyboardMarkupLinkPreviewOptionsLinkPreviewOptions.is_disabledLinkPreviewOptions.urlLinkPreviewOptions.prefer_small_mediaLinkPreviewOptions.prefer_large_mediaLinkPreviewOptions.show_above_textLinkPreviewOptions.is_disabledLinkPreviewOptions.prefer_large_mediaLinkPreviewOptions.prefer_small_mediaLinkPreviewOptions.show_above_textLinkPreviewOptions.url
MessageMessage.message_idMessage.from_userMessage.sender_chatMessage.dateMessage.chatMessage.is_automatic_forwardMessage.reply_to_messageMessage.edit_dateMessage.has_protected_contentMessage.is_from_offlineMessage.media_group_idMessage.textMessage.entitiesMessage.link_preview_optionsMessage.suggested_post_infoMessage.effect_idMessage.caption_entitiesMessage.show_caption_above_mediaMessage.audioMessage.documentMessage.animationMessage.gameMessage.photoMessage.stickerMessage.storyMessage.videoMessage.voiceMessage.video_noteMessage.new_chat_membersMessage.captionMessage.contactMessage.locationMessage.venueMessage.left_chat_memberMessage.new_chat_titleMessage.new_chat_photoMessage.delete_chat_photoMessage.group_chat_createdMessage.supergroup_chat_createdMessage.channel_chat_createdMessage.message_auto_delete_timer_changedMessage.migrate_to_chat_idMessage.migrate_from_chat_idMessage.pinned_messageMessage.invoiceMessage.successful_paymentMessage.connected_websiteMessage.author_signatureMessage.paid_star_countMessage.passport_dataMessage.pollMessage.diceMessage.via_botMessage.proximity_alert_triggeredMessage.video_chat_scheduledMessage.video_chat_startedMessage.video_chat_endedMessage.video_chat_participants_invitedMessage.web_app_dataMessage.reply_markupMessage.is_topic_messageMessage.message_thread_idMessage.forum_topic_createdMessage.forum_topic_closedMessage.forum_topic_reopenedMessage.forum_topic_editedMessage.general_forum_topic_hiddenMessage.general_forum_topic_unhiddenMessage.write_access_allowedMessage.has_media_spoilerMessage.checklistMessage.users_sharedMessage.chat_sharedMessage.giftMessage.unique_giftMessage.giveaway_createdMessage.giveawayMessage.giveaway_winnersMessage.giveaway_completedMessage.paid_message_price_changedMessage.suggested_post_approvedMessage.suggested_post_approval_failedMessage.suggested_post_declinedMessage.suggested_post_paidMessage.suggested_post_refundedMessage.external_replyMessage.quoteMessage.forward_originMessage.reply_to_storyMessage.boost_addedMessage.sender_boost_countMessage.business_connection_idMessage.sender_business_botMessage.chat_background_setMessage.checklist_tasks_doneMessage.checklist_tasks_addedMessage.paid_mediaMessage.refunded_paymentMessage.direct_message_price_changedMessage.is_paid_postMessage.direct_messages_topicMessage.reply_to_checklist_task_idMessage.animationMessage.approve_suggested_post()Message.audioMessage.author_signatureMessage.boost_addedMessage.build_reply_arguments()Message.business_connection_idMessage.captionMessage.caption_entitiesMessage.caption_htmlMessage.caption_html_urledMessage.caption_markdownMessage.caption_markdown_urledMessage.caption_markdown_v2Message.caption_markdown_v2_urledMessage.channel_chat_createdMessage.chat_background_setMessage.chat_idMessage.chat_sharedMessage.checklistMessage.checklist_tasks_addedMessage.checklist_tasks_doneMessage.close_forum_topic()Message.compute_quote_position_and_entities()Message.connected_websiteMessage.contactMessage.copy()Message.de_json()Message.decline_suggested_post()Message.delete()Message.delete_chat_photoMessage.delete_forum_topic()Message.diceMessage.direct_message_price_changedMessage.direct_messages_topicMessage.documentMessage.edit_caption()Message.edit_checklist()Message.edit_dateMessage.edit_forum_topic()Message.edit_live_location()Message.edit_media()Message.edit_reply_markup()Message.edit_text()Message.effect_idMessage.effective_attachmentMessage.entitiesMessage.external_replyMessage.forum_topic_closedMessage.forum_topic_createdMessage.forum_topic_editedMessage.forum_topic_reopenedMessage.forward()Message.forward_originMessage.from_userMessage.gameMessage.general_forum_topic_hiddenMessage.general_forum_topic_unhiddenMessage.get_game_high_scores()Message.giftMessage.giveawayMessage.giveaway_completedMessage.giveaway_createdMessage.giveaway_winnersMessage.group_chat_createdMessage.has_media_spoilerMessage.has_protected_contentMessage.idMessage.invoiceMessage.is_automatic_forwardMessage.is_from_offlineMessage.is_paid_postMessage.is_topic_messageMessage.left_chat_memberMessage.linkMessage.link_preview_optionsMessage.locationMessage.media_group_idMessage.message_auto_delete_timer_changedMessage.message_thread_idMessage.migrate_from_chat_idMessage.migrate_to_chat_idMessage.new_chat_membersMessage.new_chat_photoMessage.new_chat_titleMessage.paid_mediaMessage.paid_message_price_changedMessage.paid_star_countMessage.parse_caption_entities()Message.parse_caption_entity()Message.parse_entities()Message.parse_entity()Message.passport_dataMessage.photoMessage.pin()Message.pinned_messageMessage.pollMessage.proximity_alert_triggeredMessage.quoteMessage.read_business_message()Message.refunded_paymentMessage.reopen_forum_topic()Message.reply_animation()Message.reply_audio()Message.reply_chat_action()Message.reply_checklist()Message.reply_contact()Message.reply_copy()Message.reply_dice()Message.reply_document()Message.reply_game()Message.reply_html()Message.reply_invoice()Message.reply_location()Message.reply_markdown()Message.reply_markdown_v2()Message.reply_markupMessage.reply_media_group()Message.reply_paid_media()Message.reply_photo()Message.reply_poll()Message.reply_sticker()Message.reply_text()Message.reply_to_checklist_task_idMessage.reply_to_messageMessage.reply_to_storyMessage.reply_venue()Message.reply_video()Message.reply_video_note()Message.reply_voice()Message.sender_boost_countMessage.sender_business_botMessage.sender_chatMessage.set_game_score()Message.set_reaction()Message.show_caption_above_mediaMessage.stickerMessage.stop_live_location()Message.stop_poll()Message.storyMessage.successful_paymentMessage.suggested_post_approval_failedMessage.suggested_post_approvedMessage.suggested_post_declinedMessage.suggested_post_infoMessage.suggested_post_paidMessage.suggested_post_refundedMessage.supergroup_chat_createdMessage.textMessage.text_htmlMessage.text_html_urledMessage.text_markdownMessage.text_markdown_urledMessage.text_markdown_v2Message.text_markdown_v2_urledMessage.unique_giftMessage.unpin()Message.unpin_all_forum_topic_messages()Message.users_sharedMessage.venueMessage.via_botMessage.videoMessage.video_chat_endedMessage.video_chat_participants_invitedMessage.video_chat_scheduledMessage.video_chat_startedMessage.video_noteMessage.voiceMessage.web_app_dataMessage.write_access_allowed
MessageIdMessageOriginChannelMessageOriginChatMessageOriginUserPendingPostPendingPost.admin_group_idPendingPost.create()PendingPost.credit_usernamePendingPost.datePendingPost.delete_post()PendingPost.from_group()PendingPost.from_user()PendingPost.g_message_idPendingPost.get_all()PendingPost.get_credit_username()PendingPost.get_list_admin_votes()PendingPost.get_votes()PendingPost.save_post()PendingPost.set_admin_vote()PendingPost.u_message_idPendingPost.user_id
PublishedPostUpdateUpdate.update_idUpdate.messageUpdate.edited_messageUpdate.channel_postUpdate.edited_channel_postUpdate.inline_queryUpdate.chosen_inline_resultUpdate.callback_queryUpdate.shipping_queryUpdate.pre_checkout_queryUpdate.pollUpdate.poll_answerUpdate.my_chat_memberUpdate.chat_memberUpdate.chat_join_requestUpdate.chat_boostUpdate.removed_chat_boostUpdate.message_reactionUpdate.message_reaction_countUpdate.business_connectionUpdate.business_messageUpdate.edited_business_messageUpdate.deleted_business_messagesUpdate.purchased_paid_mediaUpdate.ALL_TYPESUpdate.BUSINESS_CONNECTIONUpdate.BUSINESS_MESSAGEUpdate.CALLBACK_QUERYUpdate.CHANNEL_POSTUpdate.CHAT_BOOSTUpdate.CHAT_JOIN_REQUESTUpdate.CHAT_MEMBERUpdate.CHOSEN_INLINE_RESULTUpdate.DELETED_BUSINESS_MESSAGESUpdate.EDITED_BUSINESS_MESSAGEUpdate.EDITED_CHANNEL_POSTUpdate.EDITED_MESSAGEUpdate.INLINE_QUERYUpdate.MESSAGEUpdate.MESSAGE_REACTIONUpdate.MESSAGE_REACTION_COUNTUpdate.MY_CHAT_MEMBERUpdate.POLLUpdate.POLL_ANSWERUpdate.PRE_CHECKOUT_QUERYUpdate.PURCHASED_PAID_MEDIAUpdate.REMOVED_CHAT_BOOSTUpdate.SHIPPING_QUERYUpdate.business_connectionUpdate.business_messageUpdate.callback_queryUpdate.channel_postUpdate.chat_boostUpdate.chat_join_requestUpdate.chat_memberUpdate.chosen_inline_resultUpdate.de_json()Update.deleted_business_messagesUpdate.edited_business_messageUpdate.edited_channel_postUpdate.edited_messageUpdate.effective_chatUpdate.effective_messageUpdate.effective_senderUpdate.effective_userUpdate.inline_queryUpdate.messageUpdate.message_reactionUpdate.message_reaction_countUpdate.my_chat_memberUpdate.pollUpdate.poll_answerUpdate.pre_checkout_queryUpdate.purchased_paid_mediaUpdate.removed_chat_boostUpdate.shipping_queryUpdate.update_id
UserUser.ban()User.ban_dateUser.banned_users()User.become_anonym()User.become_credited()User.credited_users()User.follow_dateUser.following_users()User.get_follow_private_message_id()User.get_n_warns()User.get_user_sign()User.is_bannedUser.is_creditedUser.is_following()User.is_mutedUser.is_pendingUser.is_warn_bannableUser.mute()User.mute_dateUser.mute_expire_dateUser.muted_users()User.private_message_idUser.sban()User.set_follow()User.unmute()User.user_idUser.warn()
cast()get_approve_kb()get_post_outcome_kb()get_published_post_kb()
- spotted.utils.keyboard_util module
BotBot.addStickerToSet()Bot.add_sticker_to_set()Bot.answerCallbackQuery()Bot.answerInlineQuery()Bot.answerPreCheckoutQuery()Bot.answerShippingQuery()Bot.answerWebAppQuery()Bot.answer_callback_query()Bot.answer_inline_query()Bot.answer_pre_checkout_query()Bot.answer_shipping_query()Bot.answer_web_app_query()Bot.approveChatJoinRequest()Bot.approveSuggestedPost()Bot.approve_chat_join_request()Bot.approve_suggested_post()Bot.banChatMember()Bot.banChatSenderChat()Bot.ban_chat_member()Bot.ban_chat_sender_chat()Bot.base_file_urlBot.base_urlBot.botBot.can_join_groupsBot.can_read_all_group_messagesBot.close()Bot.closeForumTopic()Bot.closeGeneralForumTopic()Bot.close_forum_topic()Bot.close_general_forum_topic()Bot.convertGiftToStars()Bot.convert_gift_to_stars()Bot.copyMessage()Bot.copyMessages()Bot.copy_message()Bot.copy_messages()Bot.createChatInviteLink()Bot.createChatSubscriptionInviteLink()Bot.createForumTopic()Bot.createInvoiceLink()Bot.createNewStickerSet()Bot.create_chat_invite_link()Bot.create_chat_subscription_invite_link()Bot.create_forum_topic()Bot.create_invoice_link()Bot.create_new_sticker_set()Bot.declineChatJoinRequest()Bot.declineSuggestedPost()Bot.decline_chat_join_request()Bot.decline_suggested_post()Bot.deleteBusinessMessages()Bot.deleteChatPhoto()Bot.deleteChatStickerSet()Bot.deleteForumTopic()Bot.deleteMessage()Bot.deleteMessages()Bot.deleteMyCommands()Bot.deleteStickerFromSet()Bot.deleteStickerSet()Bot.deleteStory()Bot.deleteWebhook()Bot.delete_business_messages()Bot.delete_chat_photo()Bot.delete_chat_sticker_set()Bot.delete_forum_topic()Bot.delete_message()Bot.delete_messages()Bot.delete_my_commands()Bot.delete_sticker_from_set()Bot.delete_sticker_set()Bot.delete_story()Bot.delete_webhook()Bot.do_api_request()Bot.editChatInviteLink()Bot.editChatSubscriptionInviteLink()Bot.editForumTopic()Bot.editGeneralForumTopic()Bot.editMessageCaption()Bot.editMessageChecklist()Bot.editMessageLiveLocation()Bot.editMessageMedia()Bot.editMessageReplyMarkup()Bot.editMessageText()Bot.editStory()Bot.editUserStarSubscription()Bot.edit_chat_invite_link()Bot.edit_chat_subscription_invite_link()Bot.edit_forum_topic()Bot.edit_general_forum_topic()Bot.edit_message_caption()Bot.edit_message_checklist()Bot.edit_message_live_location()Bot.edit_message_media()Bot.edit_message_reply_markup()Bot.edit_message_text()Bot.edit_story()Bot.edit_user_star_subscription()Bot.exportChatInviteLink()Bot.export_chat_invite_link()Bot.first_nameBot.forwardMessage()Bot.forwardMessages()Bot.forward_message()Bot.forward_messages()Bot.getAvailableGifts()Bot.getBusinessAccountGifts()Bot.getBusinessAccountStarBalance()Bot.getBusinessConnection()Bot.getChat()Bot.getChatAdministrators()Bot.getChatMember()Bot.getChatMemberCount()Bot.getChatMenuButton()Bot.getCustomEmojiStickers()Bot.getFile()Bot.getForumTopicIconStickers()Bot.getGameHighScores()Bot.getMe()Bot.getMyCommands()Bot.getMyDefaultAdministratorRights()Bot.getMyDescription()Bot.getMyName()Bot.getMyShortDescription()Bot.getMyStarBalance()Bot.getStarTransactions()Bot.getStickerSet()Bot.getUpdates()Bot.getUserChatBoosts()Bot.getUserProfilePhotos()Bot.getWebhookInfo()Bot.get_available_gifts()Bot.get_business_account_gifts()Bot.get_business_account_star_balance()Bot.get_business_connection()Bot.get_chat()Bot.get_chat_administrators()Bot.get_chat_member()Bot.get_chat_member_count()Bot.get_chat_menu_button()Bot.get_custom_emoji_stickers()Bot.get_file()Bot.get_forum_topic_icon_stickers()Bot.get_game_high_scores()Bot.get_me()Bot.get_my_commands()Bot.get_my_default_administrator_rights()Bot.get_my_description()Bot.get_my_name()Bot.get_my_short_description()Bot.get_my_star_balance()Bot.get_star_transactions()Bot.get_sticker_set()Bot.get_updates()Bot.get_user_chat_boosts()Bot.get_user_profile_photos()Bot.get_webhook_info()Bot.giftPremiumSubscription()Bot.gift_premium_subscription()Bot.hideGeneralForumTopic()Bot.hide_general_forum_topic()Bot.idBot.initialize()Bot.last_nameBot.leaveChat()Bot.leave_chat()Bot.linkBot.local_modeBot.logOut()Bot.log_out()Bot.nameBot.pinChatMessage()Bot.pin_chat_message()Bot.postStory()Bot.post_story()Bot.private_keyBot.promoteChatMember()Bot.promote_chat_member()Bot.readBusinessMessage()Bot.read_business_message()Bot.refundStarPayment()Bot.refund_star_payment()Bot.removeBusinessAccountProfilePhoto()Bot.removeChatVerification()Bot.removeUserVerification()Bot.remove_business_account_profile_photo()Bot.remove_chat_verification()Bot.remove_user_verification()Bot.reopenForumTopic()Bot.reopenGeneralForumTopic()Bot.reopen_forum_topic()Bot.reopen_general_forum_topic()Bot.replaceStickerInSet()Bot.replace_sticker_in_set()Bot.requestBot.restrictChatMember()Bot.restrict_chat_member()Bot.revokeChatInviteLink()Bot.revoke_chat_invite_link()Bot.savePreparedInlineMessage()Bot.save_prepared_inline_message()Bot.sendAnimation()Bot.sendAudio()Bot.sendChatAction()Bot.sendChecklist()Bot.sendContact()Bot.sendDice()Bot.sendDocument()Bot.sendGame()Bot.sendGift()Bot.sendInvoice()Bot.sendLocation()Bot.sendMediaGroup()Bot.sendMessage()Bot.sendPaidMedia()Bot.sendPhoto()Bot.sendPoll()Bot.sendSticker()Bot.sendVenue()Bot.sendVideo()Bot.sendVideoNote()Bot.sendVoice()Bot.send_animation()Bot.send_audio()Bot.send_chat_action()Bot.send_checklist()Bot.send_contact()Bot.send_dice()Bot.send_document()Bot.send_game()Bot.send_gift()Bot.send_invoice()Bot.send_location()Bot.send_media_group()Bot.send_message()Bot.send_paid_media()Bot.send_photo()Bot.send_poll()Bot.send_sticker()Bot.send_venue()Bot.send_video()Bot.send_video_note()Bot.send_voice()Bot.setBusinessAccountBio()Bot.setBusinessAccountGiftSettings()Bot.setBusinessAccountName()Bot.setBusinessAccountProfilePhoto()Bot.setBusinessAccountUsername()Bot.setChatAdministratorCustomTitle()Bot.setChatDescription()Bot.setChatMenuButton()Bot.setChatPermissions()Bot.setChatPhoto()Bot.setChatStickerSet()Bot.setChatTitle()Bot.setCustomEmojiStickerSetThumbnail()Bot.setGameScore()Bot.setMessageReaction()Bot.setMyCommands()Bot.setMyDefaultAdministratorRights()Bot.setMyDescription()Bot.setMyName()Bot.setMyShortDescription()Bot.setPassportDataErrors()Bot.setStickerEmojiList()Bot.setStickerKeywords()Bot.setStickerMaskPosition()Bot.setStickerPositionInSet()Bot.setStickerSetThumbnail()Bot.setStickerSetTitle()Bot.setUserEmojiStatus()Bot.setWebhook()Bot.set_business_account_bio()Bot.set_business_account_gift_settings()Bot.set_business_account_name()Bot.set_business_account_profile_photo()Bot.set_business_account_username()Bot.set_chat_administrator_custom_title()Bot.set_chat_description()Bot.set_chat_menu_button()Bot.set_chat_permissions()Bot.set_chat_photo()Bot.set_chat_sticker_set()Bot.set_chat_title()Bot.set_custom_emoji_sticker_set_thumbnail()Bot.set_game_score()Bot.set_message_reaction()Bot.set_my_commands()Bot.set_my_default_administrator_rights()Bot.set_my_description()Bot.set_my_name()Bot.set_my_short_description()Bot.set_passport_data_errors()Bot.set_sticker_emoji_list()Bot.set_sticker_keywords()Bot.set_sticker_mask_position()Bot.set_sticker_position_in_set()Bot.set_sticker_set_thumbnail()Bot.set_sticker_set_title()Bot.set_user_emoji_status()Bot.set_webhook()Bot.shutdown()Bot.stopMessageLiveLocation()Bot.stopPoll()Bot.stop_message_live_location()Bot.stop_poll()Bot.supports_inline_queriesBot.to_dict()Bot.tokenBot.transferBusinessAccountStars()Bot.transferGift()Bot.transfer_business_account_stars()Bot.transfer_gift()Bot.unbanChatMember()Bot.unbanChatSenderChat()Bot.unban_chat_member()Bot.unban_chat_sender_chat()Bot.unhideGeneralForumTopic()Bot.unhide_general_forum_topic()Bot.unpinAllChatMessages()Bot.unpinAllForumTopicMessages()Bot.unpinAllGeneralForumTopicMessages()Bot.unpinChatMessage()Bot.unpin_all_chat_messages()Bot.unpin_all_forum_topic_messages()Bot.unpin_all_general_forum_topic_messages()Bot.unpin_chat_message()Bot.upgradeGift()Bot.upgrade_gift()Bot.uploadStickerFile()Bot.upload_sticker_file()Bot.usernameBot.verifyChat()Bot.verifyUser()Bot.verify_chat()Bot.verify_user()
ConfigInlineKeyboardButtonInlineKeyboardButton.textInlineKeyboardButton.urlInlineKeyboardButton.login_urlInlineKeyboardButton.callback_dataInlineKeyboardButton.web_appInlineKeyboardButton.switch_inline_queryInlineKeyboardButton.switch_inline_query_current_chatInlineKeyboardButton.copy_textInlineKeyboardButton.callback_gameInlineKeyboardButton.payInlineKeyboardButton.switch_inline_query_chosen_chatInlineKeyboardButton.MAX_CALLBACK_DATAInlineKeyboardButton.MIN_CALLBACK_DATAInlineKeyboardButton.callback_dataInlineKeyboardButton.callback_gameInlineKeyboardButton.copy_textInlineKeyboardButton.de_json()InlineKeyboardButton.login_urlInlineKeyboardButton.payInlineKeyboardButton.switch_inline_queryInlineKeyboardButton.switch_inline_query_chosen_chatInlineKeyboardButton.switch_inline_query_current_chatInlineKeyboardButton.textInlineKeyboardButton.update_callback_data()InlineKeyboardButton.urlInlineKeyboardButton.web_app
InlineKeyboardMarkupPendingPostPendingPost.admin_group_idPendingPost.create()PendingPost.credit_usernamePendingPost.datePendingPost.delete_post()PendingPost.from_group()PendingPost.from_user()PendingPost.g_message_idPendingPost.get_all()PendingPost.get_credit_username()PendingPost.get_list_admin_votes()PendingPost.get_votes()PendingPost.save_post()PendingPost.set_admin_vote()PendingPost.u_message_idPendingPost.user_id
get_approve_kb()get_autoreply_kb()get_confirm_kb()get_paused_kb()get_post_outcome_kb()get_preview_kb()get_published_post_kb()get_settings_kb()islicezip_longest
- spotted.utils.utils module
UserUser.ban()User.ban_dateUser.banned_users()User.become_anonym()User.become_credited()User.credited_users()User.follow_dateUser.following_users()User.get_follow_private_message_id()User.get_n_warns()User.get_user_sign()User.is_bannedUser.is_creditedUser.is_following()User.is_mutedUser.is_pendingUser.is_warn_bannableUser.mute()User.mute_dateUser.mute_expire_dateUser.muted_users()User.private_message_idUser.sban()User.set_follow()User.unmute()User.user_idUser.warn()
get_user_by_id_or_index()