MCPcopy Create free account

hub / github.com/teamgram/teamgram-server / functions

Functions12,214 in github.com/teamgram/teamgram-server

↓ 5 callersMethodGetPeerType
()
app/service/biz/user/user/user.tl.pb.go:3147
↓ 5 callersMethodGetPhotoId
()
app/service/media/media/media.tl.pb.go:593
↓ 5 callersMethodGetProxy
()
app/service/authsession/authsession/authsession.tl.pb.go:434
↓ 5 callersMethodGetQ
()
app/service/biz/user/user/user.tl.pb.go:5413
↓ 5 callersMethodGetSystemLangCode
()
app/service/authsession/authsession/authsession.tl.pb.go:413
↓ 5 callersMethodGetSystemVersion
()
app/service/authsession/authsession/authsession.tl.pb.go:399
↓ 5 callersMethodGetUnpin
()
app/messenger/msg/msg/msg/msg.tl.pb.go:1586
↓ 5 callersMethodGetUnpin
()
app/messenger/msg/inbox/inbox/inbox.tl.pb.go:1330
↓ 5 callersMethodGetUserPrivacyRules
(ctx context.Context, id int64, key int32)
app/service/biz/user/internal/dao/user_privacy.go:157
↓ 5 callersMethodGetVideo
()
app/service/media/media/media.tl.pb.go:530
↓ 5 callersMethodGetVideoStartTs
()
app/service/media/media/media.tl.pb.go:537
↓ 5 callersMethodInboxDeleteChatHistoryToInbox
(ctx context.Context, in *TLInboxDeleteChatHistoryToInbox, opts ...grpc.CallOption)
app/messenger/msg/inbox/inbox/inbox.tl_grpc.pb.go:60
↓ 5 callersMethodInboxDeleteMessagesToInbox
(ctx context.Context, in *TLInboxDeleteMessagesToInbox, opts ...grpc.CallOption)
app/messenger/msg/inbox/inbox/inbox.tl_grpc.pb.go:58
↓ 5 callersMethodInboxDeleteUserHistoryToInbox
(ctx context.Context, in *TLInboxDeleteUserHistoryToInbox, opts ...grpc.CallOption)
app/messenger/msg/inbox/inbox/inbox.tl_grpc.pb.go:59
↓ 5 callersMethodInboxEditChatMessageToInbox
(ctx context.Context, in *TLInboxEditChatMessageToInbox, opts ...grpc.CallOption)
app/messenger/msg/inbox/inbox/inbox.tl_grpc.pb.go:57
↓ 5 callersMethodInboxEditUserMessageToInbox
(ctx context.Context, in *TLInboxEditUserMessageToInbox, opts ...grpc.CallOption)
app/messenger/msg/inbox/inbox/inbox.tl_grpc.pb.go:56
↓ 5 callersMethodInboxReadChatMediaUnreadToInbox
(ctx context.Context, in *TLInboxReadChatMediaUnreadToInbox, opts ...grpc.CallOption)
app/messenger/msg/inbox/inbox/inbox.tl_grpc.pb.go:62
↓ 5 callersMethodInboxReadUserMediaUnreadToInbox
(ctx context.Context, in *TLInboxReadUserMediaUnreadToInbox, opts ...grpc.CallOption)
app/messenger/msg/inbox/inbox/inbox.tl_grpc.pb.go:61
↓ 5 callersMethodInboxSendChatMessageToInbox
(ctx context.Context, in *TLInboxSendChatMessageToInbox, opts ...grpc.CallOption)
app/messenger/msg/inbox/inbox/inbox.tl_grpc.pb.go:53
↓ 5 callersMethodInboxSendChatMultiMessageToInbox
(ctx context.Context, in *TLInboxSendChatMultiMessageToInbox, opts ...grpc.CallOption)
app/messenger/msg/inbox/inbox/inbox.tl_grpc.pb.go:55
↓ 5 callersMethodInboxSendUserMessageToInbox
(ctx context.Context, in *TLInboxSendUserMessageToInbox, opts ...grpc.CallOption)
app/messenger/msg/inbox/inbox/inbox.tl_grpc.pb.go:52
↓ 5 callersMethodInboxSendUserMultiMessageToInbox
(ctx context.Context, in *TLInboxSendUserMultiMessageToInbox, opts ...grpc.CallOption)
app/messenger/msg/inbox/inbox/inbox.tl_grpc.pb.go:54
↓ 5 callersMethodInboxUnpinAllMessages
(ctx context.Context, in *TLInboxUnpinAllMessages, opts ...grpc.CallOption)
app/messenger/msg/inbox/inbox/inbox.tl_grpc.pb.go:65
↓ 5 callersMethodInboxUpdateHistoryReaded
(ctx context.Context, in *TLInboxUpdateHistoryReaded, opts ...grpc.CallOption)
app/messenger/msg/inbox/inbox/inbox.tl_grpc.pb.go:63
↓ 5 callersMethodInboxUpdatePinnedMessage
(ctx context.Context, in *TLInboxUpdatePinnedMessage, opts ...grpc.CallOption)
app/messenger/msg/inbox/inbox/inbox.tl_grpc.pb.go:64
↓ 5 callersMethodInsert
Insert insert into chats(creator_user_id, access_hash, random_id, participant_count, title, about, default_banned_rights, `date`) values (:creator_use
app/service/biz/chat/internal/dal/dao/mysql_dao/chats_dao.go:36
↓ 5 callersMethodInsert
Insert insert into auth_seq_updates(auth_id, user_id, seq, update_type, update_data, date2) values (:auth_id, :user_id, :seq, :update_type, :update_da
app/messenger/sync/internal/dal/dao/mysql_dao/auth_seq_updates_dao.go:36
↓ 5 callersFunctionMakePhoneNumberHelper
(number, region string)
pkg/phonenumber/phone_number_helper.go:32
↓ 5 callersFunctionMakeTLRecentChatInviteRequesters
MakeTLRecentChatInviteRequesters
app/service/biz/chat/chat/codec_schema.tl.pb.go:865
↓ 5 callersMethodMediaGetDocument
(ctx context.Context, in *media.TLMediaGetDocument)
app/service/media/client/media_client.go:32
↓ 5 callersFunctionNew
(ctx context.Context, svcCtx *svc.ServiceContext)
app/bff/users/internal/core/core.go:37
↓ 5 callersFunctionNew
(ctx context.Context, svcCtx *svc.ServiceContext)
app/bff/photos/internal/core/core.go:37
↓ 5 callersFunctionNew
(ctx context.Context, svcCtx *svc.ServiceContext)
app/bff/usernames/internal/core/core.go:37
↓ 5 callersMethodSavePhotoSizeV2
(ctx context.Context, szId int64, szList []*mtproto.PhotoSize)
app/service/media/internal/dao/photo.go:223
↓ 5 callersMethodSelectByLink
SelectByLink select id, chat_id, admin_id, link, permanent, revoked, request_needed, start_date, expire_date, usage_limit, usage2, requested, title, d
app/service/biz/chat/internal/dal/dao/mysql_dao/chat_invites_dao.go:140
↓ 5 callersMethodSelectDialog
SelectDialog select id, user_id, peer_type, peer_id, peer_dialog_id, pinned, top_message, pinned_msg_id, read_inbox_max_id, read_outbox_max_id, unread
app/service/biz/dialog/internal/dal/dao/mysql_dao/dialogs_dao.go:490
↓ 5 callersMethodSetFileInfo
(ctx context.Context, fileInfo *model.DfsFileInfo)
app/service/dfs/internal/dao/dfs_file_info.go:30
↓ 5 callersMethodSetOutputFormat
(val string)
pkg/goffmpeg/models/media.go:301
↓ 5 callersMethodString
()
app/service/status/status/status.tl.pb.go:1067
↓ 5 callersMethodString
()
app/service/dfs/internal/imaging/jpeg/dct_test.go:183
↓ 5 callersMethodString
()
app/messenger/sync/sync/sync.tl.pb.go:77
↓ 5 callersMethodSyncUpdatesMe
(ctx context.Context, in *sync.TLSyncUpdatesMe)
app/messenger/sync/client/sync_client.go:25
↓ 5 callersMethodTo_ChatInvite
To_ChatInvite
app/service/biz/chat/chat/codec_schema.tl.pb.go:335
↓ 5 callersMethodTo_Difference
To_Difference
app/service/biz/updates/updates/codec_schema.tl.pb.go:385
↓ 5 callersMethodTo_RecentChatInviteRequesters
To_RecentChatInviteRequesters
app/service/biz/chat/chat/codec_schema.tl.pb.go:857
↓ 5 callersMethodTo_SessionClientEvent
To_SessionClientEvent
app/interface/session/session/codec_schema.tl.pb.go:471
↓ 5 callersFunctionUnThreadSafeWrite
(c gnet.Conn, msg interface{})
app/interface/gnetway/internal/server/server_gnet.go:352
↓ 5 callersMethodUpdateCustomMapTx
UpdateCustomMapTx update dialogs set %s where user_id = :user_id and peer_type = :peer_type and peer_id = :peer_id TODO(@benqi): sqlmap
app/service/biz/dialog/internal/dal/dao/mysql_dao/dialogs_dao.go:975
↓ 5 callersMethodUpdatePinnedMsgId
UpdatePinnedMsgId update dialogs set pinned_msg_id = :pinned_msg_id where user_id = :user_id and peer_dialog_id = :peer_dialog_id TODO(@benqi): sqlmap
app/service/biz/dialog/internal/dal/dao/mysql_dao/dialogs_dao.go:814
↓ 5 callersMethodUpdateUser
UpdateUser update users set %s where id = :id TODO(@benqi): sqlmap
app/service/biz/user/internal/dal/dao/mysql_dao/users_dao.go:917
↓ 5 callersMethodensureNBits
ensureNBits reads bytes from the byte buffer to ensure that d.bits.n is at least n. For best performance (avoiding function calls inside hot loops), t
app/service/dfs/internal/imaging/jpeg/huffman.go:48
↓ 5 callersMethodfindImmutableUser
(id int64)
app/service/biz/user/user/mutable_users.go:45
↓ 5 callersMethodgetGatewayId
()
app/interface/session/internal/sess/session.go:204
↓ 5 callersMethodgetSessionClient
(key string)
app/interface/gateway/internal/server/session.go:139
↓ 5 callersMethodgetTempAuthKeyId
(ctx context.Context)
app/interface/session/internal/sess/session.go:104
↓ 5 callersMethodreadByte
readByte returns the next byte, whether buffered or not buffered. It does not care about byte stuffing.
app/service/dfs/internal/imaging/jpeg/reader.go:193
↓ 5 callersMethodsendDirectToGateway
(ctx context.Context, gatewayId string, confirm bool, obj mtproto.TLObject, cb func(sentRaw *mtproto.TLMessage
app/interface/session/internal/sess/session.go:577
↓ 5 callersMethodsendQueueToGateway
(ctx context.Context, gatewayId string)
app/interface/session/internal/sess/session.go:659
↓ 5 callersMethodsessionOnline
()
app/interface/session/internal/sess/session.go:415
↓ 4 callersMethodAuthsessionSetAuthKey
(ctx context.Context, in *authsession.TLAuthsessionSetAuthKey)
app/service/authsession/client/authsession_client.go:35
↓ 4 callersMethodChatGetUsersChatIdList
(ctx context.Context, in *chat.TLChatGetUsersChatIdList)
app/service/biz/chat/client/chat_client.go:41
↓ 4 callersFunctionCheckAndGetPhoneNumber
Check number receive from client : "+86 111 1111 1111", need normalize
pkg/phonenumber/phone_number_helper.go:80
↓ 4 callersMethodCheckBlocked
(ctx context.Context, id, blockedId int64)
app/service/biz/user/internal/dao/user_block.go:52
↓ 4 callersMethodClientIp
()
app/service/authsession/internal/dao/auths.go:100
↓ 4 callersFunctionConfigure
Configure Get and set FFmpeg and FFprobe bin paths
pkg/goffmpeg/ffmpeg/ffmpeg.go:17
↓ 4 callersMethodConvertToMp4ByPipe
(gifPath string, dstW, dstH int)
app/service/dfs/internal/ffmpegutil/ffmpeg_util.go:121
↓ 4 callersMethodCreateOutputPipe
CreateOutputPipe creates an output pipe for the transcoding process
pkg/goffmpeg/transcoder/transcoder.go:144
↓ 4 callersMethodCurrentSeqId
(ctx context.Context, key int64)
app/service/idgen/client/idgen_client2.go:154
↓ 4 callersMethodDelete
Delete update users set phone = :phone, deleted = 1, delete_reason = :delete_reason where id = :id TODO(@benqi): sqlmap
app/service/biz/user/internal/dal/dao/mysql_dao/users_dao.go:504
↓ 4 callersMethodDeleteByAuthKeyId
(authKeyId int64)
app/interface/session/internal/sess/auth_sessions_manager.go:53
↓ 4 callersMethodDeleteByMessageIdList
(ctx context.Context, userId int64, idList []int32)
app/messenger/msg/internal/dao/msg.go:31
↓ 4 callersFunctionDurToSec
(dur string)
pkg/goffmpeg/utils/utils.go:13
↓ 4 callersFunctionGenChatInviteHash
()
app/service/biz/chat/chat/chat_invite_helper.go:47
↓ 4 callersMethodGetApproved
()
app/service/biz/chat/chat/chat.tl.pb.go:3232
↓ 4 callersMethodGetAuthKeyId
()
app/messenger/sync/sync/sync.tl.pb.go:158
↓ 4 callersMethodGetAuthSessions
(authKeyId int64)
app/interface/session/internal/sess/auth_sessions_manager.go:41
↓ 4 callersMethodGetBytes
()
app/service/dfs/dfs/dfs.tl.pb.go:185
↓ 4 callersMethodGetClientIp
()
app/interface/session/session/session.tl.pb.go:326
↓ 4 callersMethodGetCommand
GetCommand Build and get command
pkg/goffmpeg/transcoder/transcoder.go:80
↓ 4 callersMethodGetDate
()
app/service/biz/dialog/dialog/dialog.tl.pb.go:293
↓ 4 callersFunctionGetInviteHashByLink
(link string)
app/service/biz/chat/chat/chat_invite_helper.go:55
↓ 4 callersMethodGetIp
()
app/service/authsession/authsession/authsession.tl.pb.go:371
↓ 4 callersMethodGetJustClear
()
app/messenger/msg/msg/msg/msg.tl.pb.go:1264
↓ 4 callersMethodGetLastSeenAt
(ctx context.Context, id int64)
app/service/biz/user/internal/dao/user_status.go:60
↓ 4 callersMethodGetMediaType
()
app/service/biz/message/message/message.tl.pb.go:1157
↓ 4 callersMethodGetMinMsgId
()
app/interface/session/internal/sess/session_inbound_queue.go:269
↓ 4 callersMethodGetNormalizeDigits
()
pkg/phonenumber/phone_number_helper.go:65
↓ 4 callersMethodGetOffsetDate
()
app/service/biz/chat/chat/chat.tl.pb.go:2352
↓ 4 callersMethodGetOrFetchNewSalt
(ctx context.Context, authKeyId int64)
app/interface/session/internal/dao/auth_cache.go:342
↓ 4 callersMethodGetOrder
()
app/service/biz/dialog/dialog/dialog.tl.pb.go:272
↓ 4 callersMethodGetPayload
()
app/interface/session/session/session.tl.pb.go:171
↓ 4 callersMethodGetPredicateName
()
app/service/biz/updates/updates/updates.tl.pb.go:288
↓ 4 callersMethodGetPtsTotalLimit
()
app/service/biz/updates/updates/updates.tl.pb.go:663
↓ 4 callersMethodGetRecentRequesters
()
app/service/biz/chat/chat/chat.tl.pb.go:647
↓ 4 callersMethodGetRules
()
app/service/biz/user/user/user.tl.pb.go:2042
↓ 4 callersMethodGetSessionId
()
app/messenger/sync/sync/sync.tl.pb.go:172
↓ 4 callersMethodGetStickers
()
app/service/media/media/media.tl.pb.go:450
↓ 4 callersMethodGetUnsafeUser
(selfId, id int64)
app/service/biz/user/user/mutable_users.go:13
↓ 4 callersMethodGetUpdates
()
app/messenger/sync/sync/sync.tl.pb.go:179
↓ 4 callersMethodGetUserId
()
app/service/authsession/authsession/authsession.tl.pb.go:213
← previousnext →301–400 of 12,214, ranked by callers