Create new VerificationLevel VerificationLevelVeryHigh

Closes #677
This commit is contained in:
Julian Y 2019-08-03 23:48:24 -07:00 committed by GitHub
parent 8d8906ce4b
commit 8713b45ae7
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