SHARE
TWEET

Untitled

a guest Oct 21st, 2019 70 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.                 if key['type'] == 'photo':
  2.                     write_msg(from_id, 'it is a photo')
  3.                     send_file(mess, user_id)
  4.  
  5.                 if key['type'] == 'video':
  6.                     write_msg(from_id, 'it is a video')
  7.                     send_file(mess, user_id)
  8.  
  9.                 if key['type'] == 'doc':
  10.                     write_msg(from_id, 'it is a doc')
  11.                     send_file(mess, user_id)
  12.  
  13.                 if key['type'] == 'audio':
  14.                     write_msg(from_id, 'it is an audio')
  15.                     send_file(mess, user_id)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top