get_user_content_url() function
Get a user content URL.
This function can be used if you need to deliver dynamic content to your page: you can create
a path at run-time that, when queried, will deliver some user-defined content defined in the
on_user_content callback (see the description of the Gui
class for more information).
Parameters:
Name | Type | Description | Default |
---|---|---|---|
|
State
|
The current user state as received in any callback. |
required |
|
Optional[str]
|
An optional additional path to the URL. |
None
|
|
Optional[Dict[str, str]]
|
An optional dictionary sent to the on_user_content callback. |
None
|
Returns:
Type | Description |
---|---|
Optional[str]
|
An URL that, when queried, triggers the on_user_content callback. |