Merge pull request #680 from jyap808/patch-1

Create new VerificationLevel VerificationLevelVeryHigh
This commit is contained in:
bwmarrin 2019-08-26 15:53:29 -05:00 committed by GitHub
commit 638303f174
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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