
    j                     R   d Z ddlmZ ddlmZ ddlmZmZmZmZ ddl	Z	ddl
Z
ddlmZ erddlmZmZmZmZmZmZmZ  G d	 d
e      Z G d de      Z G d de      Z G d de      Z G d de      Z G d de      Z G d de      Z G d de      Z G d de      Z G d de      Z G d de      Z G d d e      Z G d! d"e      Z  G d# d$e      Z! G d% d&e      Z" G d' d(e      Z# G d) d*e      Z$ G d+ d,e      Z% G d- d.e      Z& G d/ d0e      Z' G d1 d2e      Z( G d3 d4e      Z) G d5 d6e      Z* G d7 d8e      Z+ G d9 d:e      Z, G d; d<e      Z- G d= d>e      Z. G d? d@e      Z/ G dA dBe      Z0 G dC dDe      Z1 G dE dFe      Z2 G dG dHe      Z3 G dI dJe      Z4y)KzBFile generated by TLObjects' generator. All changes will be ERASED   )TLObject)	TLRequest    )OptionalListUnionTYPE_CHECKINGN)datetime)TypeInputDocumentTypeInputMediaTypeInputPeerTypeInputPrivacyRuleTypeMediaAreaTypeMessageEntityTypeReactionc                   N    e Zd ZdZdZd
dee   dee   fdZd Zd Z	e
d	        Zy)ActivateStealthModeRequestifѻW   * Npastfuturec                      || _         || _        y
        :returns Updates: Instance of either UpdatesTooLong, UpdateShortMessage, UpdateShortChatMessage, UpdateShort, UpdatesCombined, Updates, UpdateShortSentMessage.
        Nr   r   )selfr   r   s      a/var/www/oz-panel.ru/ozpay-pub/venv/lib/python3.12/site-packages/telethon/tl/functions/stories.py__init__z#ActivateStealthModeRequest.__init__        	    c                 6    d| j                   | j                  dS )Nr   )_r   r   r   r   s    r   to_dictz"ActivateStealthModeRequest.to_dict   s    -IIkk
 	
r   c           	          dj                  dt        j                  d| j                  | j                  du rdnd| j                  | j                  du rdndz        f      S )Nr   s   fѻW<IFr         )joinstructpackr   r   r"   s    r   _bytesz!ActivateStealthModeRequest._bytes   sv    xxKKDII$5e9KqQR\`\g\g\osws~s~  CH  tHWX  NO  P  Q
  	r   c                 n    |j                         }t        |dz        }t        |dz        } | ||      S )Nr&   r'   r   )read_intbool)clsreaderflags_past_futures        r   from_readerz&ActivateStealthModeRequest.from_reader%   s5    !UQYuqy/g..r   )NN)__name__
__module____qualname__CONSTRUCTOR_IDSUBCLASS_OF_IDr   r.   r   r#   r+   classmethodr4    r   r   r   r      sE    NNXd^ (4. 
 / /r   r   c                   >    e Zd ZdZdZd	dZd Zd Zd Ze	d        Z
y)
CanSendStoryRequestic0l   " c                     || _         y)zT
        :returns stories.CanSendStoryCount: Instance of CanSendStoryCount.
        Npeerr   r@   s     r   r   zCanSendStoryRequest.__init__2        	r   c                 ~   K   |j                  |j                  | j                         d {         | _        y 7 wNget_input_peerget_input_entityr@   r   clientutilss      r   resolvezCanSendStoryRequest.resolve8   -     ((v/F/Ftyy/Q)QR	)Q   *=;=c                     dt        | j                  t              r| j                  j                         dS | j                  dS )Nr=   r!   r@   
isinstancer@   r   r#   r"   s    r   r#   zCanSendStoryRequest.to_dict;   s?    &+5dii+JDII%%'
 	
PTPYPY
 	
r   c                 X    dj                  d| j                  j                         f      S )Nr   s   c0r(   r@   r+   r"   s    r   r+   zCanSendStoryRequest._bytesA   s+    xxII
  	r   c                 4    |j                         } | |      S Nr?   tgread_objectr/   r0   _peers      r   r4   zCanSendStoryRequest.from_readerG       $$&r   Nr@   r   r5   r6   r7   r8   r9   r   rK   r#   r+   r:   r4   r;   r   r   r=   r=   .   5    NNS
  r   r=   c                   P    e Zd ZdZdZdddedee   fdZd Z	d	 Z
d
 Zed        Zy)CreateAlbumRequestl   F ^|r@   r   titlestoriesc                 .    || _         || _        || _        yz>
        :returns StoryAlbum: Instance of StoryAlbum.
        Nr@   ra   rb   )r   r@   ra   rb   s       r   r   zCreateAlbumRequest.__init__Q   s     	
r   c                 ~   K   |j                  |j                  | j                         d {         | _        y 7 wrD   rE   rH   s      r   rK   zCreateAlbumRequest.resolveY   rL   rM   c                     dt        | j                  t              r| j                  j                         n| j                  | j                  | j
                  g dS | j
                  d d  dS )Nr_   )r!   r@   ra   rb   )rQ   r@   r   r#   ra   rb   r"   s    r   r#   zCreateAlbumRequest.to_dict\   s_    %+5dii+JDII%%'PTPYPYZZ!\\1r	
 	
 8<||A	
 	
r   c                     dj                  d| j                  j                         | j                  | j                        dt        j                  dt        | j                              dj                  d | j                  D              f      S )Nr   s   c   ĵ<ic              3   H   K   | ]  }t        j                  d |        ywrj   Nr)   r*   .0xs     r   	<genexpr>z,CreateAlbumRequest._bytes.<locals>.<genexpr>i   s     MyghfkkZ^`aNbMy    ")	r(   r@   r+   serialize_bytesra   r)   r*   lenrb   r"   s    r   r+   zCreateAlbumRequest._bytesd   sn    xxII  ,D#dll2C DSXXMylplxlxMyEy	
  	r   c                     |j                         }|j                         }|j                          g }t        |j                               D ]#  }|j                         }|j	                  |       %  | |||      S )Nre   )rW   tgread_stringr-   rangeappend)r/   r0   rY   _title_storiesr!   _xs          r   r4   zCreateAlbumRequest.from_readerl   sq    $$&%%'v() 	 A"BOOB	  VX>>r   N)r5   r6   r7   r8   r9   strr   intr   rK   r#   r+   r:   r4   r;   r   r   r_   r_   M   sN    NN_ S 49 S
 	? 	?r   r_   c                   F    e Zd ZdZdZdddefdZd Zd Zd	 Z	e
d
        Zy)DeleteAlbumRequestl   Vh    gk r@   r   album_idc                      || _         || _        yz?
        :returns Bool: This type has no constructors.
        Nr@   r   )r   r@   r   s      r   r   zDeleteAlbumRequest.__init__}   s     	 r   c                 ~   K   |j                  |j                  | j                         d {         | _        y 7 wrD   rE   rH   s      r   rK   zDeleteAlbumRequest.resolve   rL   rM   c                     dt        | j                  t              r| j                  j                         n| j                  | j                  dS )Nr   )r!   r@   r   )rQ   r@   r   r#   r   r"   s    r   r#   zDeleteAlbumRequest.to_dict   s<    %+5dii+JDII%%'PTPYPY
 	
r   c                     dj                  d| j                  j                         t        j                  d| j
                        f      S )Nr   s   V4rj   )r(   r@   r+   r)   r*   r   r"   s    r   r+   zDeleteAlbumRequest._bytes   s=    xxIIKKdmm,
  	r   c                 V    |j                         }|j                         } | ||      S )Nr   rW   r-   )r/   r0   rY   	_album_ids       r   r4   zDeleteAlbumRequest.from_reader   s)    $$&OO%		22r   Nr5   r6   r7   r8   r9   r}   r   rK   r#   r+   r:   r4   r;   r   r   r   r   y   sC    NN!_ ! !S
 3 3r   r   c                   \    e Zd ZdZdZdddee   fdZd Zd Z	d	 Z
ed
        Zed        Zy)DeleteStoriesRequestl   _[\ q&Pr@   r   idc                      || _         || _        yzF
        :returns Vector<int>: This type has no constructors.
        Nr@   r   r   r@   r   s      r   r   zDeleteStoriesRequest.__init__        	r   c                 ~   K   |j                  |j                  | j                         d {         | _        y 7 wrD   rE   rH   s      r   rK   zDeleteStoriesRequest.resolve   rL   rM   c                     dt        | j                  t              r| j                  j                         n| j                  | j                  g dS | j                  d d  dS )Nr   r!   r@   r   rQ   r@   r   r#   r   r"   s    r   r#   zDeleteStoriesRequest.to_dict   sW    '+5dii+JDII%%'PTPYPY"
 	
 .2WWQZ
 	
r   c                     dj                  d| j                  j                         dt        j                  dt        | j                              dj                  d | j                  D              f      S )Nr   s   _Yri   rj   c              3   H   K   | ]  }t        j                  d |        ywrl   rm   rn   s     r   rq   z.DeleteStoriesRequest._bytes.<locals>.<genexpr>        HobcUY[\I]Horr   r(   r@   r+   r)   r*   rt   r   r"   s    r   r+   zDeleteStoriesRequest._bytes   [    xxIID#dgg, ?HogkgngnHo@o
  	r   c                     |j                         }|j                          g }t        |j                               D ]#  }|j                         }|j                  |       %  | ||      S Nr   rW   r-   rw   rx   r/   r0   rY   _idr!   r{   s         r   r4   z DeleteStoriesRequest.from_reader   `    $$&v() 	A"BJJrN	 #&&r   c                     | j                          t        | j                               D cg c]  }| j                          c}S c c}w rD   r-   rw   r0   r!   s     r   read_resultz DeleteStoriesRequest.read_result   3    +01B+CDa!DDD   AN)r5   r6   r7   r8   r9   r   r}   r   rK   r#   r+   r:   r4   staticmethodr   r;   r   r   r   r      s]    NN_ $s) S
 ' ' E Er   r   c                       e Zd ZdZdZddddeded   d	eed
      dee   deed      deed      ded   fdZ	d Z
