@@ -10,19 +10,19 @@ public static Task<BotMessage> SendFriendMessage(this BotContext context, long f
1010
1111 public static Task < BotMessage > SendGroupMessage ( this BotContext context , long groupUin , MessageChain chain )
1212 => context . EventContext . GetLogic < MessagingLogic > ( ) . SendGroupMessage ( groupUin , chain ) ;
13-
13+
1414 public static Task < List < BotMessage > > GetGroupMessage ( this BotContext context , long groupUin , ulong startSequence , ulong endSequence )
1515 => context . EventContext . GetLogic < MessagingLogic > ( ) . GetGroupMessage ( groupUin , startSequence , endSequence ) ;
16-
16+
1717 public static Task < List < BotMessage > > GetRoamMessage ( this BotContext context , long friendUin , uint timestamp , uint count )
1818 => context . EventContext . GetLogic < MessagingLogic > ( ) . GetRoamMessage ( friendUin , timestamp , count ) ;
19-
19+
2020 public static Task < List < BotMessage > > GetRoamMessage ( this BotContext context , BotMessage target , uint count )
2121 {
2222 uint timestamp = ( uint ) new DateTimeOffset ( target . Time ) . ToUnixTimeSeconds ( ) ;
2323 return context . EventContext . GetLogic < MessagingLogic > ( ) . GetRoamMessage ( target . Contact . Uin , timestamp , count ) ;
2424 }
25-
25+
2626 public static Task < List < BotMessage > > GetC2CMessage ( this BotContext context , long peerUin , ulong startSequence , ulong endSequence )
2727 => context . EventContext . GetLogic < MessagingLogic > ( ) . GetC2CMessage ( peerUin , startSequence , endSequence ) ;
2828
@@ -32,6 +32,9 @@ public static Task<List<BotMessage>> GetC2CMessage(this BotContext context, long
3232 public static Task < string > SendGroupFile ( this BotContext context , long groupUin , Stream fileStream , string ? fileName = null , string parentDirectory = "/" )
3333 => context . EventContext . GetLogic < OperationLogic > ( ) . SendGroupFile ( groupUin , fileStream , fileName , parentDirectory ) ;
3434
35+ public static Task RecallGroupMessage ( this BotContext context , long groupUin , ulong sequence )
36+ => context . EventContext . GetLogic < MessagingLogic > ( ) . RecallGroupMessage ( groupUin , sequence ) ;
37+
3538 public static Task < string > GroupFSDownload ( this BotContext context , long groupUin , string fileId )
3639 => context . EventContext . GetLogic < OperationLogic > ( ) . GroupFSDownload ( groupUin , fileId ) ;
3740
@@ -49,13 +52,13 @@ public static Task SendGroupNudge(this BotContext context, long peerUin, long ta
4952
5053 public static Task GroupSetSpecialTitle ( this BotContext context , long groupUin , long targetUin , string title )
5154 => context . EventContext . GetLogic < OperationLogic > ( ) . GroupSetSpecialTitle ( groupUin , targetUin , title ) ;
52-
55+
5356 public static Task GroupMemberRename ( this BotContext context , long groupUin , long targetUin , string name )
5457 => context . EventContext . GetLogic < OperationLogic > ( ) . GroupMemberRename ( groupUin , targetUin , name ) ;
5558
5659 public static Task GroupRename ( this BotContext context , long groupUin , string name )
5760 => context . EventContext . GetLogic < OperationLogic > ( ) . GroupRename ( groupUin , name ) ;
58-
61+
5962 public static Task GroupQuit ( this BotContext context , long groupUin )
6063 => context . EventContext . GetLogic < OperationLogic > ( ) . GroupQuit ( groupUin ) ;
6164}
0 commit comments