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, )
Metadata
Release files for wiz-feishu 2.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| wiz-feishu-2.0.2.tar.gz | 3.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| wiz_feishu-2.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 7.8 kB
Release files / wiz-feishu-2.0.2.tar.gz
| Download URL | wiz-feishu-2.0.2.tar.gz |
|---|---|
| Size | 3.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e7cc8a116a06fa4fdf3e2855f8d38441f245e84f36dee5ace998f94f2f1d2780
|
|
BLAKE2b-256 checksum How to use checksums |
899b3f0044e4b8f14511e4cb8525bf6424d5272b4aedb7c03d5807ab128904f1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / wiz_feishu-2.0.2-py3-none-any.whl
| Download URL | wiz_feishu-2.0.2-py3-none-any.whl |
|---|---|
| Size | 4.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
919cf306f8f6d515bbf9f18c061a49cf7e0508692dd57274bcce6741f6e63673
|
|
BLAKE2b-256 checksum How to use checksums |
eb76979512ee3f5be19219bc0b7da7bf35112e7ca5f36408822c43cbeb6c0949
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|