d Zd Zed        Zy)EditStoryRequesti+c,r   Nr@   r   r   mediar   media_areasr   captionentitiesr   privacy_rulesr   musicr   c	                 t    || _         || _        || _        || _        || _        || _        || _        || _        yr   r@   r   r   r   r   r   r   r   )	r   r@   r   r   r   r   r   r   r   s	            r   r   zEditStoryRequest.__init__   s>     	
& *
r   c                 0  K   |j                  |j                  | j                         d {         | _        | j                  r |j	                  | j                        | _        | j
                  r!|j                  | j
                        | _        y y 7 gwrD   )rF   rG   r@   r   get_input_mediar   get_input_documentrH   s      r   rK   zEditStoryRequest.resolve   so     ((v/F/Ftyy/Q)QR	::..tzz:DJ::11$**=DJ 	 *Rs   *BBA(Bc                 |   dt        | j                  t              r| j                  j                         n| j                  | j                  t        | j
                  t              r| j
                  j                         n| j
                  | j                  g n9| j                  D cg c]$  }t        |t              r|j                         n|& c}| j                  | j                  g n9| j                  D cg c]$  }t        |t              r|j                         n|& c}| j                  g n9| j                  D cg c]$  }t        |t              r|j                         n|& c}t        | j                  t              r| j                  j                         d	S | j                  d	S c c}w c c}w c c}w )Nr   )	r!   r@   r   r   r   r   r   r   r   )rQ   r@   r   r#   r   r   r   r   r   r   r   r   rp   s     r   r#   zEditStoryRequest.to_dict   s{   #+5dii+JDII%%'PTPYPY''-7

H-MTZZ'')SWS]S]!%!1!1!92w{  xH  xH  @IrszZ[]eOf		lm@m  @I||"mm3quq~q~9lmTUW_I`!))+fg:g9#'#5#5#=R{  |N  |N  DOvwS]^_aiSjAIIKpqDq  DO-7

H-MTZZ'')

 
	
 TXS]S]

 
	

 @I9 DOs   ')F/9)F4 )F9c                    | j                   s| j                   | j                  sG| j                  ;| j                   | j                   du r| j                  | j                  du sJ d       dj                  dt        j                  d| j
                  | j
                  du rdnd| j                  | j                  du rdndz  | j                   | j                   du rdnd	z  | j                  | j                  du rdnd	z  | j                  | j                  du rdnd
z  | j                  | j                  du rdndz        | j                  j                         t        j                  d| j                        | j
                  | j
                  du rdn| j
                  j                         | j                  | j                  du rdnZdj                  dt        j                  dt        | j                              dj                  d | j                  D              f      | j                   | j                   du rdn| j                  | j                         | j                  | j                  du rdnZdj                  dt        j                  dt        | j                              dj                  d | j                  D              f      | j                  | j                  du rdnZdj                  dt        j                  dt        | j                              dj                  d | j                  D              f      | j                  | j                  du rdf
      S | j                  j                         f
      S )NFzMcaption, entities parameters must all be False-y (like None) or all be True-yr   s   +c,r%   r   r&      r'         rj   ri   c              3   <   K   | ]  }|j                           y wrD   r+   rn   s     r   rq   z*EditStoryRequest._bytes.<locals>.<genexpr>   7       ^D  no  _`  _g  _g  _i  ^D   c              3   <   K   | ]  }|j                           y wrD   r   rn   s     r   rq   z*EditStoryRequest._bytes.<locals>.<genexpr>   7       Ux  ef  VW  V^  V^  V`  Uxr   c              3   <   K   | ]  }|j                           y wrD   r   rn   s     r   rq   z*EditStoryRequest._bytes.<locals>.<genexpr>   s7       dL  tu  ef  em  em  eo  dLr   )r   r   r(   r)   r*   r   r   r   r   r@   r+   r   rt   rs   r"   s    r   r+   zEditStoryRequest._bytes   s   !9QUQ^Q^Qjrvr~r~  sG  KO  KW  KW  [`  K`  gk  gt  gt  g|  @D  @M  @M  QV  @V  	i  Zi  	i  XxxKKDJJ$6$**:MqST^b^n^n^vz~  {K  {K  OT  {TYZ  Z[  \  ei  eq  eq  ey  }A  }I  }I  MR  }R  `a  XY  Z  cg  cp  cp  cx  |@  |I  |I  MR  |R  ^_  XY  Z  cg  cu  cu  c}  AE  AS  AS  W\  A\  ^_  bc  d  mq  mw  mw  m  CG  CM  CM  QV  CV  hi  \^  _  `IIKKdgg&::%u)<C4::CTCTCV##+t/?/?5/HCchhXklrlwlwx|  B  CG  CS  CS  T  mU  VY  V^  V^  ^D  sw  sC  sC  ^D  VD  XE  OF<<'4<<5+@CtG[G[\`\h\hGi==(DMMU,BCReflfqfqrvx{  }A  }J  }J  yK  gL  MP  MU  MU  Ux  jn  jw  jw  Ux  Mx  Ry  Iz%%-1C1Cu1LCRURZRZ\opvp{p{  }A  CF  GK  GY  GY  CZ  q[  \_  \d  \d  dL  y}  yK  yK  dL  \L  \M  SN::%u)<C
  	 DH::CTCTCV
  	r   c           
      (   |j                         }|j                         }|j                         }|dz  r|j                         }nd }|dz  rR|j                          g }t        |j                               D ]#  }|j                         }|j                  |       % nd }|dz  r|j	                         }	nd }	|dz  rR|j                          g }
t        |j                               D ]#  }|j                         }|
j                  |       % nd }
|dz  rR|j                          g }t        |j                               D ]#  }|j                         }|j                  |       % nd }|dz  r|j                         }nd } | |||||	|
||      S )Nr&   r   r'   r   r   r   )r-   rW   rw   rx   rv   )r/   r0   r1   rY   r   _media_media_areasr!   r{   _caption	_entities_privacy_rules_musics                r   r4   zEditStoryRequest.from_reader   s   !$$&oo19))+FF19OOL6??,- ())+##B'(
  L19++-HH19OOI6??,- %))+  $%
 I19OON6??,- *))+%%b)*
 "N2:))+FF#VW_js  DR  Z`  a  	ar   )NNNNNN)r5   r6   r7   r8   r9   r}   r   r   r|   r   rK   r#   r+   r:   r4   r;   r   r   r   r      s    NN_ # hGW>X ltuy  {J  vK  mL   \d  eh  \i   zB  CG  H[  C\  z]   s{  |@  AW  |X  sY   go  pC  gD >
 ,a ,ar   r   c                   F    e Zd ZdZdZdddefdZd Zd Zd	 Z	e
d
        Zy)ExportStoryLinkRequesti {iAr@   r   r   c                      || _         || _        y)zL
        :returns ExportedStoryLink: Instance of ExportedStoryLink.
        Nr   r   s      r   r   zExportStoryLinkRequest.__init__2  r   r   c                 ~   K   |j                  |j                  | j                         d {         | _        y 7 wrD   rE   rH   s      r   rK   zExportStoryLinkRequest.resolve9  rL   rM   c                     dt        | j                  t              r| j                  j                         n| j                  | j                  dS )Nr   r   r   r"   s    r   r#   zExportStoryLinkRequest.to_dict<  s<    )+5dii+JDII%%'PTPYPY''
 	
r   c                     dj                  d| j                  j                         t        j                  d| j
                        f      S )Nr   s    {rj   )r(   r@   r+   r)   r*   r   r"   s    r   r+   zExportStoryLinkRequest._bytesC  s=    xxIIKKdgg&
  	r   c                 V    |j                         }|j                         } | ||      S r   r   )r/   r0   rY   r   s       r   r4   z"ExportStoryLinkRequest.from_readerJ  s)    $$&oo#&&r   Nr   r;   r   r   r   r   .  sC    NN_ # S
 ' 'r   r   c                   N    e Zd ZdZdZdddededefdZd	 Zd
 Zd Z	e
d        Zy)GetAlbumStoriesRequestl   am Y ,%r@   r   r   offsetlimitc                 <    || _         || _        || _        || _        yz@
        :returns stories.Stories: Instance of Stories.
        Nr@   r   r   r   )r   r@   r   r   r   s        r   r   zGetAlbumStoriesRequest.__init__U  s      	 
r   c                 ~   K   |j                  |j                  | j                         d {         | _        y 7 wrD   rE   rH   s      r   rK   zGetAlbumStoriesRequest.resolve^  rL   rM   c                     dt        | j                  t              r| j                  j                         n| j                  | j                  | j
                  | j                  dS )Nr   )r!   r@   r   r   r   )rQ   r@   r   r#   r   r   r   r"   s    r   r#   zGetAlbumStoriesRequest.to_dicta  sJ    )+5dii+JDII%%'PTPYPYkkZZ
 	
r   c           
         dj                  d| j                  j                         t        j                  d| j
                        t        j                  d| j                        t        j                  d| j                        f      S )Nr   s   amrj   )r(   r@   r+   r)   r*   r   r   r   r"   s    r   r+   zGetAlbumStoriesRequest._bytesj  sa    xxIIKKdmm,KKdkk*KKdjj)
  	r   c                     |j                         }|j                         }|j                         }|j                         } | ||||      S )Nr   r   )r/   r0   rY   r   _offset_limits         r   r4   z"GetAlbumStoriesRequest.from_readers  sE    $$&OO%	//#"	'PPr   Nr   r;   r   r   r   r   Q  sT    NN_  S QT S
 Q Qr   r   c                   F    e Zd ZdZdZdddefdZd Zd Zd	 Z	e
