File tree Expand file tree Collapse file tree
Lagrange.Core.NativeAPI/NativeModel/Event Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -15,6 +15,9 @@ public BotGroupNudgeEventStruct() { }
1515 public long OperatorUin = 0 ;
1616
1717 public ByteArrayNative Action = new ( ) ;
18+
19+ public ByteArrayNative ActionImgUrl = new ( ) ;
20+
1821 public long TargetUin = 0 ;
1922
2023 public ByteArrayNative Suffix = new ( ) ;
@@ -25,6 +28,7 @@ public static implicit operator BotGroupNudgeEvent(BotGroupNudgeEventStruct e)
2528 e . GroupUin ,
2629 e . OperatorUin ,
2730 Encoding . UTF8 . GetString ( e . Action ) ,
31+ Encoding . UTF8 . GetString ( e . ActionImgUrl ) ,
2832 e . TargetUin ,
2933 Encoding . UTF8 . GetString ( e . Suffix )
3034 ) ;
@@ -37,6 +41,7 @@ public static implicit operator BotGroupNudgeEventStruct(BotGroupNudgeEvent e)
3741 GroupUin = e . GroupUin ,
3842 OperatorUin = e . OperatorUin ,
3943 Action = Encoding . UTF8 . GetBytes ( e . Action ) ,
44+ ActionImgUrl = Encoding . UTF8 . GetBytes ( e . ActionImageUrl ) ,
4045 TargetUin = e . TargetUin ,
4146 Suffix = Encoding . UTF8 . GetBytes ( e . Suffix )
4247 } ;
You can’t perform that action at this time.
0 commit comments