Documentation ¶
Index ¶
Constants ¶
View Source
const ( DistinctChannelPrefix = "!members-" DefaultMaxMessageLength = 20_000 )
View Source
const ( TypeMessageRegular string = "regular" TypeMessageDeleted string = "deleted" TypeMessageSystem string = "system" TypeMessageReply string = "reply" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Decoder ¶
type Decoder struct {
// contains filtered or unexported fields
}
func NewDecoder ¶
func NewDecoder(r io.ReadSeeker) *Decoder
type ItemError ¶
type ItemError struct {
// contains filtered or unexported fields
}
func (ItemError) MarshalJSON ¶
type Options ¶ added in v1.7.0
type Options func(*option)
func LighterValidationChannelID ¶ added in v1.7.0
func LighterValidationChannelID() Options
type Validator ¶
type Validator struct {
// contains filtered or unexported fields
}
func New ¶
func New(r io.ReadSeeker, roles []*streamchat.Role, channelTypes channelTypeMap, options ...Options) *Validator
Click to show internal directories.
Click to hide internal directories.