Reputation: 1
A trading website has a telegram bot which you can interact with to do trades the slow way. They have a api(grpc) with no documentation to do things faster. I've got used to some functions, but some of them needs telegram auth data to do the authentication(map<string,string>). I've tried passing all params(api,id,phone,etc), tried talking to the dev, he told me that i need to pass the auth data that you get when logging in on the website(uses telegram oauth) but got no success.
HyperliquidLaunchTradeRequest = _reflection.GeneratedProtocolMessageType('HyperliquidLaunchTradeRequest', (_message.Message,), dict(
AuthDataEntry = _reflection.GeneratedProtocolMessageType('AuthDataEntry', (_message.Message,), dict(
DESCRIPTOR = _HYPERLIQUIDLAUNCHTRADEREQUEST_AUTHDATAENTRY,
__module__ = 'hypurr_pb2'
# @@protoc_insertion_point(class_scope:hypurr.HyperliquidLaunchTradeRequest.AuthDataEntry)
))
,
DESCRIPTOR = _HYPERLIQUIDLAUNCHTRADEREQUEST,
__module__ = 'hypurr_pb2'
# @@protoc_insertion_point(class_scope:hypurr.HyperliquidLaunchTradeRequest)
))
_sym_db.RegisterMessage(HyperliquidLaunchTradeRequest)
_sym_db.RegisterMessage(HyperliquidLaunchTradeRequest.AuthDataEntry)
_HYPERLIQUIDLAUNCHTRADEREQUEST_AUTHDATAENTRY = _descriptor.Descriptor(
name='AuthDataEntry',
full_name='hypurr.HyperliquidLaunchTradeRequest.AuthDataEntry',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='key', full_name='hypurr.HyperliquidLaunchTradeRequest.AuthDataEntry.key', index=0,
number=1, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=_b("").decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='value', full_name='hypurr.HyperliquidLaunchTradeRequest.AuthDataEntry.value', index=1,
number=2, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=_b("").decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None, file=DESCRIPTOR),
],
extensions=[
],
nested_types=[],
enum_types=[
],
options=_descriptor._ParseOptions(descriptor_pb2.MessageOptions(), _b('8\001')),
is_extendable=False,
syntax='proto3',
extension_ranges=[],
oneofs=[
],
serialized_start=11659,
serialized_end=11706,
)
https://gitlab.com/hypurr/hypurr-grpc
Tried passing the params, got this " status = StatusCode.UNAUTHENTICATED details = "invalid telegram auth data" "
Upvotes: 0
Views: 33