protocol/messenger_contact_verification.go
Messenger
has 24 methods (exceeds 21 allowed). Consider refactoring. Open
Open
func (m *Messenger) SendContactVerificationRequest(ctx context.Context, contactID string, challenge string) (*MessengerResponse, error) {
if len(challenge) < minContactVerificationMessageLen || len(challenge) > maxContactVerificationMessageLen {
return nil, errors.New("invalid verification request challenge length")
}
File messenger_contact_verification.go
has 916 lines of code (exceeds 900 allowed). Consider refactoring. Open
Open
package protocol
import (
"context"
"strings"