Skip to main content

wiz-feishu

Project description

wiz_feishu

from wiz_message.message import Robot
from wiz_message import elements
from wiz_feishu.generator import FeishuRobotMessageGenerator
if __name__ == '__main__':
    m = Robot("title", "red")
    m.add_element(elements.Note("hello"))
    m.add_element(elements.Markdown("hello"))
    m.add_element(elements.Hr())
    m.add_element(elements.MarkdownAt("ou_004b55017df575ea6182a8643bb6e53d"))
    m.add_element(elements.TextAndButton("text", elements.Button("button", "type", "id", None)))
    m.add_element(elements.TextAndButton("text", elements.Button("button", "type", "id", elements.Confirm("title", "content"))))
    m.add_element(elements.TextAndOptions("text", elements.Options("placeholder", "type", "id", [elements.OptionItem("text", "value")], elements.Confirm("title", "content"))))
    m.add_element(elements.TextAndDatePicker("text", elements.DatePicker("placeholder", "type", "id", elements.Confirm("title", "content"), )))
    FeishuRobotMessageGenerator.to_message(m, )

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

wiz-feishu-2.0.2.tar.gz (3.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

wiz_feishu-2.0.2-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

File details

Details for the file wiz-feishu-2.0.2.tar.gz.

File metadata

  • Download URL: wiz-feishu-2.0.2.tar.gz
  • Upload date:
  • Size: 3.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.4.0 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.7.3

File hashes

Hashes for wiz-feishu-2.0.2.tar.gz
Algorithm Hash digest
SHA256 e7cc8a116a06fa4fdf3e2855f8d38441f245e84f36dee5ace998f94f2f1d2780
MD5 aa6011e4d927e16fc9ed908ff9b58177
BLAKE2b-256 899b3f0044e4b8f14511e4cb8525bf6424d5272b4aedb7c03d5807ab128904f1

See more details on using hashes here.

File details

Details for the file wiz_feishu-2.0.2-py3-none-any.whl.

File metadata

  • Download URL: wiz_feishu-2.0.2-py3-none-any.whl
  • Upload date:
  • Size: 4.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.4.0 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.7.3

File hashes

Hashes for wiz_feishu-2.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 919cf306f8f6d515bbf9f18c061a49cf7e0508692dd57274bcce6741f6e63673
MD5 a9819026498a699b0719bd62fa9d6f1f
BLAKE2b-256 eb76979512ee3f5be19219bc0b7da7bf35112e7ca5f36408822c43cbeb6c0949

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page