Skip to main content

widgets_section_entry

Function widgets_section_entry 

Source
pub(crate) async fn widgets_section_entry(
    st: &AppState,
    req: WidgetSectionEntryReq,
) -> Result<WidgetSectionEntryResult, String>
Expand description

widgets.sectionentry: “Pin this section to the widget bar”. Adds the section’s entry to the user’s widgets.json and applies it before answering, so the bar can pin it at once.