diff --git a/src/webhooks/webhooks/telegram.ts b/src/webhooks/webhooks/telegram.ts index caec6ca..81247ec 100644 --- a/src/webhooks/webhooks/telegram.ts +++ b/src/webhooks/webhooks/telegram.ts @@ -79,11 +79,16 @@ export const makeProposalCreated: WebhookMaker = ( const [, proposalNum] = dbKeyToKeys(event.key, [false, true]) const proposalId = `${proposalModule.prefix}${proposalNum}` + const daoUrl = config.daoDaoBase + `/dao/${daoAddress}` + return { apiKey: config.telegramNotifierApiKey, daoName: daoConfig.name, + proposalTitle: event.valueJson.title, + proposalDescription: event.valueJson.description, proposalId, - url: config.daoDaoBase + `/dao/${daoAddress}/proposals/${proposalId}`, + daoUrl, + url: daoUrl + `/proposals/${proposalId}`, } }, })