forked from nique_372/TelegramByLeo
77 lines
2 KiB
YAML
77 lines
2 KiB
YAML
# Config incial
| |
max_attepms: 150000
| |
namespace: TSN
| |
file_name_out: TelegramByLeo\T.mqh
| |
table_prefix: g_telegrambyleo_enumreg
| |
copyright: Copyright 2026, Niquel Mendoza
| |
link: https://www.mql5.com/
| |
func_name: TelegramByLeoHashExt
| |
def_name_table_size: TELEGRAMBYLEO_ENUMREG_FINALT_SIZE
| |
def_bucket_size_name: TELEGRAMBYLEO_ENUMREG_BUCKETT_SIZE
| |
# Por decto usamos 0... para los invalidos (osea json normal..)
| |
invalid_value: -1
| |
comment_funct: true
| |
guard_name: TELEGRAMBYLEO_ENUMERG_T_MQH
| |
| |
# En bin no guardaremos nada usaremos directo el MQH
| |
# Hash
| |
hash:
| |
type: TSN_PHASH_TYPE_FNV1A_64
| |
config:
| |
basis: def
| |
prime: def
| |
| |
# Final hash
| |
final_hash: HASH_UL1_SPLITMIX
| |
| |
# Algoritm
| |
perfect_hash:
| |
elements_por_bucket: 2
| |
load_factor: 0.81
| |
| |
# Main
| |
map_use_value: true
| |
map: {
| |
TELEGRAM_PARSE_MODE_HTML: 0,
| |
TELEGRAM_PARSE_MODE_MD: 1,
| |
TELEGRAM_PARSE_MODE_MD_2: 2,
| |
TELEGRAMBYLEO_CHAT_ACTION_TYPING: 0,
| |
TELEGRAMBYLEO_CHAT_ACTION_UPLOAD_PHOTO: 1,
| |
TELEGRAMBYLEO_CHAT_ACTION_RECORD_VIDEO: 2,
| |
TELEGRAMBYLEO_CHAT_ACTION_UPLOAD_VIDEO: 3,
| |
TELEGRAMBYLEO_CHAT_ACTION_RECORD_AUDIO: 4,
| |
TELEGRAMBYLEO_CHAT_ACTION_UPLOAD_AUDIO: 5,
| |
TELEGRAMBYLEO_CHAT_ACTION_UPLOAD_DOCUMENT: 6,
| |
TELEGRAMBYLEO_CHAT_ACTION_CHOOSE_STIKER: 7,
| |
TELEGRAMBYLEO_CHAT_ACTION_FIND_LOCATION: 8,
| |
TELEGRAMBYLEO_CHAT_ACTION_RECORD_VIDEO_NOTE: 9,
| |
TELEGRAMBYLEO_CHAT_ACTION_UPLOAD_VIDEO_NOTE: 10,
| |
update_id: 0,
| |
message: 1,
| |
edited_message: 2,
| |
channel_post: 3,
| |
edited_channel_post: 4,
| |
business_connection: 5,
| |
business_message: 6,
| |
edited_business_message: 7,
| |
deleted_business_messages: 8,
| |
guest_message: 9,
| |
message_reaction: 10,
| |
message_reaction_count: 11,
| |
inline_query: 12,
| |
chosen_inline_result: 13,
| |
callback_query: 14,
| |
shipping_query: 15,
| |
pre_checkout_query: 16,
| |
purchased_paid_media: 17,
| |
poll: 18,
| |
poll_answer: 19,
| |
my_chat_member: 20,
| |
chat_member: 21,
| |
chat_join_request: 22,
| |
chat_boost: 23,
| |
removed_chat_boost: 24,
| |
managed_bot: 25,
| |
subscription: 26,
| |
stopped_message_generation: 27
| |
}
|