File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -4,6 +4,8 @@ import type { Telegraf } from 'telegraf';
44import type { Context } from 'telegraf' ;
55import type { MessageManager } from './messageManager' ;
66import type { TelegramService } from './service' ;
7+ import type { TelegramContent , } from './types' ;
8+
79
810const TEST_IMAGE_URL =
911 'https://github.com/elizaOS/awesome-eliza/blob/main/assets/eliza-logo.jpg?raw=true' ;
@@ -143,7 +145,7 @@ export class TelegramTestSuite implements TestSuite {
143145 ] ,
144146 } ;
145147
146- await this . messageManager . sendMessageInChunks ( mockContext as Context , messageContent ) ;
148+ await this . messageManager . sendMessageInChunks ( mockContext as Context , messageContent as TelegramContent ) ;
147149
148150 logger . success ( 'Message with image attachment sent successfully.' ) ;
149151 } catch ( error ) {
You can’t perform that action at this time.
0 commit comments