d
        Zy)GetAlbumsRequesti%i9=r@   r   hashc                      || _         || _        y)zX
        :returns stories.Albums: Instance of either AlbumsNotModified, Albums.
        Nr@   r   )r   r@   r   s      r   r   zGetAlbumsRequest.__init__  s     		r   c                 ~   K   |j                  |j                  | j                         d {         | _        y 7 wrD   rE   rH   s      r   rK   zGetAlbumsRequest.resolve  rL   rM   c                     dt        | j                  t              r| j                  j                         n| j                  | j                  dS )Nr   )r!   r@   r   )rQ   r@   r   r#   r   r"   s    r   r#   zGetAlbumsRequest.to_dict  s<    #+5dii+JDII%%'PTPYPYII
 	
r   c                     dj                  d| j                  j                         t        j                  d| j
                        f      S )Nr   s   %<q)r(   r@   r+   r)   r*   r   r"   s    r   r+   zGetAlbumsRequest._bytes  s=    xxIIKKdii(
  	r   c                 V    |j                         }|j                         } | ||      S )Nr   )rW   	read_long)r/   r0   rY   _hashs       r   r4   zGetAlbumsRequest.from_reader  s+    $$&  "E**r   Nr   r;   r   r   r   r   |  sC    NN_ C S
 + +r   r   c                   0    e Zd ZdZdZd Zd Zed        Zy)GetAllReadPeerStoriesRequestl   g6 r   c                 
    ddiS )Nr!   r   r;   r"   s    r   r#   z$GetAllReadPeerStoriesRequest.to_dict  s    /
 	
r   c                 $    dj                  d      S )Nr   )s   Zr(   r"   s    r   r+   z#GetAllReadPeerStoriesRequest._bytes      xx 
  	r   c                      |        S rD   r;   r/   r0   s     r   r4   z(GetAllReadPeerStoriesRequest.from_reader  	    ur   N	r5   r6   r7   r8   r9   r#   r+   r:   r4   r;   r   r   r   r     *    NN


  r   r   c                   X    e Zd ZdZdZddee   dee   dee   fdZd Z	d	 Z
ed
        Zy)GetAllStoriesRequestl   %Va] i`~Nnexthiddenstatec                 .    || _         || _        || _        y)zd
        :returns stories.AllStories: Instance of either AllStoriesNotModified, AllStories.
        Nr   r   r   )r   r   r   r   s       r   r   zGetAllStoriesRequest.__init__  s     	
r   c                 L    d| j                   | j                  | j                  dS )Nr   )r!   r   r   r   r   r"   s    r   r#   zGetAllStoriesRequest.to_dict  s$    'IIkkZZ	
 	
r   c           	      z   dj                  dt        j                  d| j                  | j                  du rdnd| j                  | j                  du rdndz  | j
                  | j
                  du rdndz        | j
                  | j
                  du rdf      S | j                  | j
                        f      S )	Nr   s   %ְr%   Fr   r'   r   r&   )r(   r)   r*   r   r   r   rs   r"   s    r   r+   zGetAllStoriesRequest._bytes  s   xxKKDII$5e9KqQR\`\g\g\osws~s~  CH  tHWX  NO  P  Y]  Yc  Yc  Yk  os  oy  oy  }B  oB  TU  HI  J  K::%u)<C
  	 DHCWCWX\XbXbCc
  	r   c                     |j                         }t        |dz        }t        |dz        }|dz  r|j                         }nd } | |||      S )Nr'   r   r&   r   )r-   r.   rv   )r/   r0   r1   _next_hidden_states         r   r4   z GetAllStoriesRequest.from_reader  sQ    !UQYuqy/19))+FFgV<<r   NNN)r5   r6   r7   r8   r9   r   r.   r|   r   r#   r+   r:   r4   r;   r   r   r   r     sS    NNXd^ (4. V^_bVc 
 	= 	=r   r   c                   0    e Zd ZdZdZd Zd Zed        Zy)GetChatsToSendRequestl   `J l   K3 c                 
    ddiS )Nr!   r  r;   r"   s    r   r#   zGetChatsToSendRequest.to_dict  s    (
 	
r   c                 $    dj                  d      S )Nr   )s   `jr   r"   s    r   r+   zGetChatsToSendRequest._bytes  r   r   c                      |        S rD   r;   r   s     r   r4   z!GetChatsToSendRequest.from_reader  r   r   Nr   r;   r   r   r  r    r   r   r  c                   H    e Zd ZdZdZded   fdZd Zd Zd Z	e
d	        Zy
)GetPeerMaxIDsRequestipIxiV<r   r   c                     || _         y)zN
        :returns Vector<RecentStory>: This type has no constructors.
        Nr   )r   r   s     r   r   zGetPeerMaxIDsRequest.__init__  s     r   c                    K   g }| j                   D ]9  }|j                  |j                  |j                  |       d {                ; || _         y 7 wrD   )r   rx   rF   rG   )r   rI   rJ   _tmpr{   s        r   rK   zGetPeerMaxIDsRequest.resolve  sT     '' 	QBKK,,63J3J23N-NOP	Q  .Os   <AAAc                     d| j                   g dS | j                   D cg c]$  }t        |t              r|j                         n|& c}dS c c}w )Nr  )r!   r   )r   rQ   r   r#   r   s     r   r#   zGetPeerMaxIDsRequest.to_dict  sQ    '"
 	
eielel-m`aZ8=TaiikZ[.[-m
 	
-ms   )Ac           
          dj                  ddt        j                  dt        | j                              dj                  d | j                  D              f      S )Nr   s   pIxri   rj   c              3   <   K   | ]  }|j                           y wrD   r   rn   s     r   rq   z.GetPeerMaxIDsRequest._bytes.<locals>.<genexpr>  s     HeXYHer   )r(   r)   r*   rt   r   r"   s    r   r+   zGetPeerMaxIDsRequest._bytes  sK    xxD#dgg, ?He]a]d]dHe@e
  	r   c                     |j                          g }t        |j                               D ]#  }|j                         }|j                  |       %  | |      S )Nr  )r-   rw   rW   rx   )r/   r0   r   r!   r{   s        r   r4   z GetPeerMaxIDsRequest.from_reader
  sQ    v() 	A%%'BJJrN	 c{r   N)r5   r6   r7   r8   r9   r   r   rK   r#   r+   r:   r4   r;   r   r   r  r    s@    NN40 
  r   r  c                   >    e Zd ZdZdZd	dZd Zd Zd Ze	d        Z
y)
GetPeerStoriesRequestiPJ,l   O: c                     || _         y)zH
        :returns stories.PeerStories: Instance of PeerStories.
        Nr?   rA   s     r   r   zGetPeerStoriesRequest.__init__  rB   r   c                 ~   K   |j                  |j                  | j                         d {         | _        y 7 wrD   rE   rH   s      r   rK   zGetPeerStoriesRequest.resolve  rL   rM   c                     dt        | j                  t              r| j                  j                         dS | j                  dS )Nr  rO   rP   r"   s    r   r#   zGetPeerStoriesRequest.to_dict"  s?    (+5dii+JDII%%'
 	
PTPYPY
 	
r   c                 X    dj                  d| j                  j                         f      S )Nr   s   PJ,rS   r"   s    r   r+   zGetPeerStoriesRequest._bytes(  s+    xxII
  	r   c                 4    |j                         } | |      S rU   rV   rX   s      r   r4   z!GetPeerStoriesRequest.from_reader.  rZ   r   Nr[   r\   r;   r   r   r  r    r]   r   r  c                   J    e Zd ZdZdZdddedefdZd Zd	 Zd
 Z	e
d        Zy)GetPinnedStoriesRequestiܥ!Xr   r@   r   	offset_idr   c                 .    || _         || _        || _        yr   r@   r  r   r   r@   r  r   s       r   r   z GetPinnedStoriesRequest.__init__8       	"
r   c                 ~   K   |j                  |j                  | j                         d {         | _        y 7 wrD   rE   rH   s      r   rK   zGetPinnedStoriesRequest.resolve@  rL   rM   c                     dt        | j                  t              r| j                  j                         n| j                  | j                  | j
                  dS )Nr  r!   r@   r  r   rQ   r@   r   r#   r  r   r"   s    r   r#   zGetPinnedStoriesRequest.to_dictC  sC    *+5dii+JDII%%'PTPYPYZZ	
 	
r   c           	          dj                  d| j                  j                         t        j                  d| j
                        t        j                  d| j                        f      S )Nr   s   ܥ!Xrj   r(   r@   r+   r)   r*   r  r   r"   s    r   r+   zGetPinnedStoriesRequest._bytesK  O    xxIIKKdnn-KKdjj)	
  	r   c                 x    |j                         }|j                         }|j                         } | |||      S Nr   r   r/   r0   rY   
_offset_idr   s        r   r4   z#GetPinnedStoriesRequest.from_readerS  7    $$&__&
"6BBr   Nr   r;   r   r   r  r  4  L    NN_  S S
 C Cr   r  c                   J    e Zd ZdZdZdddedefdZd Zd	 Zd
 Z	e
