Skip to content

Additional properites of MessageActionItem #518

@nemethf

Description

@nemethf

ShowMessageRequestClientCapabilities of ShowMessageRequest has this:

	messageActionItem?: {
		/**
		 * Whether the client supports additional attributes which
		 * are preserved and sent back to the server in the
		 * request's response.
		 */
		additionalPropertiesSupport?: boolean;
	};

But how should I create a MessageActionItem with additional properties? I tried:

    print(types.MessageActionItem(title="title", asdf="asdf"))
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: MessageActionItem.__init__() got an unexpected keyword argument 'asdf'

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions