MCPcopy Create free account

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

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

↓ 1 callersMethodSeek
Seek implements the io.Seeker interface.
app/service/dfs/internal/dao/ssdb_reader.go:103
↓ 1 callersMethodSelect
Select select id, creator_user_id, access_hash, participant_count, title, about, photo_id, default_banned_rights, migrated_to_id, migrated_to_access_h
app/service/biz/chat/internal/dal/dao/mysql_dao/chats_dao.go:92
↓ 1 callersMethodSelectAccountDaysTTL
SelectAccountDaysTTL select account_days_ttl from users where id = :id TODO(@benqi): sqlmap
app/service/biz/user/internal/dal/dao/mysql_dao/users_dao.go:758
↓ 1 callersMethodSelectAllWithCB
SelectAllWithCB select id, user_id, peer_type, peer_id, show_previews, silent, mute_until, sound from user_notify_settings where user_id = :user_id an
app/service/biz/user/internal/dal/dao/mysql_dao/user_notify_settings_dao.go:112
↓ 1 callersMethodSelectAuthKeyIdsWithCB
SelectAuthKeyIdsWithCB select id, auth_key_id, user_id, hash, date_created, date_actived from auth_users where user_id = :user_id and deleted = 0 TODO
app/service/authsession/internal/dal/dao/mysql_dao/auth_users_dao.go:136
↓ 1 callersMethodSelectBackwardByOffsetDateLimitWithCB
SelectBackwardByOffsetDateLimitWithCB select user_id, user_message_box_id, dialog_id1, dialog_id2, dialog_message_id, sender_user_id, peer_type, peer_
app/service/biz/message/internal/dal/dao/mysql_dao/messages_dao.go:510
↓ 1 callersMethodSelectBackwardByOffsetIdLimitWithCB
SelectBackwardByOffsetIdLimitWithCB select user_id, user_message_box_id, dialog_id1, dialog_id2, dialog_message_id, sender_user_id, peer_type, peer_id
app/service/biz/message/internal/dal/dao/mysql_dao/messages_dao.go:418
↓ 1 callersMethodSelectBackwardBySendUserIdOffsetIdLimitWithCB
SelectBackwardBySendUserIdOffsetIdLimitWithCB select user_id, user_message_box_id, dialog_id1, dialog_id2, dialog_message_id, sender_user_id, peer_typ
app/service/biz/message/internal/dal/dao/mysql_dao/messages_dao.go:1649
↓ 1 callersMethodSelectBackwardSavedByOffsetDateLimitWithCB
SelectBackwardSavedByOffsetDateLimitWithCB select user_id, user_message_box_id, dialog_id1, dialog_id2, dialog_message_id, sender_user_id, peer_type,
app/service/biz/message/internal/dal/dao/mysql_dao/messages_dao.go:1787
↓ 1 callersMethodSelectBackwardSavedByOffsetIdLimitWithCB
SelectBackwardSavedByOffsetIdLimitWithCB select user_id, user_message_box_id, dialog_id1, dialog_id2, dialog_message_id, sender_user_id, peer_type, pe
app/service/biz/message/internal/dal/dao/mysql_dao/messages_dao.go:1695
↓ 1 callersMethodSelectBackwardUnreadMentionsByOffsetIdLimitWithCB
SelectBackwardUnreadMentionsByOffsetIdLimitWithCB select user_id, user_message_box_id, dialog_id1, dialog_id2, dialog_message_id, sender_user_id, peer
app/service/biz/message/internal/dal/dao/mysql_dao/messages_dao.go:1213
↓ 1 callersMethodSelectBots
SelectBots select id from users where id in (:id_list) and is_bot = 1 TODO(@benqi): sqlmap
app/service/biz/user/internal/dal/dao/mysql_dao/users_dao.go:1213
↓ 1 callersMethodSelectByDocumentId
SelectByDocumentId select id, document_id, access_hash, dc_id, file_path, file_size, uploaded_file_name, ext, mime_type, thumb_id, video_thumb_id, att
app/service/media/internal/dal/dao/mysql_dao/documents_dao.go:116
↓ 1 callersMethodSelectByDocumentIdListWithCB
SelectByDocumentIdListWithCB select id, document_id, access_hash, dc_id, file_path, file_size, uploaded_file_name, ext, mime_type, thumb_id, video_thu
app/service/media/internal/dal/dao/mysql_dao/documents_dao.go:172
↓ 1 callersMethodSelectByGtDate
SelectByGtDate select auth_id, user_id, seq, update_type, update_data, date2 from auth_seq_updates where auth_id = :auth_id and user_id = :user_id and
app/service/biz/updates/internal/dal/dao/mysql_dao/auth_seq_updates_dao.go:162
↓ 1 callersMethodSelectByGtPts
SelectByGtPts select user_id, pts, pts_count, update_type, update_data from user_pts_updates where user_id = :user_id and pts > :pts order by pts asc
app/service/biz/updates/internal/dal/dao/mysql_dao/user_pts_updates_dao.go:116
↓ 1 callersMethodSelectById
SelectById select id, user_type, access_hash, secret_key_id, first_name, last_name, username, phone, country_code, verified, support, scam, fake, prem
app/service/biz/user/internal/dal/dao/mysql_dao/users_dao.go:178
↓ 1 callersMethodSelectByMediaTypeWithCB
SelectByMediaTypeWithCB select user_id, user_message_box_id, dialog_id1, dialog_id2, dialog_message_id, sender_user_id, peer_type, peer_id, random_id,
app/service/biz/message/internal/dal/dao/mysql_dao/messages_dao.go:1029
↓ 1 callersMethodSelectByMessageDataIdUserIdListWithCB
SelectByMessageDataIdUserIdListWithCB select user_id, user_message_box_id, dialog_id1, dialog_id2, dialog_message_id, sender_user_id, peer_type, peer_
app/service/biz/message/internal/dal/dao/mysql_dao/messages_dao.go:335
↓ 1 callersMethodSelectByParticipantId
SelectByParticipantId select id, chat_id, user_id, participant_type, link, inviter_user_id, invited_at, kicked_at, left_at, is_bot, state, date2 from
app/service/biz/chat/internal/dal/dao/mysql_dao/chat_participants_dao.go:298
↓ 1 callersMethodSelectByPeer
SelectByPeer select peer_type, peer_id, username from username where peer_type = :peer_type and peer_id = :peer_id TODO(@benqi): sqlmap
app/service/biz/username/internal/dal/dao/mysql_dao/username_dao.go:346
↓ 1 callersMethodSelectByPeerDialogId
SelectByPeerDialogId 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
app/service/biz/dialog/internal/dal/dao/mysql_dao/dialogs_dao.go:514
↓ 1 callersMethodSelectByPhoneNumber
SelectByPhoneNumber select id, user_type, access_hash, secret_key_id, first_name, last_name, username, phone, country_code, verified, support, scam, f
app/service/biz/user/internal/dal/dao/mysql_dao/users_dao.go:154
↓ 1 callersMethodSelectByRandomId
SelectByRandomId select user_id, user_message_box_id, dialog_id1, dialog_id2, dialog_message_id, sender_user_id, peer_type, peer_id, random_id, messag
app/service/biz/message/internal/dal/dao/mysql_dao/messages_dao.go:112
↓ 1 callersMethodSelectBySlug
SelectBySlug select id, user_id, dialog_filter_id, is_chatlist, joined_by_slug, slug, dialog_filter, order_value, from_suggested from dialog_filters w
app/service/biz/dialog/internal/dal/dao/mysql_dao/dialog_filters_dao.go:98
↓ 1 callersMethodSelectByUserId
SelectByUserId select peer_type, peer_id, username from username where peer_type = 2 and peer_id = :peer_id TODO(@benqi): sqlmap
app/service/biz/username/internal/dal/dao/mysql_dao/username_dao.go:370
↓ 1 callersMethodSelectCountryCode
SelectCountryCode select country_code from users where id = :id TODO(@benqi): sqlmap
app/service/biz/user/internal/dal/dao/mysql_dao/users_dao.go:847
↓ 1 callersMethodSelectDialogLastMessageId
SelectDialogLastMessageId select user_message_box_id from messages where user_id = :user_id and dialog_id1 = :dialog_id1 and dialog_id2 = :dialog_id2
app/service/biz/message/internal/dal/dao/mysql_dao/messages_dao.go:630
↓ 1 callersMethodSelectDialogLastMessageIdNotIdList
SelectDialogLastMessageIdNotIdList select user_message_box_id from messages where user_id = :user_id and dialog_id1 = :dialog_id1 and dialog_id2 = :di
app/service/biz/message/internal/dal/dao/mysql_dao/messages_dao.go:649
↓ 1 callersMethodSelectDialogLastMessageList
SelectDialogLastMessageList select user_id, user_message_box_id, dialog_id1, dialog_id2, dialog_message_id, sender_user_id, peer_type, peer_id, random
app/service/biz/message/internal/dal/dao/mysql_dao/messages_dao.go:755
↓ 1 callersMethodSelectDialogsByGTReadInboxMaxId
SelectDialogsByGTReadInboxMaxId select user_id from dialogs where peer_type = :peer_type and peer_id = :peer_id and read_inbox_max_id >= :read_inbox_m
app/service/biz/dialog/internal/dal/dao/mysql_dao/dialogs_dao.go:906
↓ 1 callersMethodSelectExcludeFolderPinnedDialogsWithCB
SelectExcludeFolderPinnedDialogsWithCB select id, user_id, peer_type, peer_id, peer_dialog_id, pinned, top_message, pinned_msg_id, read_inbox_max_id,
app/service/biz/dialog/internal/dal/dao/mysql_dao/dialogs_dao.go:650
↓ 1 callersMethodSelectForwardByOffsetDateLimitWithCB
SelectForwardByOffsetDateLimitWithCB select user_id, user_message_box_id, dialog_id1, dialog_id2, dialog_message_id, sender_user_id, peer_type, peer_i
app/service/biz/message/internal/dal/dao/mysql_dao/messages_dao.go:556
↓ 1 callersMethodSelectForwardByOffsetIdLimitWithCB
SelectForwardByOffsetIdLimitWithCB select user_id, user_message_box_id, dialog_id1, dialog_id2, dialog_message_id, sender_user_id, peer_type, peer_id,
app/service/biz/message/internal/dal/dao/mysql_dao/messages_dao.go:464
↓ 1 callersMethodSelectForwardSavedByOffsetDateLimitWithCB
SelectForwardSavedByOffsetDateLimitWithCB select user_id, user_message_box_id, dialog_id1, dialog_id2, dialog_message_id, sender_user_id, peer_type, p
app/service/biz/message/internal/dal/dao/mysql_dao/messages_dao.go:1833
↓ 1 callersMethodSelectForwardSavedByOffsetIdLimitWithCB
SelectForwardSavedByOffsetIdLimitWithCB select user_id, user_message_box_id, dialog_id1, dialog_id2, dialog_message_id, sender_user_id, peer_type, pee
app/service/biz/message/internal/dal/dao/mysql_dao/messages_dao.go:1741
↓ 1 callersMethodSelectForwardUnreadMentionsByOffsetIdLimitWithCB
SelectForwardUnreadMentionsByOffsetIdLimitWithCB select user_id, user_message_box_id, dialog_id1, dialog_id2, dialog_message_id, sender_user_id, peer_
app/service/biz/message/internal/dal/dao/mysql_dao/messages_dao.go:1259
↓ 1 callersMethodSelectImportersByPhoneWithCB
SelectImportersByPhoneWithCB select id, importer_user_id, phone, import_first_name, import_last_name from unregistered_contacts where phone = :phone a
app/service/biz/user/internal/dal/dao/mysql_dao/unregistered_contacts_dao.go:112
↓ 1 callersMethodSelectImportersList
SelectImportersList select phone, importers from popular_contacts where phone in (:phoneList) TODO(@benqi): sqlmap
app/service/biz/user/internal/dal/dao/mysql_dao/popular_contacts_dao.go:232
↓ 1 callersMethodSelectLastCreator
SelectLastCreator select id, creator_user_id, access_hash, participant_count, title, about, photo_id, default_banned_rights, migrated_to_id, migrated_
app/service/biz/chat/internal/dal/dao/mysql_dao/chats_dao.go:116
↓ 1 callersMethodSelectListByAdminIdWithCB
SelectListByAdminIdWithCB select id, chat_id, admin_id, link, permanent, revoked, request_needed, start_date, expire_date, usage_limit, usage2, reques
app/service/biz/chat/internal/dal/dao/mysql_dao/chat_invites_dao.go:114
↓ 1 callersMethodSelectListByChatIdWithCB
SelectListByChatIdWithCB select id, chat_id, admin_id, link, permanent, revoked, request_needed, start_date, expire_date, usage_limit, usage2, request
app/service/biz/chat/internal/dal/dao/mysql_dao/chat_invites_dao.go:230
↓ 1 callersMethodSelectListByIdList
SelectListByIdList select id, bot_id, command, description from bot_commands where bot_id in (:id_list) TODO(@benqi): sqlmap
app/service/biz/user/internal/dal/dao/mysql_dao/bot_commands_dao.go:248
↓ 1 callersMethodSelectListByImportedList
SelectListByImportedList select id, user_id, imported_user_id from imported_contacts where user_id = :user_id and deleted = 0 and imported_user_id in
app/service/biz/user/internal/dal/dao/mysql_dao/imported_contacts_dao.go:138
↓ 1 callersMethodSelectListByLinkWithCB
SelectListByLinkWithCB select id, chat_id, link, user_id, requested, approved_by, date2 from chat_invite_participants where link = :link and requested
app/service/biz/chat/internal/dal/dao/mysql_dao/chat_invite_participants_dao.go:112
↓ 1 callersMethodSelectListByPhotoSizeId
SelectListByPhotoSizeId select id, photo_size_id, size_type, width, height, file_size, file_path, cached_type, cached_bytes from photo_sizes where pho
app/service/media/internal/dal/dao/mysql_dao/photo_sizes_dao.go:92
↓ 1 callersMethodSelectListByPhotoSizeIdList
SelectListByPhotoSizeIdList select id, photo_size_id, size_type, width, height, file_size, file_path, cached_type, cached_bytes from photo_sizes where
app/service/media/internal/dal/dao/mysql_dao/photo_sizes_dao.go:138
↓ 1 callersMethodSelectListByPhotoSizeIdWithCB
SelectListByPhotoSizeIdWithCB select id, photo_size_id, size_type, width, height, file_size, file_path, cached_type, cached_bytes from photo_sizes whe
app/service/media/internal/dal/dao/mysql_dao/photo_sizes_dao.go:112
↓ 1 callersMethodSelectListByUserId
SelectListByUserId select id, auth_key_id, user_id, hash, date_created, date_actived from auth_users where user_id = :user_id and deleted = 0 TODO(@be
app/service/authsession/internal/dal/dao/mysql_dao/auth_users_dao.go:232
↓ 1 callersMethodSelectListByUserIdWithCB
SelectListByUserIdWithCB select id, auth_key_id, user_id, hash, date_created, date_actived from auth_users where user_id = :user_id and deleted = 0 TO
app/service/authsession/internal/dal/dao/mysql_dao/auth_users_dao.go:252
↓ 1 callersMethodSelectListByVideoSizeIdListWithCB
SelectListByVideoSizeIdListWithCB select id, video_size_id, size_type, width, height, file_size, video_start_ts, file_path from video_sizes where vide
app/service/media/internal/dal/dao/mysql_dao/video_sizes_dao.go:170
↓ 1 callersMethodSelectMyAdminListWithCB
SelectMyAdminListWithCB select chat_id from chat_participants where user_id = :user_id and participant_type = 1 and state = 0 TODO(@benqi): sqlmap
app/service/biz/chat/internal/dal/dao/mysql_dao/chat_participants_dao.go:662
↓ 1 callersMethodSelectNextTestUserId
SelectNextTestUserId select id, user_type, access_hash, secret_key_id, first_name, last_name, username, phone, country_code, verified, support, scam,
app/service/biz/user/internal/dal/dao/mysql_dao/users_dao.go:202
↓ 1 callersMethodSelectPeerDialogList
SelectPeerDialogList 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
app/service/biz/dialog/internal/dal/dao/mysql_dao/dialogs_dao.go:418
↓ 1 callersMethodSelectPeerHashTagList
SelectPeerHashTagList select hash_tag_message_id from hash_tags where user_id = :user_id and peer_type = :peer_type and peer_id = :peer_id and hash_ta
app/service/biz/message/internal/dal/dao/mysql_dao/hash_tags_dao.go:98
↓ 1 callersMethodSelectPinnedMessageIdList
SelectPinnedMessageIdList select user_message_box_id from messages where user_id = :user_id and (dialog_id1 = :dialog_id1 and dialog_id2 = :dialog_id2
app/service/biz/message/internal/dal/dao/mysql_dao/messages_dao.go:1411
↓ 1 callersMethodSelectPrivacy
SelectPrivacy select id, user_id, key_type, rules from user_privacies where user_id = :user_id and key_type = :key_type TODO(@benqi): sqlmap
app/service/biz/user/internal/dal/dao/mysql_dao/user_privacies_dao.go:156
↓ 1 callersMethodSelectUserContactIdList
SelectUserContactIdList select contact_user_id from user_contacts where owner_user_id = :owner_user_id and is_deleted = 0 order by contact_user_id asc
app/service/biz/user/internal/dal/dao/mysql_dao/user_contacts_dao.go:310
↓ 1 callersMethodSelectUserReverseContactIdList
SelectUserReverseContactIdList select owner_user_id from user_contacts where contact_user_id = :contact_user_id and is_deleted = 0 TODO(@benqi): sqlma
app/service/biz/user/internal/dal/dao/mysql_dao/user_contacts_dao.go:748
↓ 1 callersMethodSelectUsersByPhoneList
SelectUsersByPhoneList select id, user_type, access_hash, secret_key_id, first_name, last_name, username, phone, country_code, verified, support, scam
app/service/biz/user/internal/dal/dao/mysql_dao/users_dao.go:296
↓ 1 callersMethodSelectUsersChatIdListWithCB
SelectUsersChatIdListWithCB select chat_participants.chat_id as chat_id, chat_participants.user_id as user_id from chat_participants, chats where chat
app/service/biz/chat/internal/dal/dao/mysql_dao/chat_participants_dao.go:610
↓ 1 callersMethodSendChatMessage
(ctx context.Context, fromId, chatId int64, outBox *msg.OutboxMessage)
app/messenger/msg/internal/dao/outbox.go:355
↓ 1 callersMethodSendChatMessageToInbox
(ctx context.Context, fromId, chatId, toId int64, dialogMessageId, clientRandomId int64, message *mtproto.Mess
app/messenger/msg/internal/dao/inbox.go:254
↓ 1 callersMethodSendChatMultiMessage
(ctx context.Context, fromId, chatId int64, outBoxList []*msg.OutboxMessage)
app/messenger/msg/internal/dao/outbox.go:360
↓ 1 callersMethodSendChatMultiMessageToInbox
(ctx context.Context, fromId, chatId, toId int64, inBoxList []*inbox.InboxMessageData)
app/messenger/msg/internal/dao/inbox.go:281
↓ 1 callersMethodSendDataToGate
(ctx context.Context, serverId int32, authKeyId, sessionId int64, payload []byte)
app/interface/session/internal/sess/auth_sessions.go:177
↓ 1 callersMethodSendToClient
(conn *net2.TcpConnection, authKey *authKeyUtil, b []byte)
app/interface/gateway/internal/server/server_tcp.go:440
↓ 1 callersMethodSendUserMessageToInbox
(ctx context.Context, fromId, toId int64, dialogMessageId, clientRandomId int64, message *mtproto.Message)
app/messenger/msg/internal/dao/inbox.go:245
↓ 1 callersMethodSendUserMultiMessage
(ctx context.Context, fromId, toId int64, outBoxList []*msg.OutboxMessage)
app/messenger/msg/internal/dao/outbox.go:341
↓ 1 callersMethodSendUserMultiMessageToInbox
(ctx context.Context, fromId, toId int64, inBoxList []*inbox.InboxMessageData)
app/messenger/msg/internal/dao/inbox.go:263
↓ 1 callersMethodServe
()
app/interface/gnetway/internal/server/server.go:84
↓ 1 callersMethodServe
()
app/interface/gateway/internal/server/server.go:123
↓ 1 callersMethodSessionClientClosed
(ctx context.Context, gatewayId string, sessionId int64)
app/interface/session/internal/sess/auth_sessions.go:641
↓ 1 callersMethodSessionDataArrived
(ctx context.Context, gatewayId, clientIp string, sessionId, salt int64, buf []byte)
app/interface/session/internal/sess/auth_sessions.go:600
↓ 1 callersMethodSessionHttpDataArrived
(ctx context.Context, gatewayId, clientIp string, sessionId, salt int64, buf []byte, resChan chan interface{})
app/interface/session/internal/sess/auth_sessions.go:620
↓ 1 callersMethodSetAndroidPushSessionId
(v int64)
app/service/authsession/authsession/codec_schema.tl.pb.go:256
↓ 1 callersMethodSetApiId
(v int32)
app/service/authsession/authsession/codec_schema.tl.pb.go:407
↓ 1 callersMethodSetAppVersion
(v string)
app/service/authsession/authsession/codec_schema.tl.pb.go:416
↓ 1 callersMethodSetAuthKeyId
(v int64)
app/interface/session/session/codec_schema.tl.pb.go:329
↓ 1 callersMethodSetAuthKeyId
(v int64)
app/interface/session/session/codec_schema.tl.pb.go:501
↓ 1 callersMethodSetAuthKeyId
flags
app/service/biz/code/code/codec_schema.tl.pb.go:157
↓ 1 callersMethodSetAuthKeyId
(v int64)
app/service/authsession/authsession/codec_schema.tl.pb.go:241
↓ 1 callersMethodSetAuthKeyId
(v int64)
app/service/authsession/authsession/codec_schema.tl.pb.go:398
↓ 1 callersMethodSetAuthKeyId
(v int64)
app/service/status/status/codec_schema.tl.pb.go:194
↓ 1 callersMethodSetAuthKeyId
(v int64)
app/messenger/msg/msg/msg/codec_schema.tl.pb.go:583
↓ 1 callersMethodSetAvailableMinId
(v int32)
app/service/biz/dialog/dialog/codec_schema.tl.pb.go:357
↓ 1 callersMethodSetBackground
(v bool)
app/messenger/msg/msg/msg/codec_schema.tl.pb.go:393
↓ 1 callersMethodSetBufferSize
(v int)
pkg/goffmpeg/models/media.go:195
↓ 1 callersMethodSetChannels
(v []int64)
app/service/biz/dialog/dialog/codec_schema.tl.pb.go:834
↓ 1 callersMethodSetChat
(v *mtproto.MutableChat)
app/service/biz/chat/chat/codec_schema.tl.pb.go:367
↓ 1 callersMethodSetChat
(v *mtproto.MutableChat)
app/service/biz/chat/chat/codec_schema.tl.pb.go:575
↓ 1 callersMethodSetChat
flags
app/service/biz/chat/chat/codec_schema.tl.pb.go:717
↓ 1 callersMethodSetChatIdList
(v []int64)
app/service/biz/chat/chat/codec_schema.tl.pb.go:1025
↓ 1 callersMethodSetChats
(v []int64)
app/service/biz/dialog/dialog/codec_schema.tl.pb.go:831
↓ 1 callersMethodSetClient
(v string)
app/service/status/status/codec_schema.tl.pb.go:209
↓ 1 callersMethodSetClientIp
(v string)
app/interface/session/session/codec_schema.tl.pb.go:338
↓ 1 callersMethodSetClientIp
(v string)
app/interface/session/session/codec_schema.tl.pb.go:510
↓ 1 callersMethodSetClientSessionInfo
(ctx context.Context, session *authsession.ClientSession)
app/service/authsession/internal/dao/auths.go:278
↓ 1 callersMethodSetClientType
(v int32)
app/service/authsession/authsession/codec_schema.tl.pb.go:253
↓ 1 callersMethodSetConnType
(v int32)
app/interface/session/session/codec_schema.tl.pb.go:326
← previousnext →3,101–3,200 of 12,214, ranked by callers