d        Zy)GetStoriesArchiveRequestl    jh r   r@   r   r  r   c                 .    || _         || _        || _        yr   r   r!  s       r   r   z!GetStoriesArchiveRequest.__init___  r"  r   c                 ~   K   |j                  |j                  | j                         d {         | _        y 7 wrD   rE   rH   s      r   rK   z GetStoriesArchiveRequest.resolveg  rL   rM   c                     dt        | j                  t              r| j                  j                         n| j                  | j                  | j
                  dS )Nr1  r%  r&  r"   s    r   r#   z GetStoriesArchiveRequest.to_dictj  sC    ++5dii+JDII%%'PTPYPYZZ	
 	
r   c           	          dj                  d| j                  j                         t        j                  d| j
                        t        j                  d| j                        f      S )Nr   s    5rj   r(  r"   s    r   r+   zGetStoriesArchiveRequest._bytesr  r)  r   c                 x    |j                         }|j                         }|j                         } | |||      S r+  r   r,  s        r   r4   z$GetStoriesArchiveRequest.from_readerz  r.  r   Nr   r;   r   r   r1  r1  [  r/  r   r1  c                   L    e Zd ZdZdZdddee   fdZd Zd Z	d	 Z
ed
        Zy)GetStoriesByIDRequestittWr   r@   r   r   c                      || _         || _        yr   r   r   s      r   r   zGetStoriesByIDRequest.__init__  r   r   c                 ~   K   |j                  |j                  | j                         d {         | _        y 7 wrD   rE   rH   s      r   rK   zGetStoriesByIDRequest.resolve  rL   rM   c                     dt        | j                  t              r| j                  j                         n| j                  | j                  g dS | j                  d d  dS )Nr8  r   r   r"   s    r   r#   zGetStoriesByIDRequest.to_dict  sW    (+5dii+JDII%%'PTPYPY"
 	
 .2WWQZ
 	
r   c                     dj                  d| j                  j                         dt        j                  dt        | j                              dj                  d | j                  D              f      S )Nr   s   ttWri   rj   c              3   H   K   | ]  }t        j                  d |        ywrl   rm   rn   s     r   rq   z/GetStoriesByIDRequest._bytes.<locals>.<genexpr>  r   rr   r   r"   s    r   r+   zGetStoriesByIDRequest._bytes  s[    xxIID#dgg, ?HogkgngnHo@o
  	r   c                     |j                         }|j                          g }t        |j                               D ]#  }|j                         }|j                  |       %  | ||      S r   r   r   s         r   r4   z!GetStoriesByIDRequest.from_reader  r   r   Nr5   r6   r7   r8   r9   r   r}   r   rK   r#   r+   r:   r4   r;   r   r   r8  r8    G    NN_ $s) S
 ' 'r   r8  c                   L    e Zd ZdZdZdddee   fdZd Zd Z	d	 Z
ed
        Zy)GetStoriesViewsRequestil(i?Kr@   r   r   c                      || _         || _        y)zF
        :returns stories.StoryViews: Instance of StoryViews.
        Nr   r   s      r   r   zGetStoriesViewsRequest.__init__  r   r   c                 ~   K   |j                  |j                  | j                         d {         | _        y 7 wrD   rE   rH   s      r   rK   zGetStoriesViewsRequest.resolve  rL   rM   c                     dt        | j                  t              r| j                  j                         n| j                  | j                  g dS | j                  d d  dS )NrB  r   r   r"   s    r   r#   zGetStoriesViewsRequest.to_dict  sW    )+5dii+JDII%%'PTPYPY"
 	
 .2WWQZ
 	
r   c                     dj                  d| j                  j                         dt        j                  dt        | j                              dj                  d | j                  D              f      S )Nr   s   l(ri   rj   c              3   H   K   | ]  }t        j                  d |        ywrl   rm   rn   s     r   rq   z0GetStoriesViewsRequest._bytes.<locals>.<genexpr>  r   rr   r   r"   s    r   r+   zGetStoriesViewsRequest._bytes  r   r   c                     |j                         }|j                          g }t        |j                               D ]#  }|j                         }|j                  |       %  | ||      S r   r   r   s         r   r4   z"GetStoriesViewsRequest.from_reader  r   r   Nr?  r;   r   r   rB  rB    r@  r   rB  c                   j    e Zd ZdZdZddddededee   d	ed
   dee   fdZ	d Z
d Zd Zed        Zy)GetStoryReactionsListRequestl   es ioNr@   r   r   r   forwards_firstreactionr   r   c                 X    || _         || _        || _        || _        || _        || _        y)zV
        :returns stories.StoryReactionsList: Instance of StoryReactionsList.
        Nr@   r   r   rK  rL  r   )r   r@   r   r   rK  rL  r   s          r   r   z%GetStoryReactionsListRequest.__init__  s/     	
, r   c                 ~   K   |j                  |j                  | j                         d {         | _        y 7 wrD   rE   rH   s      r   rK   z$GetStoryReactionsListRequest.resolve  rL   rM   c           	      ^   dt        | j                  t              r| j                  j                         n| j                  | j                  | j
                  | j                  t        | j                  t              r| j                  j                         n| j                  | j                  dS )NrJ  )r!   r@   r   r   rK  rL  r   )	rQ   r@   r   r#   r   r   rK  rL  r   r"   s    r   r#   z$GetStoryReactionsListRequest.to_dict  sy    /+5dii+JDII%%'PTPYPY''ZZ"113=dmmX3V--/\`\i\ikk
 	
r   c                    dj                  dt        j                  d| j                  | j                  du rdnd| j                  | j                  du rdndz  | j
                  | j
                  du rdndz        | j                  j                         t        j                  d	| j                        | j                  | j                  du rdn| j                  j                         | j
                  | j
                  du rdn| j                  | j
                        t        j                  d	| j                        f      S )
Nr   s   r%   Fr   r   r&   r'   rj   )r(   r)   r*   rK  rL  r   r@   r+   r   rs   r   r"   s    r   r+   z#GetStoryReactionsListRequest._bytes  sc   xxKKD$7$7$?4CVCVZ_C_qefptp}p}  qF  JN  JW  JW  [`  J`kl  fg  h  qu  q|  q|  qD  HL  HS  HS  W\  H\  lm  bc  d  eIIKKdgg&==(DMMU,BCI]I]I_;;&$++*>CTEYEYZ^ZeZeEfKKdjj)
  	r   c                    |j                         }t        |dz        }|j                         }|j                         }|dz  r|j                         }nd }|dz  r|j                         }nd }|j                         } | ||||||      S )Nr   r&   r'   rN  r-   r.   rW   rv   )	r/   r0   r1   _forwards_firstrY   r   	_reactionr   r   s	            r   r4   z(GetStoryReactionsListRequest.from_reader  s    !uqy/$$&oo19,,.II19**,GG"#VO^gpwxxr   r  )r5   r6   r7   r8   r9   r}   r   r.   r|   r   rK   r#   r+   r:   r4   r;   r   r   rJ  rJ    s    NN	_ 	# 	c 	S[\`Sa 	rz  |J  sK 	  Zb  cf  Zg 	S	
	 y yr   rJ  c                   x    e Zd ZdZdZddddededed	ee   d
ee   dee   dee   fdZ	d Z
d Zd Zed        Zy)GetStoryViewsListRequestiW<~l   `ur Nr@   r   r   r   r   just_contactsreactions_firstrK  qc	                 t    || _         || _        || _        || _        || _        || _        || _        || _        y)zN
        :returns stories.StoryViewsList: Instance of StoryViewsList.
        Nr@   r   r   r   rX  rY  rK  rZ  )	r   r@   r   r   r   rX  rY  rK  rZ  s	            r   r   z!GetStoryViewsListRequest.__init__  s?     	
*.,r   c                 ~   K   |j                  |j                  | j                         d {         | _        y 7 wrD   rE   rH   s      r   rK   z GetStoryViewsListRequest.resolve  rL   rM   c           
      "   dt        | j                  t              r| j                  j                         n| j                  | j                  | j
                  | j                  | j                  | j                  | j                  | j                  d	S )NrW  )	r!   r@   r   r   r   rX  rY  rK  rZ  )rQ   r@   r   r#   r   r   r   rX  rY  rK  rZ  r"   s    r   r#   z GetStoryViewsListRequest.to_dict!  sl    ++5dii+JDII%%'PTPYPY''kkZZ!//#33"11

 
	
r   c                    dj                  dt        j                  d| j                  | j                  du rdnd| j                  | j                  du rdndz  | j
                  | j
                  du rdndz  | j                  | j                  du rdnd	z        | j                  j                         | j                  | j                  du rdn| j                  | j                        t        j                  d
| j                        | j                  | j                        t        j                  d
| j                        f      S )Nr   s   W<~r%   Fr   r&   r   r   r'   rj   )r(   r)   r*   rX  rY  rK  rZ  r@   r+   rs   r   r   r   r"   s    r   r+   zGetStoryViewsListRequest._bytes.  s   xxKKD$6$6$>$BTBTX]B]qcdnr  oC  oC  oK  OS  Oc  Oc  gl  Olij  rs  t  }A  }P  }P  }X  \`  \o  \o  sx  \x  xy  ~  @  IM  IO  IO  IW  [_  [a  [a  ej  [j  DE  pq  r  sII66>TVVu_C4;O;OPTPVPV;WKKdgg&  -KKdjj)
  	r   c           
      F   |j                         }t        |dz        }t        |dz        }t        |dz        }|j                         }|dz  r|j                         }nd }|j                         }|j                         }	|j                         }
 | |||	|
||||      S )Nr&   r   r   r'   r\  rS  )r/   r0   r1   _just_contacts_reactions_firstrT  rY   _qr   r   r   s              r   r4   z$GetStoryViewsListRequest.from_reader9  s    !eai	?uqy/$$&19%%'BBoo&&("#gVSa  tD  Ud  hj  k  	kr   NNNN)r5   r6   r7   r8   r9   r}   r|   r   r.   r   rK   r#   r+   r:   r4   r;   r   r   rW  rW    s    NN_ # s 3 _ghl_m   FN  OS  FT   ks  tx  ky   CK  LO  CP S
	 k kr   rW  c                   L    e Zd ZdZdZdddee   fdZd Zd Z	d	 Z
ed
        Zy)IncrementStoryViewsRequestl   
d r   r@   r   r   c                      || _         || _        yr   r   r   s      r   r   z#IncrementStoryViewsRequest.__init__O  r   r   c                 ~   K   |j                  |j                  | j                         d {         | _        y 7 wrD   rE   rH   s      r   rK   z"IncrementStoryViewsRequest.resolveV  rL   rM   c                     dt        | j                  t              r| j                  j                         n| j                  | j                  g dS | j                  d d  dS )Nrf  r   r   r"   s    r   r#   z"IncrementStoryViewsRequest.to_dictY  sW    -+5dii+JDII%%'PTPYPY"
 	
 .2WWQZ
 	
r   c                     dj                  d| j                  j                         dt        j                  dt        | j                              dj                  d | j                  D              f      S )Nr   s   ri   rj   c              3   H   K   | ]  }t        j                  d |        ywrl   rm   rn   s     r   rq   z4IncrementStoryViewsRequest._bytes.<locals>.<genexpr>d  r   rr   r   r"   s    r   r+   z!IncrementStoryViewsRequest._bytes`  s[    xxIID#dgg, ?HogkgngnHo@o
  	r   c                     |j                         }|j                          g }t        |j                               D ]#  }|j                         }|j                  |       %  | ||      S r   r   r   s         r   r4   z&IncrementStoryViewsRequest.from_readerg  r   r   Nr?  r;   r   r   rf  rf  K  r@  r   rf  c                   V    e Zd ZdZdZdddefdZd Zd Zd	 Z	e
