Esempio n. 1
0
 public function main()
 {
     Telegram::sendChatSendingPhotoStatus($this->Message->Chat->id);
     $local_path = random_pic(PHOTO_DIR);
     PhotoCache::SendPhotoByPath($this->db, $local_path, $this->Message->Chat->id);
 }
Esempio n. 2
0
 public function t_banana()
 {
     $local_path = random_pic(BANANA_DIR);
     PhotoCache::SendPhotoByPath($this->db, $local_path, $this->Message->Chat->id);
 }
Esempio n. 3
0
 public function main()
 {
     Telegram::sendChatSendingPhotoStatus($this->Message->Chat->id);
     PhotoCache::SendPhotoByPath($this->db, PHOTO_DIR . '/spoonm.jpg', $this->Message->Chat->id);
 }