Module: Lark::Apis::Message

Defined in:
lib/lark/apis/message.rb

Instance Method Summary collapse

Instance Method Details

#batch_send(payload) ⇒ Object



4
5
6
# File 'lib/lark/apis/message.rb', line 4

def batch_send(payload)
  post 'message/v4/batch_send/', payload
end

#direct_send(payload) ⇒ Object



8
9
10
# File 'lib/lark/apis/message.rb', line 8

def direct_send(payload)
  post 'message/v4/send/', payload
end

#ephemeral_send(payload) ⇒ Object



12
13
14
# File 'lib/lark/apis/message.rb', line 12

def ephemeral_send(payload)
  post 'ephemeral/v1/send/', payload
end