Home
last modified time | relevance | path

Searched refs:access_hash_ (Results 1 – 25 of 27) sorted by relevance

12

/dports/net-im/tdlib/td-a53cb30e99f937cfd64e0266fa558785a184a553/td/telegram/
H A DLocation.h27 mutable int64 access_hash_ = 0; variable
68 return access_hash_; in get_access_hash()
72 access_hash_ = access_hash; in set_access_hash()
80 bool has_access_hash = access_hash_ != 0; in store()
90 store(access_hash_, storer); in store()
110 parse(access_hash_, parser); in parse()
111 G()->add_location_access_hash(latitude_, longitude_, access_hash_); in parse()
H A DEncryptedFile.h21 int64 access_hash_ = 0; member
28 …: id_(id), access_hash_(access_hash), size_(size), dc_id_(dc_id), key_fingerprint_(key_fingerprint… in EncryptedFile()
36 …return make_unique<EncryptedFile>(file->id_, file->access_hash_, file->size_, file->dc_id_, file->… in get_encrypted_file()
44 store(access_hash_, storer); in store()
57 parse(access_hash_, parser); in parse()
69 …return sb << "[" << tag("id", file.id_) << tag("access_hash", file.access_hash_) << tag("size", fi…
H A DGame.cpp27 access_hash_ = game->access_hash_; in Game()
100 …return lhs.id_ == rhs.id_ && lhs.access_hash_ == rhs.access_hash_ && lhs.bot_user_id_ == rhs.bot_u… in operator ==()
110 return string_builder << "Game[ID = " << game.id_ << ", access_hash = " << game.access_hash_ in operator <<()
H A DGame.hpp29 store(access_hash_, storer); in store()
51 parse(access_hash_, parser); in parse()
H A DLocation.cpp29 access_hash_ = access_hash; in init()
30 G()->add_location_access_hash(latitude_, longitude_, access_hash_); in init()
51 init(geo_point->lat_, geo_point->long_, geo_point->accuracy_radius_, geo_point->access_hash_); in Location()
H A DInputDialogId.cpp25 access_hash = input_user->access_hash_; in InputDialogId()
44 access_hash = input_channel->access_hash_; in InputDialogId()
H A DInputGroupCallId.cpp12 : group_call_id(input_group_call->id_), access_hash(input_group_call->access_hash_) { in InputGroupCallId()
H A DGame.h28 int64 access_hash_ = 0; variable
H A DDocumentsManager.cpp252 access_hash = document->access_hash_; in on_get_document()
302 access_hash = file->access_hash_; in on_get_document()
344 access_hash = web_document->access_hash_; in on_get_document()
H A DPhoto.cpp495 …= file_manager->register_remote(FullRemoteFileLocation(file_type, url, web_document->access_hash_), in get_web_document_photo_size()
668 …FullRemoteFileLocation(FileType::Encrypted, file->id_, file->access_hash_, DcId::create(file->dc_i… in get_encrypted_file_photo()
716 … photo->access_hash_, photo->file_reference_.as_slice().str(), dc_id, in get_photo()
732 … photo->access_hash_, photo->file_reference_.as_slice().str(), dc_id, in get_photo()
H A DCallActor.cpp379 call_access_hash_ = call.access_hash_; in do_update_call()
402 call_access_hash_ = call.access_hash_; in do_update_call()
436 call_access_hash_ = call.access_hash_; in do_update_call()
H A DStickersManager.cpp1329 sticker_set.access_hash_ = access_hash; in init_special_sticker_set()
1361 add_sticker_set(sticker_set.id_, sticker_set.access_hash_); in load_special_sticker_set_info_from_binlog()
2181 … document_id, document->access_hash_, document->file_reference_.as_slice().str(), in on_get_sticker_document()
2270 add_sticker_set(set_id, set->access_hash_); in add_sticker_set()
2442 add_sticker_set(set_id, set->access_hash_); in on_get_input_sticker_set()
2703 StickerSet *s = add_sticker_set(set_id, set->access_hash_); in on_get_sticker_set()
2746 if (s->access_hash != set->access_hash_) { in on_get_sticker_set()
2748 s->access_hash = set->access_hash_; in on_get_sticker_set()
3048 if (sticker_set_id == sticker_set.id_ && s->access_hash == sticker_set.access_hash_ && in on_get_special_sticker_set()
3055 sticker_set.access_hash_ = s->access_hash; in on_get_special_sticker_set()
[all …]
H A DStickersManager.h435 int64 access_hash_ = 0; member
H A DSecretChatActor.cpp1616 make_tl_object<telegram_api::inputEncryptedFile>(file->id_, file->access_hash_)); in on_outbound_send_message_result()
1770 auth_state_.access_hash = update.access_hash_; in save_common_info()
H A DBackgroundManager.cpp1140 background.access_hash = wallpaper->access_hash_; in on_get_background()
H A DSecureValue.cpp357 …FullRemoteFileLocation(FileType::Secure, secure_file->id_, secure_file->access_hash_, DcId::intern… in get_encrypted_secure_file()
H A DGroupCallManager.cpp4054 input_group_call_id = InputGroupCallId(group_call->id_, group_call->access_hash_); in update_group_call()
4112 input_group_call_id = InputGroupCallId(group_call->id_, group_call->access_hash_); in update_group_call()
H A DContactsManager.cpp8284 auto access_hash = user->access_hash_; in on_get_user()
15440 c->access_hash = input_channel->access_hash_; in on_chat_update()
15532 if (channel.flags_ == 0 && channel.access_hash_ == 0 && channel.title_.empty()) { in on_chat_update()
15544 auto access_hash = has_access_hash ? channel.access_hash_ : 0; in on_chat_update()
15736 if (channel.flags_ == 0 && channel.access_hash_ == 0 && channel.title_.empty()) { in on_chat_update()
15750 if (c->access_hash != channel.access_hash_) { in on_chat_update()
15751 c->access_hash = channel.access_hash_; in on_chat_update()
H A DWebPageBlock.cpp2135 … has_access_hash ? channel->access_hash_ : 0, std::move(channel->photo_)), in get_web_page_block()
H A DUpdatesManager.cpp1111 input_group_call_id = InputGroupCallId(group_call->id_, group_call->access_hash_); in get_update_new_group_call_ids()
/dports/net-im/tdlib/td-a53cb30e99f937cfd64e0266fa558785a184a553/td/telegram/files/
H A DFileLocation.h82 int64 access_hash_; member
119 int64 access_hash_; member
150 int64 access_hash_; member
295 return photo().access_hash_; in get_access_hash()
297 return common().access_hash_; in get_access_hash()
299 return web().access_hash_; in get_access_hash()
393 return make_tl_object<telegram_api::inputWebFileLocation>(web().url_, web().access_hash_); in as_input_web_file_location_impl()
400 const auto &access_hash = photo().access_hash_; in as_input_file_location()
486 return make_tl_object<telegram_api::inputDocument>(common().id_, common().access_hash_, in as_input_document_impl()
498 return make_tl_object<telegram_api::inputEncryptedFile>(common().id_, common().access_hash_); in as_input_encrypted_file()
[all …]
H A DFileLocation.hpp46 store(access_hash_, storer); in store()
54 parse(access_hash_, parser); in parse()
143 store(access_hash_, storer); in store()
150 parse(access_hash_, parser); in parse()
162 store(access_hash_, storer); in store()
169 parse(access_hash_, parser); in parse()
H A DFileHashUploader.cpp140 … callback_->on_ok(FullRemoteFileLocation(FileType::Document, document->id_, document->access_hash_, in on_result_impl()
/dports/net-im/tdlib/td-a53cb30e99f937cfd64e0266fa558785a184a553/test/
H A Dsecret.cpp88 int64 access_hash_{}; member in my_api::inputUser
96 , access_hash_(TlFetchLong::parse(p)) in inputUser()
135 int64 access_hash_{}; member in my_api::inputEncryptedChat
140 …explicit inputEncryptedChat(TlBufferParser &p) : chat_id_(TlFetchInt::parse(p)), access_hash_(TlFe… in inputEncryptedChat()
254 int64 access_hash_{}; member in my_api::encryptedChat
263 encryptedChat(int32 id_, int64 access_hash_, int32 date_, int64 admin_id_, int64 participant_id_, in encryptedChat() argument
266 , access_hash_(access_hash_) in encryptedChat()
282 TlStoreBinary::store(access_hash_, s); in store()
293 TlStoreBinary::store(access_hash_, s); in store()
/dports/net-im/tdlib/td-a53cb30e99f937cfd64e0266fa558785a184a553/td/telegram/logevent/
H A DSecretChatEvent.h197 return EncryptedInputFile{Location, uploaded.id_, uploaded.access_hash_, 0, 0}; in from_input_encrypted_file()

12