Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/majn/tgl.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLucentW <LucentW@users.noreply.github.com>2017-01-08 18:49:44 +0300
committerLucentW <LucentW@users.noreply.github.com>2017-01-08 18:49:44 +0300
commitbd9b7446a0ddaf7c37d26255ddd1cab0073a41ee (patch)
tree9d8f62c99f393d35eb13e3b332a4fcb82bd0a5b4 /tgl-layout.h
parentf3079900a8bdf3fc03fd24945a9473b1903ba81f (diff)
On migration, pass new channel_id
Diffstat (limited to 'tgl-layout.h')
-rw-r--r--tgl-layout.h15
1 files changed, 8 insertions, 7 deletions
diff --git a/tgl-layout.h b/tgl-layout.h
index c821668..9f6145c 100644
--- a/tgl-layout.h
+++ b/tgl-layout.h
@@ -1,4 +1,4 @@
-/*
+/*
This file is part of tgl-library
This library is free software; you can redistribute it and/or
@@ -120,9 +120,9 @@
#define TGL_PERMANENT_ID_SIZE 24
#pragma pack(push,4)
-typedef struct {
- int peer_type;
- int peer_id;
+typedef struct {
+ int peer_type;
+ int peer_id;
long long access_hash;
} tgl_peer_id_t;
@@ -309,7 +309,7 @@ struct tgl_encr_document {
int size;
int key_fingerprint;
int flags;
-
+
unsigned char *key;
unsigned char *iv;
int w;
@@ -531,6 +531,7 @@ struct tgl_message_action {
int read_cnt;
int delete_cnt;
int screenshot_cnt;
+ int channel_id;
enum tgl_typing_status typing;
struct {
int start_seq_no;
@@ -573,7 +574,7 @@ struct tgl_message_media {
};
char *caption;
};
-
+
struct tgl_encr_document *encr_document;
struct tgl_webpage *webpage;
@@ -584,7 +585,7 @@ struct tgl_message_media {
char *last_name;
int user_id;
};
-
+
struct {
void *data;
int data_size;