Build 533169stable
Module 335759
410 characters · in 2f9baa53e1c5e105.jsDependencies
Source Raw
function(e,t,n){n.d(t,{Q:()=>r,w:()=>s});var i=n(562465),a=n(198982),l=n(652215);async function r(e){let{channelId:t,messageId:n,answerIds:r}=e;try{await i.Bo.put({url:l.Rsh.POLL_ANSWERS(t,n),body:{answer_ids:r},rejectWithError:!1})}catch(e){throw new a.LG(e)}}async function s(e){let{channelId:t,messageId:n}=e;try{await i.Bo.post({url:l.Rsh.POLL_EXPIRE(t,n),rejectWithError:!1})}catch(e){throw new a.LG(e)}}}