Skip to content

Commit

Permalink
Fix broken web chat - cannot read properties of undefined
Browse files Browse the repository at this point in the history
  • Loading branch information
JayDi85 authored Sep 27, 2023
1 parent 9869494 commit d3a6cea
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/addons/fakectx.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,11 @@ const fakectx: Context = {
username: 'webuser',
type: 'private',
},
session: {} as SessionData,
session: {
group: '',
groupTag: '',
groupCategory: null
} as SessionData,
callbackQuery: {
data: '',
from: {
Expand Down

0 comments on commit d3a6cea

Please sign in to comment.