INNER CODE UNIT · Go

AcceptTOSNotice

krypton-byte/neonize · goneonize/main.go:452

func AcceptTOSNotice(id *C.char, noticeID *C.char, stage *C.char) *C.char {
	err := clients[C.GoString(id)].AcceptTOSNotice(context.Background(), C.GoString(noticeID), C.GoString(stage))
	if err != nil {
		return C.CString(err.Error())
	}
	return C.CString("")
}

//export TestStruct
func TestStruct() *C.struct_BytesReturn {
	data := defproto.SendRequestExtra{
		ID: proto.String("test-id"),
		InlineBotJID: &defproto.JID{
			User:       proto.String("test-user"),
			Server:     proto.String("test-server"),
			RawAgent:   proto.Uint32(0),
			Device:     proto.Uint32(0),
			Integrator: proto.Uint32(0),

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…