diff --git a/apps/docs/packages/telegram-apps-sdk/2-x/components/init-data.md b/apps/docs/packages/telegram-apps-sdk/2-x/components/init-data.md index 061917e25..8a44c3d68 100644 --- a/apps/docs/packages/telegram-apps-sdk/2-x/components/init-data.md +++ b/apps/docs/packages/telegram-apps-sdk/2-x/components/init-data.md @@ -34,7 +34,7 @@ To parse the value as init data, use the `parseInitData` function. ```ts import { parseInitData } from '@telegram-apps/sdk'; -const initData = parseInitData(); +const initData = parseInitData('auth_date=123&query_id=anQQ231vs&...'); // { // user: { // id: 99281932,