Skip to content

Commit

Permalink
個人のみに見えるメッセージの送信がなくなったのでメソッドを削除
Browse files Browse the repository at this point in the history
  • Loading branch information
yoyogix committed Aug 28, 2024
1 parent d34f84b commit 036059e
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions app/models/chat_message_sender.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,4 @@ def initialize
def post_public_message(post_body)
@slack_api_client.chat_postMessage(post_body)
end

# 特定のユーザーだけに見える形で投稿
# @param post_body [Hash]
# @see https://api.slack.com/methods/chat.postEphemeral
# @see https://github.com/slack-ruby/slack-ruby-client/blob/master/lib/slack/web/api/endpoints/chat.rb
def post_ephemeral_message(post_body)
@slack_api_client.chat_postEphemeral(post_body)
end
end

0 comments on commit 036059e

Please sign in to comment.