def METHOD_NAME() -> Plugin:
    return Plugin(
        start=False,
        spec=Spec(
            module=__name__,
            className='TwitterTweetAction',
            inputs=['payload'],
            outputs=['response', 'error'],
            verion='0.7.3',
            license='MIT',
            author='Mateusz Zitaruk',
            manual='twitter_tweet_action',
            init={
                'source': {
                    'id': '',
                    'name': ''
                },
                'tweet': ''
            },
            form=Form(groups=[
                FormGroup(
                    name='Twitter resource',
                    fields=[
                        FormField(
                            id='source',
                            name='Twitter resource',
                            description='Select Twitter resource. Credentials from selected resource will be used '
                                        'to authorize your account.',
                            component=FormComponent(type='resource', props={
                                'label': 'resource',
                                'tag': 'twitter'
                            }
                                                    )
                        ),
                        FormField(
                            id='tweet',
                            name='Tweet',
                            description='Please enter the content of your tweet.',
                            component=FormComponent(
                                type='textarea',
                                props={
                                    'label': 'Tweet'
                                }
                            )
                        )
                    ]
                )
            ]
            )
        ),
        metadata=MetaData(
            name='Send tweet',
            brand='Twitter',
            desc='Create and send tweet to your twitter wall.',
            icon='twitter',
            group=['Connectors'],
            documentation=Documentation(
                inputs={
                    'payload': PortDoc(desc='This port takes payload object.')
                },
                outputs={
                    'response': PortDoc(desc='This port returns payload if response form the Twitter was correct.'),
                    'error': PortDoc(desc='This port returns error object.')
                }
            )
        )
    )