aboutsummaryrefslogtreecommitdiff
path: root/telegram/client.go
diff options
context:
space:
mode:
Diffstat (limited to 'telegram/client.go')
-rw-r--r--telegram/client.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/telegram/client.go b/telegram/client.go
index 82f65d0..833d883 100644
--- a/telegram/client.go
+++ b/telegram/client.go
@@ -36,7 +36,7 @@ type Client struct {
client *client.Client
jid string
parameters *client.TdlibParameters
- session *persistence.Session
+ Session *persistence.Session
online bool
logVerbosity client.Option
}
@@ -78,7 +78,7 @@ func NewClient(conf config.TelegramConfig, jid string, session *persistence.Sess
return Client{
parameters: &parameters,
jid: jid,
- session: session,
+ Session: session,
logVerbosity: logVerbosity,
}, nil
}