__('Purple', 'chaty'), '#86CD91' => __('Green', 'chaty'), '#4F6ACA' => __('Blue', 'chaty'), '#FF6060' => __('Red', 'chaty'), '#000' => __('Black', 'chaty'), '#EEF075' => __('Yellow', 'chaty'), '#FF95EE' => __('Pink', 'chaty') ); } /* List of button types for widget */ public function get_widget_types() { return [ 'default' => 'default', 'smile' => 'smile', 'points' => 'points', 'two' => 'two', 'custom' => 'custom' ]; } /* Social icon list for admin */ public function get_icons_list() { return array( array( 'example' => '1507854875', 'placeholder' => __('Phone number', 'chaty'), 'help_title' => 'How do I use this?', 'help' => 'Enter your country code (in our example 1) and then your number without a leading zero (in our example 507854875)', 'slug' => 'Whatsapp', 'svg' => ' ', 'title' => 'WhatsApp', 'color' => '#49E670', 'attr' => 'phone-number' ), array( 'example' => 'https://m.me/Coca-Cola/', 'placeholder' => __('https://m.me/Coca-Cola/', 'chaty'), 'slug' => 'Facebook_Messenger', 'title' => 'Facebook Messenger', 'color' => '#1E88E5', 'help' => "Your Facebook page has to be available to all ages and countries (check your page's settings).
If you can't find your page's URL, click here and follow our guide.", 'svg' => ' ' ), array( 'example' => '+1507854875', 'placeholder' => __('Phone number', 'chaty'), 'help_title' => 'How do I use this?', 'help' => 'Enter your country code (in our example +1) and then your number without a leading zero (in our example 507854875)', 'slug' => 'Phone', 'title' => 'Phone', 'color' => '#03E78B', 'attr' => 'phone-number', 'svg' => ' ' ), array( 'example' => 'someone@example.com', 'placeholder' => 'Email', 'help_title' => 'How do I use this?', 'help' => 'Learn more here: https://premio.io/help/chaty/how-to-add-a-preset-mail-subject-to-your-email-channel/', 'slug' => 'Email', 'title' => 'Email', 'color' => '#FF485F', 'svg' => ' ' ), array( 'example' => 'InstagramUsername', 'placeholder' => __('InstagramUsername', 'chaty'), 'slug' => 'Instagram', 'title' => 'Instagram', 'color' => '#ffffff', 'svg' => ' ' ), array( 'example' => '+1507854875', 'placeholder' => __('Phone number', 'chaty'), 'help_title' => 'How do I use this?', 'help' => 'Enter your country code (in our example +1) and then your number without a leading zero (in our example 507854875)', 'slug' => 'SMS', 'title' => 'SMS', 'color' => '#FF549C', 'attr' => 'phone-number', 'svg' => ' ' ), array( 'example' => '', 'placeholder' => '', 'slug' => 'Contact_Us', 'title' => 'Contact Form', 'color' => '#253974', 'svg' => ' ' ), array( 'example' => 'https://app.popt.in/APIRequest/click/34e92354f927c', 'placeholder' => __('Enter a poptin link', 'chaty'), 'help_title' => 'How do I use this?', 'help' => 'You can create a free poptin account by clicking here, and use it to create popups and forms on your site. You can also learn how to use Poptin and Chaty here', 'slug' => 'Poptin', 'title' => 'Poptin Popups', 'color' => '#47A2B1', 'svg' => ' ' ), array( 'example' => 'http://line.me/ti/p/2a-s5A2B8B', 'placeholder' => __('User Name', 'chaty'), 'slug' => 'Line', 'title' => 'Line', 'color' => '#38B900', 'help' => '', 'help_title' => "Find your link", 'help_link' => "https://developers.line.biz/en/docs/messaging-api/sharing-bot/#url-scheme-to-link-to-the-add-friend-screen", 'svg' => ' ' ), array( 'example' => 'myusername', 'placeholder' => __('User Name', 'chaty'), 'slug' => 'Telegram', 'title' => 'Telegram', 'color' => '#3E99D8', 'svg' => ' ' ), array( 'example' => 'https://goo.gl/maps/4m93C84v2DC2', 'placeholder' => __('Maps link', 'chaty'), 'slug' => 'Google_Maps', 'title' => 'Google Maps', 'color' => '#37AA66', 'svg' => ' ' ), array( 'example' => '+1507854875', 'placeholder' => __('Phone number', 'chaty'), 'slug' => 'Viber', 'title' => 'Viber', 'color' => '#665CAC', 'attr' => 'phone-number', 'help' => 'Try to remove the "+" and your country code', 'svg' => ' ' ), array( 'example' => 'MyTwitterHandle', 'placeholder' => __('Twitter', 'chaty'), 'slug' => 'Twitter', 'title' => 'Twitter', 'color' => '#1ab2e8', 'svg' => ' ' ), array( 'example' => 'UserID', 'placeholder' => __('User Name', 'chaty'), 'slug' => 'WeChat', 'title' => 'WeChat', 'color' => '#45DC00', 'help' => "Unfortunately, WeChat doesn't have a click-to-chat API, therefore we can only show your username on-click so visitors can look-up for it. We have a QR upload option available in the pro plan", 'svg' => ' ' ), array( 'example' => 'myusername', 'placeholder' => __('Username', 'chaty'), 'slug' => 'Snapchat', 'title' => 'Snapchat', 'color' => '#FFE81D', 'svg' => ' ' ), array( 'example' => '@TikTok_username', 'placeholder' => __('@TikTok_username', 'chaty'), 'slug' => 'TikTok', 'title' => 'TikTok', 'color' => '#000100', 'svg' => ' ' ), array( 'example' => 'myusername', 'placeholder' => 'Skype', 'title' => 'Skype', 'slug' => 'Skype', 'color' => '#03A9F4', 'svg' => ' ' ), array( 'example' => 'https://waze.com/ul/hdr5ru7vtv', 'placeholder' => __('Enter a waze link', 'chaty'), 'slug' => 'Waze', 'title' => 'Waze', 'color' => '#6ECCEF', 'svg' => ' ' ), array( 'example' => 'My-Name-512b1413b', 'placeholder' => __('My-Name-512b1413b', 'chaty'), 'slug' => 'Linkedin', 'title' => 'Linkedin', 'color' => '#0077b5', 'help' => "To find your username and suffix, go to your LinkedIn account and click on your profile picture. Once you see your profile, copy the last part of the URL after https://www.linkedin.com/in/", 'svg' => ' ' ), array( 'example' => 'myusername', 'placeholder' => __('Link Vkontakte', 'chaty'), 'slug' => 'Vkontakte', 'title' => 'Vkontakte', 'color' => '#5076AA', 'svg' => ' ' ), array( 'example' => 'https://workspace.slack.com/', 'placeholder' => __('Slack', 'chaty'), 'slug' => 'Slack', 'title' => 'Slack', 'color' => '#3f0e40', 'svg' => ' ' ), array( 'example' => 'https://discord.gg/abcde', 'placeholder' => __('Discord', 'chaty'), 'slug' => 'Discord', 'title' => 'Discord', 'color' => '#5865F2', 'svg' => '' ), array( 'example' => 'https://teams.microsoft.com/join/abcde', 'placeholder' => __('Microsoft Teams', 'chaty'), 'slug' => 'Microsoft_Teams', 'title' => 'Microsoft Teams', 'color' => '#4B53BC', 'svg' => ' ' ), array( 'example' => 'https://www.example.com/contact', 'placeholder' => __('Link', 'chaty'), 'help_title' => 'How do I use this?', 'help' => 'Add a link to any page you want or a JavaScript code', 'slug' => 'Link', 'title' => 'Custom Link', 'color' => '#1E88E5', 'svg' => ' ' ), array( 'example' => 'https://www.example.com/contact', 'placeholder' => __('Link', 'chaty'), 'slug' => 'Custom_Link', 'title' => 'Custom Link', 'help_title' => 'How do I use this?', 'help' => 'Add a link to any page you want or a JavaScript code', 'color' => '#8141FC', 'svg' => ' ' ), array( 'example' => 'https://www.example.com/contact', 'placeholder' => __('Link', 'chaty'), 'slug' => 'Custom_Link_3', 'title' => 'Custom Link', 'help_title' => 'How do I use this?', 'help' => 'Add a link to any page you want or a JavaScript code', 'color' => '#FF7539', 'svg' => ' ' ), array( 'example' => 'https://www.example.com/contact', 'placeholder' => __('Link', 'chaty'), 'slug' => 'Custom_Link_4', 'title' => 'Custom Link', 'help_title' => 'How do I use this?', 'help' => 'Add a link to any page you want or a JavaScript code', 'color' => '#2A9D8F', 'svg' => ' ' ), array( 'example' => 'https://www.example.com/contact', 'placeholder' => __('Link', 'chaty'), 'slug' => 'Custom_Link_5', 'title' => 'Custom Link', 'help_title' => 'How do I use this?', 'help' => 'Add a link to any page you want or a JavaScript code', 'color' => '#E9C46A', 'svg' => ' ' ) ); } }