mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-11-04 03:13:15 +08:00
11 lines
239 B
Go
11 lines
239 B
Go
package widget
|
|
|
|
import (
|
|
"context"
|
|
|
|
pbChat "Open_IM/pkg/proto/chat"
|
|
)
|
|
|
|
// BeforeSendHandler handles custom logic before send msg.
|
|
type BeforeSendHandler func(ctx context.Context, pb *pbChat.SendMsgReq) (*pbChat.SendMsgResp, bool, error)
|