{"id":307407,"date":"2026-05-05T08:16:59","date_gmt":"2026-05-05T08:16:59","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/max-integration-for-contact-form-7\/"},"modified":"2026-05-20T18:50:45","modified_gmt":"2026-05-20T18:50:45","slug":"send-contact-form-7-submissions-to-max-messenger-bot","status":"publish","type":"plugin","link":"https:\/\/sah.wordpress.org\/plugins\/send-contact-form-7-submissions-to-max-messenger-bot\/","author":17685926,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.0.3","stable_tag":"1.0.3","tested":"7.0","requires":"5.0","requires_php":"7.4","requires_plugins":null,"header_name":"Send Contact Form 7 submissions to MAX Messenger bot","header_author":"Stanislav Kuznetsov","header_description":"Send submitted Contact Form 7 entries to a specified MAX messenger chat via bot","assets_banners_color":"271c31","last_updated":"2026-05-20 18:50:45","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"","header_author_uri":"https:\/\/www.linkedin.com\/in\/stasionok\/","rating":0,"author_block_rating":0,"active_installs":0,"downloads":141,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0.3":{"tag":"1.0.3","author":"stasionok","date":"2026-05-20 18:50:45"}},"upgrade_notice":[],"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3523073,"resolution":"128x128","location":"assets","locale":"","width":128,"height":128},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3523073,"resolution":"256x256","location":"assets","locale":"","width":256,"height":256}},"assets_banners":{"banner-1544x500-rtl.png":{"filename":"banner-1544x500-rtl.png","revision":3523073,"resolution":"1544x500","location":"assets","locale":"","width":1536,"height":1024},"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":3523073,"resolution":"1544x500","location":"assets","locale":"","width":1536,"height":1024},"banner-772x250-rtl.png":{"filename":"banner-772x250-rtl.png","revision":3523073,"resolution":"772x250","location":"assets","locale":"","width":772,"height":250},"banner-772x250.png":{"filename":"banner-772x250.png","revision":3523073,"resolution":"772x250","location":"assets","locale":"","width":772,"height":250}},"assets_blueprints":{"blueprint.json":{"filename":"blueprint.json","revision":3539893,"resolution":false,"location":"assets","locale":"","contents":"{\"landingPage\":\"\\\/wp-admin\\\/plugins.php\",\"preferredVersions\":{\"php\":\"8.0\",\"wp\":\"latest\"},\"phpExtensionBundles\":[\"kitchen-sink\"],\"features\":{\"networking\":true},\"steps\":[{\"step\":\"installPlugin\",\"options\":{\"activate\":true},\"pluginData\":{\"resource\":\"wordpress.org\\\/plugins\",\"slug\":\"contact-form-7\"}},{\"step\":\"installPlugin\",\"options\":{\"activate\":true},\"pluginData\":{\"resource\":\"wordpress.org\\\/plugins\",\"slug\":\"send-contact-form-7-submissions-to-max-messenger-bot\"}},{\"step\":\"login\",\"username\":\"admin\",\"password\":\"password\"}]}"}},"all_blocks":[],"tagged_versions":["1.0.3"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3523073,"resolution":"1","location":"assets","locale":"","width":1552,"height":919},"screenshot-2.png":{"filename":"screenshot-2.png","revision":3523073,"resolution":"2","location":"assets","locale":"","width":1564,"height":920},"screenshot-3.png":{"filename":"screenshot-3.png","revision":3523073,"resolution":"3","location":"assets","locale":"","width":1590,"height":919},"screenshot-4.png":{"filename":"screenshot-4.png","revision":3523073,"resolution":"4","location":"assets","locale":"","width":1286,"height":988}},"screenshots":{"1":"Plugin settings location in the admin.","2":"Empty plugin settings form.","3":"Filled plugin settings form.","4":"Plugin settings location with saved credentials."}},"plugin_section":[],"plugin_tags":[1152,597,12439,6336,4906],"plugin_category":[],"plugin_contributors":[179515],"plugin_business_model":[],"class_list":["post-307407","plugin","type-plugin","status-publish","hentry","plugin_tags-contact-form-7","plugin_tags-integration","plugin_tags-max","plugin_tags-messenger","plugin_tags-notifications","plugin_contributors-stasionok","plugin_committers-stasionok"],"banners":{"banner":"https:\/\/ps.w.org\/send-contact-form-7-submissions-to-max-messenger-bot\/assets\/banner-772x250.png?rev=3523073","banner_2x":"https:\/\/ps.w.org\/send-contact-form-7-submissions-to-max-messenger-bot\/assets\/banner-1544x500.png?rev=3523073","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/send-contact-form-7-submissions-to-max-messenger-bot\/assets\/icon-128x128.png?rev=3523073","icon_2x":"https:\/\/ps.w.org\/send-contact-form-7-submissions-to-max-messenger-bot\/assets\/icon-256x256.png?rev=3523073","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/send-contact-form-7-submissions-to-max-messenger-bot\/assets\/screenshot-1.png?rev=3523073","caption":"Plugin settings location in the admin."},{"src":"https:\/\/ps.w.org\/send-contact-form-7-submissions-to-max-messenger-bot\/assets\/screenshot-2.png?rev=3523073","caption":"Empty plugin settings form."},{"src":"https:\/\/ps.w.org\/send-contact-form-7-submissions-to-max-messenger-bot\/assets\/screenshot-3.png?rev=3523073","caption":"Filled plugin settings form."},{"src":"https:\/\/ps.w.org\/send-contact-form-7-submissions-to-max-messenger-bot\/assets\/screenshot-4.png?rev=3523073","caption":"Plugin settings location with saved credentials."}],"raw_content":"<!--section=description-->\n<p>This plugin sends each successful Contact Form 7 submission to a chat in MAX messenger using your own bot. Configure the bot access token and target chat id under Contact Form 7 \u2192 Integration.<\/p>\n\n<p>This plugin is an independent integration and is not affiliated with or endorsed by MAX messenger or Contact Form 7.<\/p>\n\n<h3>External services<\/h3>\n\n<p>This plugin connects to the MAX messenger Bot API (HTTPS host <code>platform-api.max.ru<\/code>), operated by MAX, to send Contact Form 7 submissions to a MAX chat that you configure in the integration settings.<\/p>\n\n<p>When a site administrator saves or validates the integration settings in WordPress admin, the plugin sends HTTPS requests to MAX with the configured bot access token: <code>GET \/me<\/code> (check the token) and <code>GET \/chats\/{chat_id}\/members\/me<\/code> (check that the bot is a member of the target chat). The chat id you saved is included in the request path.<\/p>\n\n<p>When a visitor successfully submits a form (after Contact Form 7 validation and spam checks), the plugin sends HTTPS <code>POST \/messages<\/code> to MAX. The request includes the bot access token, the target chat id (as a query argument), and a plain-text message body built from the form title (if any) and the submitted field names and values (unless filtered out by the form or by the <code>mmfcfbs_message_text<\/code> filter). Nothing is sent to MAX unless the integration is turned on and the token and chat id are configured.<\/p>\n\n<p>API reference for developers: <a href=\"https:\/\/dev.max.ru\/docs-api\/\">MAX Bot API documentation<\/a>.<\/p>\n\n<p>Legal documents for the MAX service:<\/p>\n\n<ul>\n<li>Terms of service (user agreement): https:\/\/legal.max.ru\/ps<\/li>\n<li>Privacy policy: https:\/\/legal.max.ru\/pp<\/li>\n<\/ul>\n\n<!--section=installation-->\n<ol>\n<li>Upload the plugin files to the <code>\/wp-content\/plugins\/send-contact-form-7-submissions-to-max-messenger-bot<\/code> directory, or install the plugin through the WordPress plugins screen directly.<\/li>\n<li>Activate the plugin through the 'Plugins' screen in WordPress.<\/li>\n<li>Open Contact Form 7 \u2192 Integration page.<\/li>\n<li>Configure the MAX bot access token and target chat id.<\/li>\n<li>Submit a contact form \u2014 the entry will appear in the configured MAX chat.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"how%20to%20get%20a%20bot%20access%20token%3F\"><h3>How to get a bot access token?<\/h3><\/dt>\n<dd><p>Open <a href=\"https:\/\/business.max.ru\/\">MAX for Business<\/a>, add a <em>Chat bot<\/em>, then open the <em>Integration<\/em> section for that bot \u2014 there you can create or copy the bot access token.<\/p><\/dd>\n<dt id=\"how%20to%20get%20the%20chat%20id%3F\"><h3>How to get the chat id?<\/h3><\/dt>\n<dd><p>Add the bot to the target chat. The chat id can be obtained via MAX Bot API (GET \/chats) or by inspecting incoming bot updates.<\/p><\/dd>\n<dt id=\"how%20to%20override%20credentials%20in%20code%3F\"><h3>How to override credentials in code?<\/h3><\/dt>\n<dd><p>Define <code>MMFCFBS_TOKEN<\/code> and <code>MMFCFBS_CHAT_ID<\/code> constants in <code>wp-config.php<\/code>. They take precedence over the values stored in the database.<\/p><\/dd>\n<dt id=\"which%20filters%20%28apply_filters%29%20are%20available%3F\"><h3>Which filters (apply_filters) are available?<\/h3><\/dt>\n<dd><p>The plugin exposes the following filters for developers:<\/p>\n\n<ul>\n<li><p>mmfcfbs_token \u2014 (string) Bot access token after reading from constants \/ stored options. Use to supply or replace the token programmatically.<\/p><\/li>\n<li><p>mmfcfbs_chat_id \u2014 (string) Target chat id after reading from constants \/ stored options.<\/p><\/li>\n<li><p>mmfcfbs_message_text \u2014 (string) Full plain-text message body before it is sent to MAX. Passed arguments: message text, Contact Form 7 form object, posted field array.<\/p><\/li>\n<\/ul>\n\n<p>Example:<\/p>\n\n<pre><code>add_filter( 'mmfcfbs_message_text', function ( $text, $contact_form, $posted_data ) {\n    $text .= \"\\n\" . home_url();\n    return $text;\n}, 10, 3 );\n<\/code><\/pre><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0.3<\/h4>\n\n<ul>\n<li>Plugin renamed to \"Send Contact Form 7 submissions to MAX Messenger bot\".<\/li>\n<li>Added disclaimer about independent integration status.<\/li>\n<\/ul>\n\n<h4>1.0.2<\/h4>\n\n<ul>\n<li>Document external services in readme (terms and privacy links, data disclosure).<\/li>\n<li>Resolve plugin directory paths without relying on WP_PLUGIN_DIR\/WP_CONTENT_DIR\/ABSPATH for other plugins\u2019 files.<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Basic functionality released.<\/li>\n<\/ul>","raw_excerpt":"Send submitted Contact Form 7 entries to a specified chat in MAX messenger via your bot.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/sah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/307407","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/sah.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/sah.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=307407"}],"author":[{"embeddable":true,"href":"https:\/\/sah.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/stasionok"}],"wp:attachment":[{"href":"https:\/\/sah.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=307407"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/sah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=307407"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/sah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=307407"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/sah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=307407"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/sah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=307407"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/sah.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=307407"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}