d
        Zed        Zy)ReadStoriesRequestl   ZJ r   r@   r   max_idc                      || _         || _        yr   r@   ro  )r   r@   ro  s      r   r   zReadStoriesRequest.__init__w  r   r   c                 ~   K   |j                  |j                  | j                         d {         | _        y 7 wrD   rE   rH   s      r   rK   zReadStoriesRequest.resolve~  rL   rM   c                     dt        | j                  t              r| j                  j                         n| j                  | j                  dS )Nrn  )r!   r@   ro  )rQ   r@   r   r#   ro  r"   s    r   r#   zReadStoriesRequest.to_dict  s<    %+5dii+JDII%%'PTPYPYkk
 	
r   c                     dj                  d| j                  j                         t        j                  d| j
                        f      S )Nr   s   Vrj   )r(   r@   r+   r)   r*   ro  r"   s    r   r+   zReadStoriesRequest._bytes  s=    xxIIKKdkk*
  	r   c                 V    |j                         }|j                         } | ||      S )Nrq  r   )r/   r0   rY   _max_ids       r   r4   zReadStoriesRequest.from_reader  s)    $$&//#g..r   c                     | j                          t        | j                               D cg c]  }| j                          c}S c c}w rD   r   r   s     r   r   zReadStoriesRequest.read_result  r   r   N)r5   r6   r7   r8   r9   r}   r   rK   r#   r+   r:   r4   r   r   r;   r   r   rn  rn  s  sY    NN_ c S
 / /
 E Er   rn  c                   L    e Zd ZdZdZdddee   fdZd Zd Z	d	 Z
ed
        Zy)ReorderAlbumsRequestl   {k
 r   r@   r   orderc                      || _         || _        yr   r@   rz  )r   r@   rz  s      r   r   zReorderAlbumsRequest.__init__  s     	
r   c                 ~   K   |j                  |j                  | j                         d {         | _        y 7 wrD   rE   rH   s      r   rK   zReorderAlbumsRequest.resolve  rL   rM   c                     dt        | j                  t              r| j                  j                         n| j                  | j                  g dS | j                  d d  dS )Nry  )r!   r@   rz  )rQ   r@   r   r#   rz  r"   s    r   r#   zReorderAlbumsRequest.to_dict  sX    '+5dii+JDII%%'PTPYPY::-R
 	
 48::a=
 	
r   c                     dj                  d| j                  j                         dt        j                  dt        | j                              dj                  d | j                  D              f      S )Nr   s   5ri   rj   c              3   H   K   | ]  }t        j                  d |        ywrl   rm   rn   s     r   rq   z.ReorderAlbumsRequest._bytes.<locals>.<genexpr>  s     KuefFKKX\^_L`Kurr   )r(   r@   r+   r)   r*   rt   rz  r"   s    r   r+   zReorderAlbumsRequest._bytes  s[    xxIID#djj/ B388KujnjtjtKuCu
  	r   c                     |j                         }|j                          g }t        |j                               D ]#  }|j                         }|j                  |       %  | ||      S )Nr|  r   )r/   r0   rY   _orderr!   r{   s         r   r4   z ReorderAlbumsRequest.from_reader  sa    $$&v() 	A"BMM"	 V,,r   Nr?  r;   r   r   ry  ry    sG    NN_ T#Y S
 - -r   ry  c                   T    e Zd ZdZdZdddee   dedefdZ	d	 Z
d
 Zd Zed        Zy)ReportRequestiEl   8tY r@   r   r   optionmessagec                 <    || _         || _        || _        || _        y)z
        :returns ReportResult: Instance of either ReportResultChooseOption, ReportResultAddComment, ReportResultReported.
        Nr@   r   r  r  )r   r@   r   r  r  s        r   r   zReportRequest.__init__  s      	r   c                 ~   K   |j                  |j                  | j                         d {         | _        y 7 wrD   rE   rH   s      r   rK   zReportRequest.resolve  rL   rM   c                     dt        | j                  t              r| j                  j                         n| j                  | j                  g n| j                  d d  | j
                  | j                  dS )Nr  )r!   r@   r   r  r  )rQ   r@   r   r#   r   r  r  r"   s    r   r#   zReportRequest.to_dict  sX     +5dii+JDII%%'PTPYPY"TWWQZkk||
 	
r   c                 T   dj                  d| j                  j                         dt        j                  dt        | j                              dj                  d | j                  D              | j                  | j                        | j                  | j                        f      S )Nr   s   Eri   rj   c              3   H   K   | ]  }t        j                  d |        ywrl   rm   rn   s     r   rq   z'ReportRequest._bytes.<locals>.<genexpr>  r   rr   )
r(   r@   r+   r)   r*   rt   r   rs   r  r  r"   s    r   r+   zReportRequest._bytes  s    xxIID#dgg, ?HogkgngnHo@o  -  .
  	r   c                    |j                         }|j                          g }t        |j                               D ]#  }|j                         }|j                  |       % |j	                         }|j                         } | ||||      S )Nr  )rW   r-   rw   rx   tgread_bytesrv   )r/   r0   rY   r   r!   r{   _option_messages           r   r4   zReportRequest.from_reader  s    $$&v() 	A"BJJrN	 %%''')#gxHHr   N)r5   r6   r7   r8   r9   r   r}   bytesr|   r   rK   r#   r+   r:   r4   r;   r   r   r  r    sX    NN_ $s) U UX S
 
I 
Ir   r  c                   f    e Zd ZdZdZddededee   ded   d	ed
   f
dZd Z	d Z
d Zed        Zy)SearchPostsRequestl   	# i5yNr   r   hashtagarear   r@   r   c                 J    || _         || _        || _        || _        || _        y)zJ
        :returns stories.FoundStories: Instance of FoundStories.
        Nr   r   r  r  r@   )r   r   r   r  r  r@   s         r   r   zSearchPostsRequest.__init__  s'     
		r   c                    K   | j                   r8|j                  |j                  | j                          d {         | _         y y 7 wrD   )r@   rF   rG   rH   s      r   rK   zSearchPostsRequest.resolve  s9     99,,63J3J4993U-UVDI -Us   6A
AA
c           	      L   d| j                   | j                  | j                  t        | j                  t
              r| j                  j                         n| j                  t        | j                  t
              r| j                  j                         dS | j                  dS )Nr  )r!   r   r   r  r  r@   )r   r   r  rQ   r  r   r#   r@   r"   s    r   r#   zSearchPostsRequest.to_dict  s~    %kkZZ||+5dii+JDII%%'PTPYPY+5dii+JDII%%'
 	
 QUPYPY
 	
r   c                    dj                  dt        j                  d| j                  | j                  du rdnd| j                  | j                  du rdndz  | j
                  | j
                  du rdndz        | j                  | j                  du rdn| j                  | j                        | j                  | j                  du rdn| j                  j                         | j
                  | j
                  du rdn| j
                  j                         | j                  | j                        t        j                  d	| j                        f      S )
Nr   s   	r%   Fr   r&   r'   r   rj   )
r(   r)   r*   r  r  r@   rs   r+   r   r   r"   s    r   r+   zSearchPostsRequest._bytes  sl   xxKKDLL$8DLLE<QqWXbfbkbkbsw{  xA  xA  EJ  xJ]^  PQ  R  [_  [d  [d  [l  pt  py  py  }B  pB  VW  HI  J  K<<'4<<5+@CtG[G[\`\h\hGi99$		U(:CAQAQAS99$		U(:CAQAQAS  -KKdjj)
  	r   c                    |j                         }|dz  r|j                         }nd }|dz  r|j                         }nd }|dz  r|j                         }nd }|j                         }|j                         } | |||||      S )Nr&   r'   r   r  )r-   rv   rW   )r/   r0   r1   _hashtag_arearY   r   r   s           r   r4   zSearchPostsRequest.from_reader  s    !19++-HH19((*EE19((*EE&&("'TYZZr   r  )r5   r6   r7   r8   r9   r|   r}   r   r   rK   r#   r+   r:   r4   r;   r   r   r  r    sx    NNs 3 # S[\kSl   zB  CR  zS W
	 [ [r   r  c            
       V    e Zd ZdZdZddddeddd	ee   fd
Zd Z	d Z
d Zed        Zy)SendReactionRequesti6r   Nr@   r   story_idrL  r   add_to_recentc                 <    || _         || _        || _        || _        yr   r@   r  rL  r  )r   r@   r  rL  r  s        r   r   zSendReactionRequest.__init__3  s!     	  *r   c                 ~   K   |j                  |j                  | j                         d {         | _        y 7 wrD   rE   rH   s      r   rK   zSendReactionRequest.resolve<  rL   rM   c                 2   dt        | j                  t              r| j                  j                         n| j                  | j                  t        | j
                  t              r| j
                  j                         n| j
                  | j                  dS )Nr  )r!   r@   r  rL  r  )rQ   r@   r   r#   r  rL  r  r"   s    r   r#   zSendReactionRequest.to_dict?  sk    &+5dii+JDII%%'PTPYPY3=dmmX3V--/\`\i\i!//
 	
r   c           	      *   dj                  dt        j                  d| j                  | j                  du rdnd      | j                  j                         t        j                  d| j                        | j                  j                         f      S )Nr   s   6r%   Fr   r&   rj   )r(   r)   r*   r  r@   r+   r  rL  r"   s    r   r+   zSendReactionRequest._bytesH  sw    xxKKD$6$6$>$BTBTX]B]qcdfIIKKdmm,MM  "
  	r   c                     |j                         }t        |dz        }|j                         }|j                         }|j                         } | ||||      S )Nr&   r  )r-   r.   rW   )r/   r0   r1   _add_to_recentrY   	_story_idrU  s          r   r4   zSendReactionRequest.from_readerQ  sU    !eai$$&OO%	((*		IUcddr   rD   )r5   r6   r7   r8   r9   r}   r   r.   r   rK   r#   r+   r:   r4   r;   r   r   r  r  /  sZ    NN+_ + +~ +fnosft +S
 e er   r  c                        e Zd ZdZdZdddddded	   d
ee   dee   dee   deed      dee   deed      de	dee	   ded   dee	   deee	      ded   fdZ
d Zd Zd Zed        Zy)SendStoryRequestl   h< r   Nr@   r   r   r   r   r   pinned
noforwardsfwd_modifiedr   r   r   r   r   	random_idperiodfwd_from_idfwd_from_storyalbumsr   r   c                 0   || _         || _        || _        || _        || _        || _        || _        || _        |	| _        |
|
n*t        j                  t        j                  d      dd      | _        || _        || _        || _        || _        || _        yr   Nr   bigT)signed)r@   r   r   r  r  r  r   r   r   r}   
from_bytesosurandomr  r  r  r  r  r   )r   r@   r   r   r  r  r  r   r   r   r  r  r  r  r  r   s                   r   r   zSendStoryRequest.__init__`  s     	
*$(& &/&;PRPZPZ[\P]_dmqAr&,
r   c                   K   |j                  |j                  | j                         d {         | _        |j                  | j                        | _        | j
                  r7|j                  |j                  | j
                         d {         | _        | j                  r!|j                  | j                        | _        y y 7 7 =wrD   )rF   rG   r@   r   r   r  r   r   rH   s      r   rK   zSendStoryRequest.resolvet  s     ((v/F/Ftyy/Q)QR	**4::6
$33&:Q:QRVRbRb:c4cdD::11$**=DJ  *R 5ds"   *CCA"CC<CCc           	         i dddt        | j                  t              r| j                  j                         n| j                  dt        | j                  t              r| j                  j                         n| j                  d| j
                  g n9| j
                  D cg c]$  }t        |t              r|j                         n|& c}d| j                  d| j                  d| j                  d	| j                  g n9| j                  D cg c]$  }t        |t              r|j                         n|& c}d
