MCPcopy Create free account

hub / github.com/Rhymen/go-whatsapp / functions

Functions1,226 in github.com/Rhymen/go-whatsapp

↓ 20 callersMethodGetMessage
()
binary/proto/def.pb.go:5870
↓ 16 callersMethodshouldCallSynchronously
(handler Handler)
handler.go:183
↓ 15 callersMethodwriteJson
writeJson enqueues a json message into the writeChan
write.go:19
↓ 13 callersMethodpushByte
(b byte)
binary/encoder.go:23
↓ 12 callersMethodhandle
(message interface{})
handler.go:188
↓ 11 callersMethodquery
(t, jid, messageId, kind, owner, search string, count, page int)
contact.go:130
↓ 10 callersFunctiongetMessageInfo
(msg *proto.WebMessageInfo)
message.go:237
↓ 10 callersMethodhandleWithCustomHandlers
(message interface{}, handlers []Handler)
handler.go:192
↓ 9 callersMethodGetContextInfo
()
binary/proto/def.pb.go:2042
↓ 9 callersMethodLogin
* Login is the function that creates a new whatsapp session and logs you in. If you do not want to scan the qr code every time, you should save the re
session.go:188
↓ 9 callersFunctiongetMessageContext
(msg *proto.ContextInfo)
message.go:284
↓ 9 callersMethodreadInt8
(littleEndian bool)
binary/decoder.go:59
↓ 8 callersFunctiongetContextInfoProto
(context *ContextInfo)
message.go:294
↓ 8 callersFunctiongetInfoProto
(info *MessageInfo)
message.go:250
↓ 7 callersMethodsetGroup
(t, jid, subject string, participants []string)
contact.go:189
↓ 7 callersMethodwriteBinary
(node binary.Node, metric metric, flag flag, messageTag string)
write.go:47
↓ 6 callersMethodAddHandler
* AddHandler adds an handler to the list of handler that receive dispatched messages. The provided handler must at least implement the Handler interfa
handler.go:158
↓ 6 callersMethodGetUrl
()
binary/proto/def.pb.go:1298
↓ 6 callersMethodRestoreWithSession
TODO: GoDoc * Basically the old RestoreSession functionality */
session.go:326
↓ 5 callersFunctionDownload
(url string, mediaKey []byte, appInfo MediaType, fileLength int)
media.go:21
↓ 5 callersMethodGetFileEncSha256
()
binary/proto/def.pb.go:2007
↓ 5 callersMethodGetFileLength
()
binary/proto/def.pb.go:1979
↓ 5 callersMethodGetFileSha256
()
binary/proto/def.pb.go:1972
↓ 5 callersMethodGetJpegThumbnail
()
binary/proto/def.pb.go:1695
↓ 5 callersMethodGetMediaKey
()
binary/proto/def.pb.go:2000
↓ 5 callersMethodGetMimetype
()
binary/proto/def.pb.go:1958
↓ 5 callersMethodGetTitle
()
binary/proto/def.pb.go:4141
↓ 5 callersMethodGetTitle
()
binary/proto/def.pb.go:4298
↓ 5 callersMethodRead
(jid, id string)
contact.go:106
↓ 5 callersMethodreadByte
()
binary/decoder.go:27
↓ 5 callersMethodwriteString
(tok string, i bool)
binary/encoder.go:111
↓ 5 callersMethodwriteToken
(tok int)
binary/encoder.go:180
↓ 4 callersFunctionDecrypt
* Decrypt is a function that decrypts a given cipher text with a provided key and initialization vector(iv). */
crypto/cbc/cbc.go:29
↓ 4 callersMethodDisconnect
()
conn.go:230
↓ 4 callersFunctionExpand
* Expand expands a given key with the HKDF algorithm. */
crypto/hkdf/hkdf.go:21
↓ 4 callersMethodGetKey
()
binary/proto/def.pb.go:5863
↓ 4 callersFunctionParseProtoMessage
(msg *proto.WebMessageInfo)
message.go:805
↓ 4 callersMethodSend
(msg interface{})
message.go:26
↓ 4 callersMethodUpload
(reader io.Reader, appInfo MediaType)
media.go:149
↓ 4 callersMethodcheckEOS
(length int)
binary/decoder.go:19
↓ 4 callersMethodpushIntN
(value, n int, littleEndian bool)
binary/encoder.go:31
↓ 4 callersMethodreadIntN
(n int, littleEndian bool)
binary/decoder.go:38
↓ 4 callersMethodreadString
(tag int)
binary/decoder.go:168
↓ 3 callersFunctionEncrypt
* Encrypt is a function that encrypts plaintext with a given key and an optional initialization vector(iv). */
crypto/cbc/cbc.go:54
↓ 3 callersMethodGetButton
()
binary/proto/def.pb.go:1418
↓ 3 callersMethodGetCaption
()
binary/proto/def.pb.go:1702
↓ 3 callersMethodGetHydratedButton
()
binary/proto/def.pb.go:1174
↓ 3 callersMethodRestore
*//TODO: GoDoc RestoreWithSession is the function that restores a given session. It will try to reestablish the connection to the WhatsAppWeb servers
session.go:351
↓ 3 callersMethodconnect
connect should be guarded with wsWriteMutex
conn.go:177
↓ 3 callersFunctiondecodeMessages
(n *binary.Node)
chat_history.go:16
↓ 3 callersMethodpushBytes
(bytes []byte)
binary/encoder.go:27
↓ 3 callersMethodreadBytes
(n int)
binary/decoder.go:376
↓ 3 callersMethodreadStringFromChars
(length int)
binary/decoder.go:242
↓ 3 callersMethodwrite
(messageType int, answerMessageTag string, data []byte)
write.go:125
↓ 2 callersMethodError
()
errors.go:33
↓ 2 callersMethodGetAudioMessage
()
binary/proto/def.pb.go:5019
↓ 2 callersMethodGetContactMessage
()
binary/proto/def.pb.go:4991
↓ 2 callersMethodGetConversation
()
binary/proto/def.pb.go:4970
↓ 2 callersMethodGetDatetimeOneof
()
binary/proto/def.pb.go:3367
↓ 2 callersMethodGetDegreesLatitude
()
binary/proto/def.pb.go:1489
↓ 2 callersMethodGetDegreesLongitude
()
binary/proto/def.pb.go:1496
↓ 2 callersMethodGetDocumentMessage
()
binary/proto/def.pb.go:5012
↓ 2 callersMethodGetExtendedTextMessage
()
binary/proto/def.pb.go:5005
↓ 2 callersMethodGetFormat
()
binary/proto/def.pb.go:4418
↓ 2 callersMethodGetId
()
binary/proto/def.pb.go:2923
↓ 2 callersMethodGetImageMessage
()
binary/proto/def.pb.go:4984
↓ 2 callersMethodGetLiveLocationMessage
()
binary/proto/def.pb.go:5082
↓ 2 callersMethodGetLocationMessage
()
binary/proto/def.pb.go:4998
↓ 2 callersMethodGetParamOneof
()
binary/proto/def.pb.go:3455
↓ 2 callersMethodGetParticipant
()
binary/proto/def.pb.go:5215
↓ 2 callersMethodGetSeconds
()
binary/proto/def.pb.go:2613
↓ 2 callersMethodGetStickerMessage
()
binary/proto/def.pb.go:5117
↓ 2 callersMethodGetVideoMessage
()
binary/proto/def.pb.go:5026
↓ 2 callersMethodHandleAudioMessage
(message AudioMessage)
handler.go:57
↓ 2 callersMethodHandleBatteryMessage
(battery BatteryMessage)
handler.go:141
↓ 2 callersMethodHandleChatList
(contacts []Chat)
handler.go:133
↓ 2 callersMethodHandleContactList
(contacts []Contact)
handler.go:125
↓ 2 callersMethodHandleContactMessage
(message ContactMessage)
handler.go:97
↓ 2 callersMethodHandleDocumentMessage
(message DocumentMessage)
handler.go:65
↓ 2 callersMethodHandleError
(err error)
handler.go:20
↓ 2 callersMethodHandleImageMessage
(message ImageMessage)
handler.go:41
↓ 2 callersMethodHandleJsonMessage
(message string)
handler.go:108
↓ 2 callersMethodHandleLiveLocationMessage
(message LiveLocationMessage)
handler.go:73
↓ 2 callersMethodHandleLocationMessage
(message LocationMessage)
handler.go:81
↓ 2 callersMethodHandleNewContact
(contact Contact)
handler.go:149
↓ 2 callersMethodHandleRawMessage
(message *proto.WebMessageInfo)
handler.go:117
↓ 2 callersMethodHandleStickerMessage
(message StickerMessage)
handler.go:89
↓ 2 callersMethodHandleTextMessage
(message TextMessage)
handler.go:33
↓ 2 callersMethodHandleVideoMessage
(message VideoMessage)
handler.go:49
↓ 2 callersFunctionIndexOfSingleToken
(token string)
binary/token/token.go:48
↓ 2 callersFunctionMarshal
(n Node)
binary/node.go:15
↓ 2 callersFunctionNewConnWithOptions
(opt *Options)
conn.go:142
↓ 2 callersFunctionParseNodeMessage
(msg binary.Node)
message.go:878
↓ 2 callersMethodReadNode
()
binary/decoder.go:304
↓ 2 callersMethodString
()
binary/proto/def.pb.go:2852
↓ 2 callersFunctionUnmarshal
(data []byte)
binary/node.go:61
↓ 2 callersMethodWriteNode
(n Node)
binary/encoder.go:84
↓ 2 callersMethoddecryptBinaryMessage
(msg []byte)
read.go:107
↓ 2 callersFunctiongetMediaKeys
(mediaKey []byte, appInfo MediaType)
media.go:61
↓ 2 callersFunctiongetTextMessage
(msg *proto.WebMessageInfo)
message.go:320
next →1–100 of 1,226, ranked by callers