refactor(logging): use context logger in MsgContext

This commit is contained in:
2026-03-24 14:02:51 +03:00
parent 7776acaf12
commit 401173714e
4 changed files with 24 additions and 26 deletions
+1 -1
View File
@@ -48,7 +48,7 @@ func TestAnswerPhotoIncludesDirectMessagesTopicID(t *testing.T) {
Chat: &tgapi.Chat{ID: 42, Type: string(tgapi.ChatTypePrivate)},
DirectMessageTopic: &tgapi.DirectMessageTopic{TopicID: 77},
},
botLogger: slog.CreateLogger(),
Logger: slog.CreateLogger(),
}
answer := ctx.AnswerPhoto("photo-id", "caption")