| j                  d| j                  g n9| j                  D cg c]$  }t        |t              r|j                         n|& c}d| j                  d| j                  dt        | j                  t              r| j                  j                         n| j                  d| j                  d| j                   g n| j                   d d  dt        | j"                  t              r| j"                  j                         S | j"                  S c c}w c c}w c c}w )Nr!   r  r@   r   r   r  r  r  r   r   r   r  r  r  r  r  r   )rQ   r@   r   r#   r   r   r  r  r  r   r   r   r  r  r  r  r  r   r   s     r   r#   zSendStoryRequest.to_dict}  sp   
#
:dii+JDII%%'PTPYPY
 Z

H-MTZZ'')SWS]S]
 4#5#5#=R{  |N  |N  DOvwS]^_aiSjAIIKpqDq  DO	

 dkk
 $//
 D--
 !1!1!92w{  xH  xH  @IrszZ[]eOf		lm@m  @I
 t||
 dmm3quq~q~9lmTUW_I`!))+fg:g9
 
 dkk
 DDTDTV^9_4++335eieueu
 d11
 DKK/bT[[^
  Z

H-MTZZ'')!
 	
  TXS]S]!
 	
 DO @I9s   $)I)I$*)I)c                 	   | j                   s| j                   | j                  sG| j                  ;| j                   | j                   du r| j                  | j                  du sJ d       dj                  dt        j                  d| j
                  | j
                  du rdnd| j                  | j                  du rdndz  | j                  | j                  du rdnd	z  | j                  | j                  du rdnd
z  | j                  | j                  du rdndz  | j                  | j                  du rdndz  | j                  | j                  du rdndz  | j                   | j                   du rdndz  | j                  | j                  du rdndz  | j                  | j                  du rdndz  | j                  | j                  du rdndz        | j                  j                         | j                   j                         | j                  | j                  du rdnZdj                  dt        j                  dt#        | j                              dj                  d | j                  D              f      | j                  | j                  du rdn| j%                  | j                        | j                  | j                  du rdnZdj                  dt        j                  dt#        | j                              dj                  d | j                  D              f      dt        j                  dt#        | j&                              dj                  d | j&                  D              t        j                  d| j(                        | j                  | j                  du rdnt        j                  d| j                        | j                   | j                   du rdn| j                   j                         | j                  | j                  du rdnt        j                  d| j                        | j                  | j                  du rdnZdj                  dt        j                  dt#        | j                              dj                  d | j                  D              f      | j                  | j                  du rdf      S | j                  j                         f      S )NFzWfwd_from_id, fwd_from_story parameters must all be False-y (like None) or all be True-yr   s   hr%   r   r   r          r&   r'   r   @         ri   rj   c              3   <   K   | ]  }|j                           y wrD   r   rn   s     r   rq   z*SendStoryRequest._bytes.<locals>.<genexpr>  r   r   c              3   <   K   | ]  }|j                           y wrD   r   rn   s     r   rq   z*SendStoryRequest._bytes.<locals>.<genexpr>  r   r   c              3   <   K   | ]  }|j                           y wrD   r   rn   s     r   rq   z*SendStoryRequest._bytes.<locals>.<genexpr>       S{cdTUT\T\T^S{r   r   c              3   H   K   | ]  }t        j                  d |        ywrl   rm   rn   s     r   rq   z*SendStoryRequest._bytes.<locals>.<genexpr>  sE       Oz  ij  PV  P[  P[  \`  bc  Pd  Ozrr   )r  r  r(   r)   r*   r  r  r  r   r   r   r  r  r   r@   r+   r   rt   rs   r   r  r"   s    r   r+   zSendStoryRequest._bytes  s^   !!T%5%5%AH[H[_c_r_r_~  GK  GW  GW  G_  cg  cs  cs  w|  c|  CG  CV  CV  C^  bf  bu  bu  y~  b~  	[  B[  	[  @xxKKDKK$74;;%;OqUV`d`o`o`w{  |K  |K  OT  |T[\  Z\  ]  fj  fw  fw  f  CG  CT  CT  X]  C]  ab  cf  g  pt  p@  p@  pH  LP  L\  L\  `e  Le  kl  km  n  w{  wC  wC  wK  OS  O[  O[  _d  Od  rs  jk  l  uy  uB  uB  uJ  NR  N[  N[  _d  Nd  pq  jk  l  uy  u@  u@  uH  LP  LW  LW  [`  L`  pq  fg  h  qu  qA  qA  qI  MQ  M]  M]  af  Mf  lm  ln  o  x|  xK	  xK	  xS	  W	[	  W	j	  W	j	  n	s	  W	s	  st  y	{	  |	  E
I
  E
P
  E
P
  E
X
  \
`
  \
g
  \
g
  k
p
  \
p
  @
A
  v
y
  z
  CG  CM  CM  CU  Y]  Yc  Yc  gl  Yl  ~

  ru  v  wIIJJ##+t/?/?5/HCchhXklrlwlwx|  B  CG  CS  CS  T  mU  VY  V^  V^  ^D  sw  sC  sC  ^D  VD  XE  OF<<'4<<5+@CtG[G[\`\h\hGi==(DMMU,BCReflfqfqrvx{  }A  }J  }J  yK  gL  MP  MU  MU  Ux  jn  jw  jw  Ux  Mx  Ry  IzD#d6H6H2I J388S{hlhzhzS{K{KKdnn-;;&$++*>CV[[QUW[WbWbEc##+t/?/?5/HCtO_O_OfOfOh&&.$2E2E2NCU[U`U`aegkgzgzU{;;&$++*>CCHHNabhbmbmnrtwx|  yD  yD  uE  cF  GJ  GO  GO  Oz  nr  ny  ny  Oz  Gz  N{  E|::%u)<C
  	 DH::CTCTCV
  	r   c                    |j                         }t        |dz        }t        |dz        }t        |dz        }|j                         }|j                         }|dz  rR|j                          g }t        |j                               D ]#  }	|j                         }
|j	                  |
       % nd }|dz  r|j                         }nd }|dz  rR|j                          g }t        |j                               D ]#  }	|j                         }
|j	                  |
       % nd }|j                          g }t        |j                               D ]#  }	|j                         }
|j	                  |
       % |j                         }|dz  r|j                         }nd }|dz  r|j                         }nd }|dz  r|j                         }nd }|d	z  rR|j                          g }t        |j                               D ]#  }	|j                         }
|j	                  |
       % nd }|d
z  r|j                         }nd } | |||||||||||||||      S )Nr   r   r  r  r&   r'   r   r  r  r  )r@   r   r   r  r  r  r   r   r   r  r  r  r  r  r   )r-   r.   rW   rw   rx   rv   r   )r/   r0   r1   _pinned_noforwards_fwd_modifiedrY   r   r   r!   r{   r   r   r   
_random_id_period_fwd_from_id_fwd_from_story_albumsr   s                       r   r4   zSendStoryRequest.from_reader  s   !uqy/52:&US[)$$&%%'2:OOL6??,- ())+##B'(
  L19++-HH19OOI6??,- %))+  $%
 Iv() 	&A%%'B!!"%	& %%'
19oo'GG2:!//1LL2:$oo/O"O3;OOG6??,- #__&r"#
 G3;))+FFV>RYfq  AN  \h  rz  EN  Zd  mt  BN  _n  w~  FL  M  	Mr   )NNNNNNNNNNNNr5   r6   r7   r8   r9   r   r   r.   r|   r}   r   rK   r#   r+   r:   r4   r;   r   r   r  r  \  s   NN_ 5E VZ[qVr   }E  FJ  }K   ^f  gk  ^l   AI  JN  AO   ck  lp  q@  lA  cB   RZ  [^  R_   px  y}  ~Q  yR  pS   eh   w  @C  wD   X`  ap  Xq   HP  QT  HU   dl  mq  ru  mv  dw   EM  Na  Eb (>
(& >M >Mr   r  c                       e Zd ZdZdZdddded   dee   d	ee   d
ee   dee   deed      de	dee   dee	   fdZ
d Zd Zd Zed        Zy)StartLiveRequestl   L  r   Nr@   r   r   r   r  r  rtmp_streamr   r   r   r  messages_enabledsend_paid_messages_starsc                     || _         || _        || _        || _        || _        || _        || _        ||n*t        j                  t        j                  d      dd      | _        |	| _        |
| _        yr  )r@   r   r  r  r  r   r   r}   r  r  r  r  r  r  )r   r@   r   r  r  r  r   r   r  r  r  s              r   r   zStartLiveRequest.__init__  ss     	*$& &/&;PRPZPZ[\P]_dmqAr 0(@%r   c                 ~   K   |j                  |j                  | j                         d {         | _        y 7 wrD   rE   rH   s      r   rK   zStartLiveRequest.resolve  rL   rM   c                 R   dt        | j                  t              r| j                  j                         n| j                  | j                  g n9| j                  D cg c]$  }t        |t              r|j                         n|& c}| j
                  | j                  | j                  | j                  | j                  g n9| j                  D cg c]$  }t        |t              r|j                         n|& c}| j                  | j                  | j                  dS c c}w c c}w )Nr  )r!   r@   r   r  r  r  r   r   r  r  r  )rQ   r@   r   r#   r   r  r  r  r   r   r  r  r  r   s     r   r#   zStartLiveRequest.to_dict  s    #+5dii+JDII%%'PTPYPY#'#5#5#=R{  |N  |N  DOvwS]^_aiSjAIIKpqDq  DOkk//++||"mm3quq~q~9lmTUW_I`!))+fg:g9 $ 5 5(,(E(E
 	
 DO
 :@s   )D)D$c                    dj                  dt        j                  d| j                  | j                  du rdnd| j                  | j                  du rdndz  | j
                  | j
                  du rdndz  | j                  | j                  du rdnd	z  | j                  | j                  du rdnd
