Forráskód Böngészése

Merge pull request #680 from jyap808/patch-1

Create new VerificationLevel VerificationLevelVeryHigh
bwmarrin 5 éve
szülő
commit
638303f174
1 módosított fájl, 2 hozzáadás és 1 törlés
  1. 2 1
      structs.go

+ 2 - 1
structs.go

@@ -312,12 +312,13 @@ func (e *Emoji) APIName() string {
 // VerificationLevel type definition
 type VerificationLevel int
 
-// Constants for VerificationLevel levels from 0 to 3 inclusive
+// Constants for VerificationLevel levels from 0 to 4 inclusive
 const (
 	VerificationLevelNone VerificationLevel = iota
 	VerificationLevelLow
 	VerificationLevelMedium
 	VerificationLevelHigh
+	VerificationLevelVeryHigh
 )
 
 // ExplicitContentFilterLevel type definition