Documentation
¶
Index ¶
- Variables
- func CreateUid() string
- func DoHTTPRequest(method string, url string) ([]byte, error)
- func GetQuotedText(m *events.Message) string
- func IsValidUrl(s string) bool
- func JIDToString(jidStr any) (result string, err error)
- func ParseAllJid(jid any) (pJid waTypes.JID, err error)
- func ParseArgs(str string) []string
- func ParseCmd(str string) (prefix string, cmd string, ok bool)
- func ParseGroupJid(jid any) (pJid waTypes.JID, err error)
- func ParseJID(arg string) (waTypes.JID, bool)
- func ParseMentionedJid(m *waProto.Message) []string
- func ParseMessageText(m *events.Message) string
- func ParseQuotedBy(m *waProto.Message, str string) *waProto.Message
- func ParseQuotedMessage(m *waProto.Message) *waProto.Message
- func ParseQuotedMessageId(m *waProto.Message) *string
- func ParseQuotedRemoteJid(m *waProto.Message) *string
- func ParseUserJid(jid any) (pJid waTypes.JID, err error)
- func RemoveDuplicate[T string | int](sliceList []T) []T
- func RemoveElementByIndex[T []any](slice []T, index int) []T
- func StringIsOnSlice(target string, slice []string) bool
- func WithReply(m *events.Message) *waProto.ContextInfo
Constants ¶
This section is empty.
Variables ¶
View Source
var ListPrefixes = []string{"!", "/", "#", "?", ".", "@", "&", "*", "-", "=", "+"}
Functions ¶
func GetQuotedText ¶
func IsValidUrl ¶
func JIDToString ¶
func ParseMentionedJid ¶
func ParseMessageText ¶
func ParseQuotedMessageId ¶
func ParseQuotedRemoteJid ¶
func RemoveDuplicate ¶ added in v1.2.0
func RemoveElementByIndex ¶
func StringIsOnSlice ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.