z  | j                  dndz  | j                  | j                  du rdndz        | j                  j                         | j                  | j                  du rdn| j                  | j                        | j                  | j                  du rdnZdj                  dt        j                  dt        | j                              dj                  d | j                  D              f      dt        j                  dt        | j                              dj                  d | j                  D              t        j                  d| j                        | j                  dn| j                  rdnd| j                  | j                  du rdf      S t        j                  d| j                        f      S )Nr   s   ir%   Fr   r   r   r  r&   r'   r  r  ri   rj   c              3   <   K   | ]  }|j                           y wrD   r   rn   s     r   rq   z*StartLiveRequest._bytes.<locals>.<genexpr>  r   r   c              3   <   K   | ]  }|j                           y wrD   r   rn   s     r   rq   z*StartLiveRequest._bytes.<locals>.<genexpr>  r  r   r      ur   7y)r(   r)   r*   r  r  r  r   r   r  r  r@   r+   rs   rt   r   r  r"   s    r   r+   zStartLiveRequest._bytes  s   xxKKDKK$74;;%;OqUV`d`o`o`w{  |K  |K  OT  |T[\  Z\  ]  fj  fv  fv  f~  BF  BR  BR  V[  B[  ab  ac  d  mq  my  my  mA  EI  EQ  EQ  UZ  EZ  hi  `a  b  ko  kx  kx  k@  DH  DQ  DQ  UZ  DZ  fg  `a  b  ko  k@  k@  kH  fg  NP  Q  Z^  Zw  Zw  Z  CG  C`  C`  di  Ci  UV  or  s  tII<<'4<<5+@CtG[G[\`\h\hGi==(DMMU,BCReflfqfqrvx{  }A  }J  }J  yK  gL  MP  MU  MU  Ux  jn  jw  jw  Ux  Mx  Ry  IzD#d6H6H2I J388S{hlhzhzS{K{KKdnn-((0CH]H]}cp008D<Y<Y]b<bC

 
 
	 jpitituy{  |Y  |Y  jZ

 
 
	r   c                    |j                         }t        |dz        }t        |dz        }t        |dz        }|j                         }|dz  r|j                         }nd }|dz  rR|j                          g }t	        |j                               D ]#  }	|j                         }
|j                  |
       % nd }|j                          g }t	        |j                               D ]#  }	|j                         }
|j                  |
       % |j                         }|dz  r|j                         }nd }|dz  r|j                         }nd } | ||||||||||
      S )	Nr   r   r  r&   r'   r  r  )
r@   r   r  r  r  r   r   r  r  r  )r-   r.   rW   rv   rw   rx   r   tgread_bool)r/   r0   r1   r  r  _rtmp_streamrY   r   r   r!   r{   r   r  _messages_enabled_send_paid_messages_starss                  r   r4   zStartLiveRequest.from_reader  s   !uqy/52:&EBJ'$$&19++-HH19OOI6??,- %))+  $%
 Iv() 	&A%%'B!!"%	& %%'
2: & 2 2 4 $3;(.(8(8(:%(,%^GXcq}  HP  [d  pz  M^  yR  S  	Sr   )NNNNNNNNr  r;   r   r   r  r    s   NNA_ ATBX=Y Acklpcq A  EM  NR  ES A  go  pt  gu A  EM  NQ  ER A  ck  lp  qD  lE  cF A  X[ A  t|  }A  tB A  ck  lo  cp AS
 #S #Sr   r  c                   <    e Zd ZdZdZdefdZd Zd Ze	d        Z
y)	ToggleAllStoriesHiddenRequestiW%|r   r   c                     || _         yr   r   )r   r   s     r   r   z&ToggleAllStoriesHiddenRequest.__init__C  s     r   c                      d| j                   dS )Nr  )r!   r   r  r"   s    r   r#   z%ToggleAllStoriesHiddenRequest.to_dictI  s    0kk
 	
r   c                 N    dj                  d| j                  rdf      S df      S )Nr   s   W%|r  r  )r(   r   r"   s    r   r+   z$ToggleAllStoriesHiddenRequest._bytesO  s6    xx![[M
  	.;
  	r   c                 4    |j                         } | |      S )Nr  )r  )r/   r0   r  s      r   r4   z)ToggleAllStoriesHiddenRequest.from_readerU  s    $$&'""r   N)r5   r6   r7   r8   r9   r.   r   r#   r+   r:   r4   r;   r   r   r  r  ?  s6    NNt 
 # #r   r  c                   F    e Zd ZdZdZdddefdZd Zd Zd	 Z	e
d
        Zy)TogglePeerStoriesHiddenRequestl   z r   r@   r   r   c                      || _         || _        yr   r@   r   )r   r@   r   s      r   r   z'TogglePeerStoriesHiddenRequest.__init___  r   r   c                 ~   K   |j                  |j                  | j                         d {         | _        y 7 wrD   rE   rH   s      r   rK   z&TogglePeerStoriesHiddenRequest.resolvef  rL   rM   c                     dt        | j                  t              r| j                  j                         n| j                  | j                  dS )Nr  )r!   r@   r   )rQ   r@   r   r#   r   r"   s    r   r#   z&TogglePeerStoriesHiddenRequest.to_dicti  s<    1+5dii+JDII%%'PTPYPYkk
 	
r   c                     dj                  d| j                  j                         | j                  rdf      S df      S )Nr   s   r  r  )r(   r@   r+   r   r"   s    r   r+   z%TogglePeerStoriesHiddenRequest._bytesp  sH    xxII![[M
  	 /<
  	r   c                 V    |j                         }|j                         } | ||      S )Nr  )rW   r  )r/   r0   rY   r  s       r   r4   z*TogglePeerStoriesHiddenRequest.from_readerw  s+    $$&$$&g..r   N)r5   r6   r7   r8   r9   r.   r   rK   r#   r+   r:   r4   r;   r   r   r  r  [  sC    NN_ d S
 / /r   r  c                   `    e Zd ZdZdZdddee   defdZd Z	d	 Z
d
 Zed        Zed        Zy)TogglePinnedRequestl   !4 r   r@   r   r   r  c                 .    || _         || _        || _        yr   r@   r   r  )r   r@   r   r  s       r   r   zTogglePinnedRequest.__init__  s     	r   c                 ~   K   |j                  |j                  | j                         d {         | _        y 7 wrD   rE   rH   s      r   rK   zTogglePinnedRequest.resolve  rL   rM   c                     dt        | j                  t              r| j                  j                         n| j                  | j                  g n| j                  d d  | j
                  dS )Nr  )r!   r@   r   r  )rQ   r@   r   r#   r   r  r"   s    r   r#   zTogglePinnedRequest.to_dict  sQ    &+5dii+JDII%%'PTPYPY"TWWQZkk	
 	
