utils

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 19, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetChatRef

func GetChatRef(ref string) chats.ChatRef

GetChatRef returns a ChatRef for either group chat or one on one chat based on if given ref is an email

func IsLikelyEmail

func IsLikelyEmail(s string) bool

IsLikelyEmail checks if the given string is likely an email address

func IsLikelyGroupChatID

func IsLikelyGroupChatID(s string) bool

IsLikelyGroupChatID checks if the given string is likely a group chat ID

func IsLikelyOneOnOneChatID

func IsLikelyOneOnOneChatID(s string) bool

IsLikelyOneOnOneChatID checks if the given string is likely a one-on-one chat ID

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL