Changeset 1223304
- Timestamp:
- 08/18/2015 06:04:24 AM (10 years ago)
- Location:
- teletter-telegram-newsletter/trunk/includes
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
teletter-telegram-newsletter/trunk/includes/api-page.php
r1221406 r1223304 4 4 $offset = get_site_option( 'lastupdateid' ); 5 5 $limit = $options['tbot_select_limit']; 6 $welcome = $options['tbot_text_newsubscriber']; 7 if($welcome == '') {$welcome = 'Successfully Subscribed';} 6 8 $offset = $offset+1; 7 9 $url = 'https://api.telegram.org/bot'.$token.'/getUpdates'; … … 70 72 // Send a message to user to know that subscriptions is activated 71 73 $url = 'https://api.telegram.org/bot'.$token.'/sendMessage'; 72 $data = array('chat_id' => $user_id,'text' => 'عضویت تایید شد.');74 $data = array('chat_id' => $user_id,'text' => $welcome); 73 75 $options = array( 74 76 'http' => array( -
teletter-telegram-newsletter/trunk/includes/getupdates.php
r1221406 r1223304 7 7 $method = $options['tbot_select_method']; 8 8 $limit = $options['tbot_select_limit']; 9 $welcome = $options['tbot_text_newsubscriber']; 10 if($welcome == '') {$welcome = 'Successfully Subscribed';} 9 11 $offset = get_site_option( 'lastupdateid' ); 10 12 $offset = $offset+1; … … 72 74 // Send a message to user to know that subscriptions is activated 73 75 $url = 'https://api.telegram.org/bot'.$token.'/sendMessage'; 74 $data = array('chat_id' => $user_id,'text' => 'عضویت تایید شد.');76 $data = array('chat_id' => $user_id,'text' => $welcome); 75 77 $options = array( 76 78 'http' => array(
Note: See TracChangeset
for help on using the changeset viewer.