r   c                    dj                  d| j                  j                         dt        j                  dt        | j                              dj                  d | j                  D              | j                  rdf      S df      S )Nr   s   uri   rj   c              3   H   K   | ]  }t        j                  d |        ywrl   rm   rn   s     r   rq   z-TogglePinnedRequest._bytes.<locals>.<genexpr>  r   rr   r  r  )r(   r@   r+   r)   r*   rt   r   r  r"   s    r   r+   zTogglePinnedRequest._bytes  sx    xxIID#dgg, ?HogkgngnHo@o![[M	
  	 /<	
  	r   c                     |j                         }|j                          g }t        |j                               D ]#  }|j                         }|j                  |       % |j	                         } | |||      S )Nr  )rW   r-   rw   rx   r  )r/   r0   rY   r   r!   r{   r  s          r   r4   zTogglePinnedRequest.from_reader  sp    $$&v() 	A"BJJrN	 $$&#g66r   c                     | j                          t        | j                               D cg c]  }| j                          c}S c c}w rD   r   r   s     r   r   zTogglePinnedRequest.read_result  r   r   N)r5   r6   r7   r8   r9   r   r}   r.   r   rK   r#   r+   r:   r4   r   r   r;   r   r   r  r  ~  sd    NN_ $s) T S
 	7 	7 E Er   r  c                   L    e Zd ZdZdZdddee   fdZd Zd Z	d	 Z
ed
        Zy)TogglePinnedToTopRequesti~)r   r@   r   r   c                      || _         || _        yr   r   r   s      r   r   z!TogglePinnedToTopRequest.__init__  r   r   c                 ~   K   |j                  |j                  | j                         d {         | _        y 7 wrD   rE   rH   s      r   rK   z TogglePinnedToTopRequest.resolve  rL   rM   c                     dt        | j                  t              r| j                  j                         n| j                  | j                  g dS | j                  d d  dS )Nr  r   r   r"   s    r   r#   z TogglePinnedToTopRequest.to_dict  sW    ++5dii+JDII%%'PTPYPY"
 	
 .2WWQZ
 	
r   c                     dj                  d| j                  j                         dt        j                  dt        | j                              dj                  d | j                  D              f      S )Nr   s   ~)ri   rj   c              3   H   K   | ]  }t        j                  d |        ywrl   rm   rn   s     r   rq   z2TogglePinnedToTopRequest._bytes.<locals>.<genexpr>  r   rr   r   r"   s    r   r+   zTogglePinnedToTopRequest._bytes  r   r   c                     |j                         }|j                          g }t        |j                               D ]#  }|j                         }|j                  |       %  | ||      S r   r   r   s         r   r4   z$TogglePinnedToTopRequest.from_reader  r   r   Nr?  r;   r   r   r  r    sG    NN_ $s) S
 ' 'r   r  c                       e Zd ZdZdZddddedee   deee      d	eee      d
eee      fdZ	d Z
d Zd Zed        Zy)UpdateAlbumRequestiYR^r`   Nr@   r   r   ra   delete_storiesadd_storiesrz  c                 X    || _         || _        || _        || _        || _        || _        yrd   r@   r   ra   r  r  rz  )r   r@   r   ra   r  r  rz  s          r   r   zUpdateAlbumRequest.__init__  s0     	 
,&
r   c                 ~   K   |j                  |j                  | j                         d {         | _        y 7 wrD   rE   rH   s      r   rK   zUpdateAlbumRequest.resolve  rL   rM   c           	      `   dt        | j                  t              r| j                  j                         n| j                  | j                  | j
                  | j                  g n| j                  d d  | j                  g n| j                  d d  | j                  g dS | j                  d d  dS )Nr  )r!   r@   r   ra   r  r  rz  )	rQ   r@   r   r#   r   ra   r  r  rz  r"   s    r   r#   zUpdateAlbumRequest.to_dict  s    %+5dii+JDII%%'PTPYPYZZ$($7$7$?bTEXEXYZE[!%!1!1!92t?O?OPQ?R::-R
 	
 48::a=
 	
r   c                    dj                  dt        j                  d| j                  | j                  du rdnd| j                  | j                  du rdndz  | j
                  | j
                  du rdndz  | j                  | j                  du rdnd	z        | j                  j                         t        j                  d
| j                        | j                  | j                  du rdn| j                  | j                        | j                  | j                  du rdnZdj                  dt        j                  d
t        | j                              dj                  d | j                  D              f      | j
                  | j
                  du rdnZdj                  dt        j                  d
t        | j
                              dj                  d | j
                  D              f      | j                  | j                  du rdf      S dj                  dt        j                  d
t        | j                              dj                  d | j                  D              f      f      S )Nr   s   YR^r%   Fr   r&   r'   r   r   rj   ri   c              3   H   K   | ]  }t        j                  d |        ywrl   rm   rn   s     r   rq   z,UpdateAlbumRequest._bytes.<locals>.<genexpr>  sE       gZ  AB  hn  hs  hs  tx  z{  h|  gZrr   c              3   H   K   | ]  }t        j                  d |        ywrl   rm   rn   s     r   rq   z,UpdateAlbumRequest._bytes.<locals>.<genexpr>  sE       ^N  xy  _e  _j  _j  ko  qr  _s  ^Nrr   c              3   H   K   | ]  }t        j                  d |        ywrl   rm   rn   s     r   rq   z,UpdateAlbumRequest._bytes.<locals>.<genexpr>  sE       Lv  fg  MS  MX  MX  Y]  _`  Ma  Lvrr   )r(   r)   r*   ra   r  r  rz  r@   r+   r   rs   rt   r"   s    r   r+   zUpdateAlbumRequest._bytes  sy   xxKKDJJ$6$**:MqST^b^q^q^y  ~B  ~Q  ~Q  UZ  ~ZYZ  `a  b  ko  k{  k{  kC  GK  GW  GW  [`  G`  fg  fg  h  qu  q{  q{  qC  GK  GQ  GQ  UZ  GZ  lm  `a  b  cIIKKdmm,::%u)<C4CWCWX\XbXbCc&&.$2E2E2NCTWT\T\^qrxr}r}  C  EH  IM  I\  I\  E]  s^  _b  _g  _g  gZ  FJ  FY  FY  gZ  _Z  ^[  U\##+t/?/?5/HCchhXklrlwlwx|  B  CG  CS  CS  T  mU  VY  V^  V^  ^N  }A  }M  }M  ^N  VN  XO  OP::%u)<C	
 	 		 CF((L_`f`k`klpruvz  wA  wA  sB  aC  DG  DL  DL  Lv  ko  ku  ku  Lv  Dv  Lw  Cx	
 	 		r   c                    |j                         }|j                         }|j                         }|dz  r|j                         }nd }|dz  rR|j                          g }t        |j                               D ]#  }|j                         }|j	                  |       % nd }|dz  rR|j                          g }	t        |j                               D ]#  }|j                         }|	j	                  |       % nd }	|dz  rR|j                          g }
t        |j                               D ]#  }|j                         }|
j	                  |       % nd }
 | |||||	|
      S )Nr&   r'   r   r   r
  )r-   rW   rv   rw   rx   )r/   r0   r1   rY   r   ry   _delete_storiesr!   r{   _add_storiesr  s              r   r4   zUpdateAlbumRequest.from_reader   sX   !$$&OO%	19))+FF19OO O6??,- +__&&&r*+
 #O19OOL6??,- (__&##B'(
  L19OOF6??,- "__&b!"
 F	P_my  BH  I  	Ir   rd  )r5   r6   r7   r8   r9   r}   r   r|   r   r   rK   r#   r+   r:   r4   r;   r   r   r  r    s    NN	_ 	 	HSM 	hpquvyqzh{ 	  PX  Y]  ^a  Yb  Pc 	  qy  z~  B  zC  qD 	S	

 $I $Ir   r  )5__doc__tl.tlobjectr   r   typingr   r   r   r	   r  r)   r
   tl.typesr   r   r   r   r   r   r   r   r=   r_   r   r   r   r   r   r   r   r   r  r  r  r  r1  r8  rB  rJ  rW  rf  rn  ry  r  r  r  r  r  r  r  r  r  r  r;   r   r   <module>r     s   H # $ 7 7 	   S  S  S/ /B) >)? )?X 3  3F*E9 *EZbay baJ 'Y  'F(QY (QV +y  +F9 &%=9 %=PI &%9 %PI >$Ci $CN$Cy $CN%'I %'P%'Y %'P8y9 8yv;ky ;k|%' %'P%E %EP%-9 %-P-II -I`9[ 9[x*e) *eZGMy GMTVSy VSr#I #8 /Y  /F.E) .Eb%'y %'PNI NIr   