Skip to content

OrzGeeker/OrzLarkSDK

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OrzLarkSDK

Lark SDK write by swift programming language

Feature

  • send message to Lark Group with a webhook which fetched from the custom bot that been added into Lark Group

  • support message type:

    • text

    • post

    • image

    • share_chat

    • interactive

Usage with Swift Package Manager

  • add dependency
.package(url: "https://github.com/OrzGeeker/OrzLarkSDK.git", branch: "main")
  • use the product on your target dependency
.product(name: "Message", package: "OrzLarkSDK")
  • Construct a message and send it to the Lark Group with webhook url. The Lark Group should have a custom bot joined, so you can get the webhook url
import Message

try await Message.make.text("text message content").sendToLark(with: "<your_lark_group_custom_bot_webhook_url>")
  • send other type message can reference: unit tests

Releases

No releases published

Packages

No packages published

Languages